Okay, here's what I currently have:
Destinations Ops,Trusted peer,Domain,Subscriber,Destination Id,Description 2,,,,1888,Unbillable 2,,,,1866,Unbillable 2,,,,1877,Unbillable 2,,,,1800,Unbillable
2,,,,1,Billable
Customers Ops,Trusted peer,Domain,Subscriber,WeekDay,Fallback,WeekEnd,Fallback,Timezone,Incr,Minim 2,,,,1,,1,,Central Time,0,0
Rates Ops,Trusted peer,Domain,Subscriber,Rate Id,Destination,Price,App,Connect
2,,,,2,1877,0,audio,0 2,,,,2,1866,0,audio,0 2,,,,2,1800,0,audio,0 2,,,,1,1,8,audio,0
Do I need to populate something else still?
Yes
You need to add at list one customer entry, associated profiles and finally
the rates >linked with the profile which contain the actual prices for each destination.
You have example rating files that you can modify.
Adrian
On Jul 31, 2008, at 3:28 PM, Brian Del Shasta wrote:
That's not a problem. I am currently able to successfully match
destinations by looking for anything that starts with a '1'. I have a destination setup called "Billable" which applies to any destination beginning with 1. I also have destinations setup for 1800, 1877, etc to filter out the 800 numbers.
What I cannot figure out is how to link a rate to a destination. Do I
have to setup a profile and customer as well? Or should I be able to price calls using only destination and rates?
On Thu, Jul 31, 2008 at 8:42 AM, Adrian Georgescu ag@ag-projects.com
wrote:
I am afraid that rating all calls the same regardless of destination will not work unless you define some destination to match all your traffic. The rating engine must find a destination prefix from which it derives the price. Read the RATING.txt to understand the logic behind it. Adrian >> I'm attempting to understand how call rating works within CDRTool. I
am
able to link destinations to the calls, but unable to generate prices. I'm using CDRTool 6.4.1 with FreeRadius/MySQL and a Cisco gateway. What
I'm
trying to setup seems simple: I have one set rate of $.08/min for any call beginning with a 1 (I'll exclude 800 numbers later). This rate should be applied globally with no differentiation between caller party or destination...