The following fields from the Call Detail Record (CDR) are used to calculate the cost of Termination Customer (Outbound) Calls.
ORIG RATE = This is the rate that from the rate deck that is associated to the Termination Customer Trunk Group that received the call. The specific rate is found by the longest match of the Prefix to the DNIS and for Prefix Jurisdictional rate decks by also determining if the call is an interstate, intrastate, or indeterminate call.
...
The ORIG COST calculation for a Termination Customer call is
ORIG COST = CEILING(ORIG RATE * (ORIG BILLED DURATION / 60))* POWER(10, Rounding Digits),1) / POWER(10, Rounding Digits)
...
Examples
ORIG COST = CEILING((0.005 * (108 / 60))* POWER(10,4)) / POWER(10,4) = 0.0090
ORIG COST = CEILING((0.003 * (72 / 60))* POWER(10,4)) / POWER(10,4) = 0.0036
ORIG COST = CEILING((0.005 * (18 / 60))* POWER(10,4)) / POWER(10,4) = 0.0015