The software rates the call instantaneously, based on a rating plan, from multiple data sources such as Asterisk, Cisco, and OpenSER. CDRTool use the RADIUS database, more specifically the radacct
table that contains duration, calling and called party, and media information (if you are using MediaProxy). The tool calculates the price of the session in real time and saves it to the radacct
table.
Rates are directly related to profiles linked to the time of the day, day of week, and holidays. A call can span multiple profiles and be correctly rated. Each customer can be assigned a dedicated rating plan.
The CDRTool rating follows this path:
Step 1: Determination of the billing party
CDRTool identifies the rating plans based on the following order:
SIP account user@domain
SIP domain of the SIP account
Source IP of the session
Default
Step 2: Determination of the destination
CDRTool identifies the destination used in the rating...