For a Rate Table to be effective it must contain at least one Rate Pattern or destination number. CDR2Cloud recognizes a complete destination telephone number or any number of digits starting from the beginning of the number, called a Pattern.
Info | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
For example, lets say you wanted to establish different charges for calls to Toronto which start with the area code 416. You would like to charge
To achieve this you would create a Rate Table with 3 separate patterns like below:
CDR2Cloud would match calls against this Rate Table as follows: If the destination telephone number is 4163681234, CDR2Cloud would try to match all digits of that telephone number starting from the right (last digit) and moving towards the left. The search process can be simulated as follows: CDR2Cloud would search for 4163681234.....no match would be found in the Rate Table CDR2Cloud would search for 416368123.....no match would be found in the Rate Table CDR2Cloud would search for 41636812.....no match would be found in the Rate Table CDR2Cloud would search for 4163681.....no match would be found in the Rate Table CDR2Cloud would search for 416368.....match would be found in the Rate Table The closest pattern that matches the destination number is 416268 and so the CDR2Cloud would charge the call at a rate of 20¢ @ minute. Likewise if CDR2Cloud received a call with a destination telephone number of 4167851234, CDR2Cloud would try to match all digits of that telephone number in the following manner: CDR2Cloud would search for 4167851234.....no match would be found in the Rate Table CDR2Cloud would search for 416785123.....no match would be found in the Rate Table CDR2Cloud would search for 41678512.....no match would be found in the Rate Table CDR2Cloud would search for 4167851.....no match would be found in the Rate Table CDR2Cloud would search for 416785.....no match would be found in the Rate Table CDR2Cloud would search for 41678.....no match would be found in the Rate Table CDR2Cloud would search for 4167.....no match would be found in the Rate Table CDR2Cloud would search for 416.....match would be found in the Rate Table |
To add a Rate Pattern to a Rate Table please follow the steps below:
- Open the Rate Table that you would like to add Rates to by clicking the button
- Click the [Add Rate] button located at the top of the page
Enter the information for the new Rate Pattern as follows:
Number Pattern The destination number or pattern (NPA NXX) that represents calls to that pattern Rate Name The name of the Rate Table Billing Period Initial Length [default 0 seconds] This is a numeric value which represents the number of seconds for the minimum billing length for each call made to this rate pattern. E.g: If a call lasted 10 seconds and the value defined here is 60 then that call would be billed for a duration 60 seconds and not 10 seconds. Billing Period Incremental Length [default 60 seconds] This is a numeric value which represents the number of seconds which represent the billing increments (billing chunks) which will be used for calculating the cost for this call. E.g: If destination rate pattern is defined with a rate of $0.30 @ minute and a Billing Initial Length value of 60 seconds then an authorized call lasting 1 minute and 20 seconds (80 seconds) would be rounded up to the next 60 seconds and charged at total duration of 2 minutes (120 seconds) at $0.60, however with a Billing Initial Length value of 30 seconds that same call would be rounded up to the next 30 second increment and billed at 130 second at $0.45. For Per-Second-Billing set this value to 1. For Per-Minute-Billing set this value to 60. Day-time Start [default 7:00 AM] This is a time value which represents the start of day time billing hours. All calls made between Day Start and Eve Start hours will be treated as a day time call and billed at the rate defined in Day Increment Charge. [default $0.0500 0100 (5¢1¢)] This is a numeric (money) value which represents the amount of money that will be charged initially for a call authorized for made to this destination during the day time hours. This is a one time amount initial charge and is separate from the incremental amount charged. Day-time incremental Charge [default $0.0500 (5¢)] This is a numeric (money) value which represents the amount of money that will be charged at the Billing Incremental Length intervals for a call authorized for this destination during the day time hours. Eve-time Start Eve-time Initial Charge Eve-time incremental Charge Night-time Start Night-time Initial Charge Night-time Incremental Charge Blocked Connection Charge Compensation Maximum Charge Markup %
...