<p>To edit a tariff table, select it from the <span class="reference">Select a tariff table</span> drop-down list at the
top-left of the screen.  The table will then be loaded into the main
editing window.  This editing window is split into two halves, left
and right.</p>

<img class="screenshot naked" src="http://www.tri-line.com/common/img/documentation/tim_professional/editing_tariffs.png" alt="Editing Tariffs" />

<p>The right-hand window contains all of the combinations of each valid dialling code for both
national and international calls.  Select between national and
international dialling codes by clicking on the relevant option
button in the <span class="reference">Show dial codes for</span> group.  When
selecting between the different dialling codes, the table below it is
refreshed to include the new information.</p>

<p>Mobile numbers and other non-geographic numbers appear in the <span class="keyword">National</span> table.</p>

<p>Each dialling code contains its partial prefix which allows the system to recognise the
destination from the original dialled number, a location name (such
as 'London'), a band name, and a code pattern.  These are
explained below.</p>

<table class="confluenceTable">
	<tbody>
		<tr>
			<th class="confluenceTh" width=90>Dialling code</th>
			<th class="confluenceTh">Description</th>
		</tr>
		<tr>
			<td class="confluenceTd"><b>Digits</b></td>
			<td class="confluenceTd">Contains the most significant digits necessary to associate a dialled number to this
			dialling code.  When determining the destination and cost of a
			dialled number, the system takes the first six digits of the number
			and attempts to locate it in the table.  If it cannot, it takes the
			first five, and so on, until a match is found.</td>
		</tr>
		<tr>
			<td class="confluenceTd"><b>Location</b></td>
			<td class="confluenceTd">Represents a geographical location name for the dialling code.</td>
		</tr>
		<tr>
			<td class="confluenceTd"><b>Band</b></td>
			<td class="confluenceTd">The name of the tariff band that contains the properties (such as cost per minute) 
			of any call to this type of number.</td>
		</tr>
		<tr>
			<td class="confluenceTd"><b>Code Pattern</b></td>
			<td class="confluenceTd">A numeric mask used to validate a number of this type.  For example,
			a London number (020 dialling code) requires a codepattern of
			020########* which indicated that a London number, in order to be
			valid, must start with 020 and then be followed by at least eight
			numbers.  If this code pattern is not matched, a call is discarded,
			as it could be the result of a misdial.</td>
		</tr>
	</tbody>
</table>