<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Yes<div><br></div><div>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.</div><div><br></div><div>You have example rating files that you can modify.</div><div><br></div><div>Adrian</div><div>&nbsp;</div><div><br><div><div>On Jul 31, 2008, at 3:28 PM, Brian Del Shasta wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">That's not a problem.&nbsp; I am currently able to successfully match destinations by looking for anything that starts with a '1'.&nbsp; I have a destination setup called "Billable" which applies to any destination beginning with 1.&nbsp; 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.&nbsp; Do I have to setup a profile and customer as well?&nbsp; Or should I be able to price calls using only destination and rates?<br><br><div class="gmail_quote"> On Thu, Jul 31, 2008 at 8:42 AM, Adrian Georgescu <span dir="ltr">&lt;<a href="mailto:ag@ag-projects.com">ag@ag-projects.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> 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> &nbsp;>><br> I'm attempting to understand how call rating works within CDRTool. &nbsp;I am<br> able to link destinations to the calls, but unable to generate<br> prices. &nbsp;I'm<br> using CDRTool 6.4.1 with FreeRadius/MySQL and a Cisco gateway. &nbsp;What I'm<br> trying to setup seems simple: &nbsp;I have one set rate of $.08/min for any<br> call<br> beginning with a 1 (I'll exclude 800 numbers later). &nbsp;This rate should<br> be<br> applied globally with no differentiation between caller party or<br> destination...<br> <br> <br> <br> _______________________________________________<br> Users mailing list<br> <a href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a><br> <a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br> </blockquote></div><br></div></blockquote></div><br></div></body></html>