The Rate Table - Override feature allows you to group 2 or more Rate Tables together and instruct CDR2Cloud which Rate Table to use for a customer, based on the Rate Tables Override value and the Override value of the CDR record.
EXAMPLE
Challenge
You are a VoIP Retailer and your VoIP Wholesaler (Provider) provides you with 3 different services which you resell to your customers. They are SMS, MMS and VOICE services. Your VoIP Provider provides you with CDR files on a timely basis which you in turn use for billing your customers, however each CDR file contains CDR records for all 3 services as follows:
click to enlarge
You charge your customers 3 different rates for SMS, MMS and VOICE, as follows:
Cost
Destination Number
VOICE
80 cents @ minute (0.80)
353838000001
MMS
70 cents @ minute (0.70)
353838000001
SMS
60 cents @ minue (0.60)
353838000001
You however can only assign one Rate Table to a Customer record, so you need a solution that will allow you to define 3 separate Rate Tables, one each for SMS, MMS and VOICE and allow the CDR2 Cloud system to use the applicable table depending on the type of service consumed by your customer.
Solution
You define 3 separate Rate Tables each having the same name but different Override expression as follows
Purpose
Rate Table Name
Override Regex
Notes
For billing VOICE services
Customer Rates
(VOICE)
CDR2Cloud will use this Rate Table for billing all Voice services for customers assigned to the "Customer Rates" Rate Table
For billing MMS services
Customer Rates
(MMS)
CDR2Cloud will use this Rate Table for billing all MMS services for customers assigned to the "Customer Rates" Rate Table
For billing SMS services
Customer Rates
(SMS)
CDR2Cloud will use this Rate Table for billing all SMS services for customers assigned to the "Customer Rates" Rate Table
Lastly you will assign the Customer Rates Rate Table to you customer(s) as shown below