[OpenSIPS-Users] CDRTool - ReloadRatingTables and new destinations
ag at ag-projects.com
Mon Mar 16 11:50:47 CET 2009
On Mar 16, 2009, at 11:36 AM, DanB wrote:
> Hey Adrian,
> thanks for the quick reaction.
> Here it comes what I found out after tests (could be I am doing
> something wrong):
> * ReloadRatingTables produces a reload of destination table now
> (during normalize.php execution, so not real-time but depending on
> how often this script is run in cron).
The reload simply sets a flag in the system to reload the
destinations. The destinations are reloaded when normalization process
occurs, either from cron job, manual run of normalize.php script or
when you load a web page.
> * Even when the tables are reloaded, the new destinations are not
> processed, therefore when querying ShowPrice I will get still the
> initial values (the one received on cdrtool startup). So the result
> is that I am adding/deleting/modifying destinations, but no effect
> in the ShowPrice.
This is a problem unrelated to the destinations reload. Most likely
you did not create the correct rating table data.
> My version:
> CDRTool version 6.7.3
> On Sun, Mar 15, 2009 at 9:56 AM, Adrian Georgescu <ag at ag-
> projects.com> wrote:
> Hello Dan,
> I found the bug that affected the rating engine, I fixed it. You
> should upgrade to 6.7.3 version.
> On Mar 14, 2009, at 7:12 PM, Dan-Cristian Bogos wrote:
>> some strange behavior I have noticed in CDRTool: both
>> and "/etc/init.d/cdrtool reload" are strangely removing the
>> and destinations.sip from cdrtool.memcached table, therefore I have
>> feeling that this is why ShowPrice does newer show newer updates in
>> destinations table.
>> CDRTool version 6.7.2
>> The only way I made CDRTool work with newer destinations inserted
>> destinations table was restarting it. Is this behavior wanted?
>> Also, ShowPrice used to insert also destination name, other than
>> inside Destination field, but no longer there.
>> Users mailing list
>> Users at lists.opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users