<div dir="ltr">Okay, here's what I currently have:<br><br>Destinations<br>Ops,Trusted peer,Domain,Subscriber,Destination Id,Description<br>2,,,,1888,Unbillable<br>2,,,,1866,Unbillable<br>2,,,,1877,Unbillable<br>2,,,,1800,Unbillable<br>
<br>2,,,,1,Billable<br><br>Customers<br>Ops,Trusted peer,Domain,Subscriber,WeekDay,Fallback,WeekEnd,Fallback,Timezone,Incr,Minim<br>2,,,,1,,1,,Central Time,0,0<br><br>Rates<br>Ops,Trusted peer,Domain,Subscriber,Rate Id,Destination,Price,App,Connect<br>
<br>2,,,,2,1877,0,audio,0<br>2,,,,2,1866,0,audio,0<br>2,,,,2,1800,0,audio,0<br>2,,,,1,1,8,audio,0<br><br>Do I need to populate something else still?<br><br><br>>Yes<br>><br>>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.<br>
><br>>You have example rating files that you can modify.<br>><br>>Adrian<br>><br>><br>>On Jul 31, 2008, at 3:28 PM, Brian Del Shasta wrote:<br>><br>> 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.<br>
><br>> 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?<br>><br>> On Thu, Jul 31, 2008 at 8:42 AM, Adrian Georgescu <<a href="mailto:ag@ag-projects.com">ag@ag-projects.com</a>> wrote:<br>
><br>> I am afraid that rating all calls the same regardless of destination<br>> will not work unless you define some destination to match all your<br>> traffic.<br>> The rating engine must find a destination prefix from which it derives<br>
> the price. Read the RATING.txt to understand the logic behind it.<br>> Adrian<br>> >><br>> I'm attempting to understand how call rating works within CDRTool. I am<br>> able to link destinations to the calls, but unable to generate<br>
> prices. I'm<br>> using CDRTool 6.4.1 with FreeRadius/MySQL and a Cisco gateway. What I'm<br>> trying to setup seems simple: I have one set rate of $.08/min for any<br>> call<br>> beginning with a 1 (I'll exclude 800 numbers later). This rate should<br>
> be<br>> applied globally with no differentiation between caller party or<br>> destination...<br></div>