<p dir="ltr">I often encounter where there has been a change in db but the rules have not been reloaded and there is no way to see what the rules were at the time. </p>
<p dir="ltr">Maybe some mi function to restore the data to the database would make sense? </p>
<div class="gmail_quote">On Jul 6, 2015 3:23 PM, "Bogdan-Andrei Iancu" <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<tt>Hello </tt><tt>Aron,</tt><tt><br>
</tt><tt><br>
</tt><tt>There is no way to dump the rules from memory - mainly
because it is design to work with 300 M of rules or more....and
dumping of such amount of data will be difficult.</tt><tt><br>
</tt><tt><br>
</tt><tt>Regards,</tt><br>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div>On 06.07.2015 20:44, Podrigal, Aron
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Assuming opensips drouting module caches the dr
rules, how can I get the current cached rules? I only seeĀ
<div><br>
<div>
<div>dr gw_status</div>
<div>dr carrier_status</div>
</div>
<div><br>
</div>
<div>Tnx</div>
<div><br>
</div>
-- <br>
<div>
<div dir="ltr">Aron Podrigal
<div>-</div>
<div>//Be happy :-)</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div>