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...



_______________________________________________
Users mailing list
Users@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users