To edit a tariff table, select it from the Select tariff table drop-down list at the top-left of the screen. The table will be loaded into the main editing window displaying two panels, as shown below:

Dialling codes

The right-hand side panel contains a list with all dialling codes for both national and international calls. To switch between the national and international dialling codes view, click on the relevant option button. Mobile numbers and other non-geographic numbers appear in the National table. Each dialling code contains a 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.

 

Dialling code propertyDescription
DigitsThe digits necessary to associate a dialled number to a 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 this in the table. If no match is found, the next five digits are being checked, and so on until the correct match is found.
LocationThe geographical location associated with the dial code.
BandThe name of the charge band containing the properties of any call to this type of number, such as cost per minute.
Code PatternA numeric mask used to validate a number of this type. For example, a London number requires a code-pattern of 020########*,  which indicates that the number must start with 020 and to be followed by at least eight digits in order to be valid. If this code pattern is not matched, the call is discarded.

Price bands

As described, each dialling code refers to a price band which contains all the information necessary to cost that call.

To view or edit the properties of a charge band, located it in the list and double-click on it to open the band's properties window:

Band fieldsDescription
Min. DurationIndicates that a call must last for at least x seconds in order to be chargeable. This allows for connection times in the case of old PABX systems, and is a generally accepted figure.
Connect TimeThis shows the time it normally takes for a call to connect to the specific location, and is subtracted from the actual duration that the PABX reports. It is inherited from old analogue PABX systems that had unreliable connection times, causing clients to be billed for extra time on a call than was actually the case. For modern PABXs, this is not normally an issue and is usually set to 0 now.
Call Setup FeeThis allows to enter in any call setup fee that may apply.
Minimum CostSpecifies the minimum cost of a call, regardless of whether the call (at the defined rate for the time it was made) totals less. For example, a 1 minute call at 1p per minute, and a minimum cost of 5p would still total 5p, because 1p * 1 minute = 1p, which is below the minimum cost.
Maximum CostUsed more recently in multimedia and premium rate calls, this specifies that a call can reach no more than the cost specified here, e.g. a 10 minute call at £5.00 per minute, maximum cost £25.00, would only cost £25.00 since it's maximum exceeds the otherwise (10 * 5.00 =) £50.00 cost.
Cap Limit (secs)If there is a maximum duration for particular calls, the duration can be entered here (in seconds).
Cap AmountIf there is a maximum charge for a call to a particular number, that capped amount can be entered here.
Rate AmountsThese fields specify the rates of calls during weekdays, on Saturdays and on Sundays. The string of numbers is 24 characters long, each character representing its hour in the day, ie. character 1 represents the hour midnight to 1am, character 2 represents 1am to 2am, etc. The digit placeholder for each hour governs the rate at which a call is charged when made during that hour. Eg. 1111111111... means that calls made at any hour of that day will be charged at rate 1.

These rates are then defined in their respective boxes, in pence per minute, or equivalent currency.

Start CostSpecifies the starting cost of a call, regardless of how long the duration was. Eg. a starting cost of 50p on a call with a rate of 1p per minute (minimum cost 5p) , lasting 10 minutes, would produce a cost of 50p + (10 * 1) = 60p, the minimum cost already having been exceeded.

 

 

<p>To edit a tariff table, select it from the <span class="reference">Select 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="reference">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>