Difference between revisions of "CDR Disputes"

From Kolmisoft Wiki
Jump to navigationJump to search
 
(3 intermediate revisions by 2 users not shown)
Line 57: Line 57:
* '''External Currency''' determines the Currency of the external CDRs.  
* '''External Currency''' determines the Currency of the external CDRs.  
* '''Exchange rate''' determines the exchange rate of the external CDRs. '''NOTE:''' This field is automatically computed depending on the selected Currency and the exchange rate information present in the system. However, it can be edited when necessary.
* '''Exchange rate''' determines the exchange rate of the external CDRs. '''NOTE:''' This field is automatically computed depending on the selected Currency and the exchange rate information present in the system. However, it can be edited when necessary.
* '''Check only ANSWERED Calls''' option allows to check only against answered calls. When this option is set, External calls in [[CDR_Disputes#CDR_Dispute_Report|CDR Dispute Report]] still show all calls, but non-answered calls will not be compared and will be included in '''Not Compared''' column.
* '''Compare by Calls calculated Answer Time''' compare CDRs by Answered Time instead of Calldate.
* '''Billsec tolerance''' determines how much the Billsec shift between the two CDRs is tolerated (in seconds).
* '''Billsec tolerance''' determines how much the Billsec shift between the two CDRs is tolerated (in seconds).
* '''Price tolerance''' determines how much the Price shift between the two CDRs is tolerated (in Currency).
* '''Price tolerance''' determines how much the Price shift between the two CDRs is tolerated (in Currency).
Line 85: Line 88:
'''NOTES''':
'''NOTES''':
*Completed Disputes cannot be edited.
*Completed Disputes cannot be edited.
*When deleteing a Dispute related external CDRs are deleted too.
*When deleting a Dispute related external CDRs are deleted too.
===CDR Dispute Report Summary===
===CDR Dispute Report Summary===
By clicking on a '''Bar chart''' button the Dispute Report Summary is opened (as below):  
By clicking on a '''Bar chart''' button the Dispute Report Summary is opened (as below):  
Line 103: Line 106:
*'''Tolerated Mismatch''' - Total CDRs with Codes from range 21-23.
*'''Tolerated Mismatch''' - Total CDRs with Codes from range 21-23.
*'''Mismatch''' - Total CDRs with Codes greater than or equal to 31.
*'''Mismatch''' - Total CDRs with Codes greater than or equal to 31.
*'''00 Not Compared''' - CDRs that were not compared (on success should be 0).
*'''00 Not Compared''' - CDRs that were not compared (on success should be 0). If option '''Check only ANSWERED Calls''' is enabled, this will include all CDRs which have type other than "ANSWERED".  
*'''10 Exact Match''' - CDRs that were exactly matched by the Source and Destination Numbers, Start, Answer and End Times, Billsec, Price, and Disposition.
*'''10 Exact Match''' - CDRs that were exactly matched by the Source and Destination Numbers, Start, Answer and End Times, Billsec, Price, and Disposition.
*'''21 Tolerated mismatch by Price''' - CDRs that have exactly the same Billsec but the Price is within the tolerance range (as set in the Dispute settings).  
*'''21 Tolerated mismatch by Price''' - CDRs that have exactly the same Billsec but the Price is within the tolerance range (as set in the Dispute settings).  
Line 119: Line 122:


===Detailed CDR Dispute Report===
===Detailed CDR Dispute Report===
By clicking on any of the '''DETAILS''' buttons in the [[CDR_Disputes#CDR_Dispute_Report_Summary|CDR Report Summary]] page a Detailed CDR Dispute Report is opened. In this page it is possible to investigate specific CDRs by filtering or sorting them in a desired way.
By clicking on any of the '''Bar chart''' buttons in the [[CDR_Disputes#CDR_Dispute_Report_Summary|CDR Report Summary]] page a Detailed CDR Dispute Report is opened. In this page it is possible to investigate specific CDRs by filtering or sorting them in a desired way.
<br><br>[[File:CDR_Dispute_detailed.png]]<br><br>
<br><br>[[File:CDR_Dispute_detailed.png]]<br><br>


=See Also=
=See Also=
* [[CDR Import Templates|CDR Import Templates]]
* [[CDR Import Templates|CDR Import Templates]]

Latest revision as of 06:58, 8 January 2019

What is a CDR Dispute?

A telecom business often faces various disputes over the inconsistency of data between the Call Detail Records (CDRs). Such data deviations include Call Price or Duration mismatches and is usually pointed out by the telecom's Suppliers/Providers or Clients. Such a phenomenon can be a result of a variety of reasons including different billing systems.

What is a CDR Dispute resolution tool provided by MOR?

The CDR comparison tool automatically analyzes the Call Detail Records provided by the Clients or the Suppliers/Providers. The mechanism compares the local CDRs present in the database with the imported external CDRs and highlights the discrepancies. The result is a generated report.
NOTE: This functionality is available from MOR X10.

Typical CDR comparison scenario

Preparations

First a CDR file (CSV) from the Client or the Supplier/Provider involved in a Dispute has to be retrieved. The CSV file for the current version of the CDR comparison tool should contain the following information:

Table 1. Structure of the CSV file required for the comparison
Source Destination Start Time Disposition Billsec Price
Number Number Datetime ANSWERED|NO ANSWER|BUSY|FAILED Integer Number
... ... ... ... ... ...

NOTES:

  • All columns are required.
  • Order of the CSV columns is not important.
  • In order to work between the different billing systems correctly the CSV should be as generic as possible i.e. Source and Destination should be simple numbers.
  • Make sure the prices in the CSV file are precise enough when exported. Suggested precision is 8 decimal spaces.
  • The file should contain a sufficient amount of CDRs in order to resolve a Dispute (Recommended - 500).

IT IS IMPORTANT: Finally a CDR import template needs to be created in order to correctly import the retrieved CSV file. More on how to create a template can be found here CDR Import Templates.

Creating a new Dispute

A Dispute can be created by opening the BILLING > CDR > Disputes page from the System Admin's menu.

CDR Disputes menu.png

Shortly after, a list with the information about the Disputes is presented indicating the Client or the Supplier/Provider involved, the period of the CDRs compared, the differences between the imported external CDRs and the corresponding local ones, and the amounts of the compared local and external CDRs.

CDR Disputes list.png

NOTE: Once completed a Dispute cannot be edited thus a comprehensive tooltip with a detailed Dispute information is provided.
By clicking the New CDR Dispute button a Dispute creation form is opened:

CDR Disputes new.png

The form provides the options required by the Dispute:

  • Direction determines whether the Dispute involves a User/Client or a Provider/Supplier.
  • User selector depending on the Dispute direction. NOTE: Only Users with Devices can be selected here.
  • Periods Start/End determine the time interval which the Dispute is organized for.
  • Save as Template allows the sections Dispute Options and Tolerance Options to be saved for later reuse.
  • Template name allows to set the name for the Template. NOTE: Template name must be unique in the system and it cannot be edited.
  • Compare last SRC/DST digits determine how many last digits of a Source/Destination Numbers are compared.
  • External Currency determines the Currency of the external CDRs.
  • Exchange rate determines the exchange rate of the external CDRs. NOTE: This field is automatically computed depending on the selected Currency and the exchange rate information present in the system. However, it can be edited when necessary.
  • Check only ANSWERED Calls option allows to check only against answered calls. When this option is set, External calls in CDR Dispute Report still show all calls, but non-answered calls will not be compared and will be included in Not Compared column.
  • Compare by Calls calculated Answer Time compare CDRs by Answered Time instead of Calldate.
  • Billsec tolerance determines how much the Billsec shift between the two CDRs is tolerated (in seconds).
  • Price tolerance determines how much the Price shift between the two CDRs is tolerated (in Currency).


By clicking the Save and proceed to CDR Import button the Dispute is saved and the CDR import page is opened. If there were any errors during the saving procedure, messages are displayed.
NOTE: If the import procedure (described below) is interrupted or canceled, the Dispute remains editable and it is possible to perform the CDR import later when desired. Edit form is adjusted with two additional buttons Import CDR and Update:

Importing external CDR

After successfully saving a Dispute or from the edit from (as described above) the the next step of the CDR Dispute is the CDR Import where the external CDR file is uploaded:

M2 CDR Dispute apply Template.png

NOTE: before proceeding make sure to read the Preparations section above.
When the system is done parsing the file it is necessary to confirm whether the template is applied correctly:

M2 CDR Dispute confirm columns.png

Ater the successful import the Disputes list rendered once again indicating that the Dispute is in progress. The task is run in the background thus it might take some time to be put in a queue and completed. The task progress can be monitored in the Background Tasks page.
NOTE: When in progress a Dispute can neither be edited nor deleted.

Comparison Logic

  • Firstly, the comparison module retrieves the first CDR Dispute present in a Background Tasks queue.
  • Due to the Dispute settings (such as Periods, Direction, User etc.) the local and external CDRs are retrieved from the Database.
  • Next, the time shift between the local and external CDRs is determined. It is done by finding pairs of CDRs by Source and Destination Numbers and by checking the CDR Start Time difference in seconds. If a difference that is dominating more than 50% of the CDRs being compared is found, it is elected to be the time shift between the local and external CDRs.
  • Next, CDRs are compared in pairs. Each pair is compared only when the Source and Destination Numbers together with the CDR Start Time + time shift are exactly matched. Else the CDR pair is non-matching. NOTE: CDRs that don't follow the dominating time shift pattern will be interpreted as having no match.
  • Finally, a report is generated based on the comparison results.

CDR Dispute Report

Ater the CDR Dispute is completed it is indicated in the Disputes list. It is now possible to see the Details or Delete the Dispute.
NOTES:

  • Completed Disputes cannot be edited.
  • When deleting a Dispute related external CDRs are deleted too.

CDR Dispute Report Summary

By clicking on a Bar chart button the Dispute Report Summary is opened (as below):

CDR Disputes summary.png

The Report Summary page is organized in columns:

  • Code indicates the comparison result status,
  • Mismatch type is a more detailed representation of the Code,
  • Local+External is an aggregation for both external and local sets of CDRs,
  • Calls is an aggregation of the CDRs count,
  • Billsec is an aggregation of the CDRs Billsec,
  • Price is an aggregation of the CDRs Price.

Each line represents an aggregation of CDRs by the comparison result Code. Partial aggregations of several groups of Codes (e.g. Total Calls, Mismatch) are also provided in this page.
Several columns are split into aggregations for local and external sets separately together with Delta aggregations (a.k.a. differences).

Report Code meanings

  • Total Calls - Total CDRs in a Dispute.
  • Total Connected - Total CDRs that are ANSWERED.
  • Tolerated Mismatch - Total CDRs with Codes from range 21-23.
  • Mismatch - Total CDRs with Codes greater than or equal to 31.
  • 00 Not Compared - CDRs that were not compared (on success should be 0). If option Check only ANSWERED Calls is enabled, this will include all CDRs which have type other than "ANSWERED".
  • 10 Exact Match - CDRs that were exactly matched by the Source and Destination Numbers, Start, Answer and End Times, Billsec, Price, and Disposition.
  • 21 Tolerated mismatch by Price - CDRs that have exactly the same Billsec but the Price is within the tolerance range (as set in the Dispute settings).
  • 22 Tolerated mismatch by Billsec - CDRs that have exactly the same Price but the Billsec is within the tolerance range.
  • 23 Tolerated mismatch by Price and Billsec - CDRs that have both Billsec and Price within the tolerance range.
  • 31 Mismatch by Price - CDRs that have a Price outside the tolerance range.
  • 32 Mismatch by Billsec - CDRs that have a Billsec outside the tolerance range.
  • 33 Mismatch by Price and Billsec - CDRs that have both Billsec and Price outside the tolerance range.
  • 40 Connected only locally - CDRs that are ANSWERED inside the local CDRs set but non-answered inside the external one.
  • 42 Connected only externally - CDRs that are ANSWERED inside the external CDRs set but non-answered inside the local one.
  • 70 Local duplicate - CDRs that are duplicate inside the local CDRs set by the attributes mentioned in the Code 10 description.
  • 72 External duplicate - CDRs that are duplicate inside the local CDRs set by the attributes mentioned in the Code 10 description.
  • 90 Not matched by any field - CDRs that have to match by Source and/or Destination Numbers and/or by the shifted Start Time.
  • 99 Errors - Errors happen when required CDR attributes are invalid or empty (see Preparations).

Detailed CDR Dispute Report

By clicking on any of the Bar chart buttons in the CDR Report Summary page a Detailed CDR Dispute Report is opened. In this page it is possible to investigate specific CDRs by filtering or sorting them in a desired way.

CDR Dispute detailed.png

See Also