Chapter 3 The Tariscope program
3.9 Call rating
When you use the Tariscope Observer service to process CDR data or process a CDR file as it is described in the previous section, the automatic call rating is performed. The rating is performed effectively, if there is enough information, that is Tariscope was properly configured.
In the case that all or part of call records were not rated, you need to find the reason of this and perform re-rating of the entire database or selected records.
The main reasons that the call cost are absent are the following ones:
- The lack of all required data about a subscriber in the Tariscope database. An indication of this is the absence of the subscriber name in the From subscriber column of a view.
- A rating plan has not been set for a subscriber.
- The connection date of a subscriber is later than the date of the call which does not have the cost.
- The route parameters, through which the call was performed, had not been configured:
- There is an access code is in the view but it has not been set in Tariscope. In this case, values on the To destination column for long-distance, international calls, and calls on the phone numbers of mobile operators are empty.
- The service provider, the parameters of which should be applied for the rating, has not been specified in Tariscope.
- The area code, which was used in the call, is absent in the Tariscope database. You can see this situation in the view for call. In this case the city name or mobile operator name is absent in the To destination column. If there is the required phone code in Tariscope, check availability of a rate for this area code.
To quickly execute the re-rating, we recommend:
- If you need to re-rate a group of records or a single record, select desired records of the call table and right-click. Menu appears. Select the Recharge selected records item.
- If you want to re-rate all calls of a view, select in the program menu: Parse → Rate.
In the last case the Recharge calls view is opened and at the same time the Action parameters window appears as shown in Figure 3.9.1.
Figure 3.9.1
This window allows you to set a filter for the view. As mentioned above we recommend you always use a filter if it was not set earlier in the view, or if you want to re-rate not all calls of the database. By default, the Action parameters window offers the option of the Active view filter. If this option is not satisfied you, you can select the other options:
- No filter. All data of the call database will be rerated.
- Another filter. This choice makes active the list with names of previously created and saved filters. Select a desired filter from the list.
There are the following additional filter conditions:
- Month. You can choose a desired month and year from the Month calendar box.
- Node. You can choose a desired telecommunications node in the Node list.
- Subscriber. You can choose a desired subscriber. To do this, click on the "..." button located on the right from the Subscriber box and select a subscriber in the Choose subscriber window.
To expedite the processing, select the Use multithreading check box.
Click OK. The process of the rating starts. After the end of the process, go to the required view and refresh it. To refresh data, click F5 or select the appropriate icon on the toolbar.
If you are a telecom service provider and use the Tariscope Provider edition, you can rerate data for a particular month with the possibility of simultaneous charging of all periodic services. To do this, select in the program menu: Parse → Recalculate month. The Recharge all month view is opened and at the same time the Action parameters window appears as shown in Figure 3.9.2.
Figure 3.9.2
In the Month calendar box, select a desired month and year for which calls will be recalculated.
In the Node list, select a telecommunications node for which the recalculating will be performed.
If you need to recalculate calls of a specific subscriber, click on the "…" button located on the right from the Subscriber box, and select the subscriber.
If you need to charge the periodical services for subscribers, select the Charge services check box. In this case the previously charged services for the selected month will be canceled and recharged.
To expedite the processing, select the Use multithreading check box.
Click OK. The process of the rating starts. After the end of the process, go to the required view and refresh it. To refresh data, click F5 or select the appropriate icon on the toolbar.