<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Mar 16, 2009, at 11:36 AM, DanB wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hey Adrian,<br><br>thanks for the quick reaction.<br><br>Here it comes what I found out after tests (could be I am doing something wrong):<br><br>* 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).</blockquote><div><br></div><div>The reload simply sets a flag in the system to reload the destinations.&nbsp;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.&nbsp;</div><div><br></div><blockquote type="cite">* 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.</blockquote><div><br></div><div>This is a problem unrelated to the destinations reload. Most likely you did not create the correct rating table data.</div><br><blockquote type="cite">My version:<br>"""<br>version<br>CDRTool version 6.7.3<br>"""<br><br>Ta,<br>DanB<br><br><br><div class="gmail_quote">On Sun, Mar 15, 2009 at 9:56 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;"><div style="">Hello Dan,<div><br></div><div>I found the bug that affected the rating engine, I fixed it. You should upgrade to 6.7.3 version.<div> <br></div><div>Regards,</div><div>Adrian</div><div><div><br></div><div><div><div><div></div><div class="h5"><div>On Mar 14, 2009, at 7:12 PM, Dan-Cristian Bogos wrote:</div><br></div></div><blockquote type="cite"><div><div> <div></div><div class="h5">Folks,<br><br>some strange behavior I have noticed in CDRTool: both ReloadRatingTables<br>and "/etc/init.d/cdrtool reload" are strangely removing the destinations<br>and destinations.sip from cdrtool.memcached table, therefore I have the<br> feeling that this is why ShowPrice does newer show newer updates in the<br>destinations table.<br><br>"""<br>version<br>CDRTool version 6.7.2<br>"""<br><br>The only way I made CDRTool work with newer destinations inserted into<br> destinations table was restarting it. Is this behavior wanted?<br>Also, ShowPrice used to insert also destination name, other than dest_id<br>inside Destination field, but no longer there.<br><br><br>Ta,<br>DanB<br><br><br> </div></div>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br> </div></blockquote></div><br></div></div></div></div></blockquote></div><br></blockquote></div><br></body></html>