Tariscope 4.5.x. Administrator's guide
Chapter 4 Tariscope configuration
4.11 Adding a new telephone system
4.11.50. Prefixes
Call rating is executed in Tariscope only when the system finds appropriate code and its parameters for the dialed number in the provider data. Sometimes the dialed number contains the specific code before the telephone number that is absent in the provider data. You can change the code to codes used in the provider data using prefixes.
In most cases, the user does not need to use prefixes.
To configure prefixes, click on the Prefixes subbranch of the desired telephone system. The Prefixes page appears, an example of which is shown in Figure 4.1.50.1.
Figure 4.1.50.1
To create a new prefix, click on the Add icon on the toolbar. The New prefix window appears as shown in Figure 4.11.50.2.
Figure 4.11.50.2
In the Name box, type a name that will be assigned for the prefix.
If you want to keep the phone number in the Tariscope database with changes after applying the prefix, turn on the Save changed number switch.
To select a group of codes you can use templates. In this case, turn on the Prefix code is mask switch.
In the Prefix box, type a set of digits, which is located at the beginning of the dialed telephone number, and which should be replaced by the code that is entered in the Replace to box.
In the Replace to box, type a set of digits that will be used to change the prefix entered in the Prefix box.
If necessary to use the prefix only to the dialed phone number of a certain length, turn on the Number length switch and specify the desired length in the box.
If necessary to rate calls made with the use of this prefix on a specific rate plan, in the Provider list, select the desired telecommunications service provider. If the provider is absent, you should create it.
To define for which type of telephone numbers the prefix rule will be applied, the Call direction list is used. If the Outgoing item is selected in the list, the prefix rule will be applied to dialed numbers of outgoing calls. If the Incoming item is selected in the list, the rule is applied to telephone number of caller for incoming calls.
To specify the prefix period, select the desired dates in the From and To calendar boxes. If the prefix should be permanent, do not specify dates in these boxes.
Click Save. A new row appears in the prefix table.
To change prefix parameters, select the desired row in the prefix table and click Edit.
To delete a prefix, select the required row in the prefix table and click Delete.