Hello,<br><br>you have to set dbmode=1 when defining the hash table:<br><br><a href="http://kamailio.org/docs/modules/stable/modules_k/htable.html#id2541457">http://kamailio.org/docs/modules/stable/modules_k/htable.html#id2541457</a><br>
<br>Cheers,<br>Daniel<br><br><div class="gmail_quote">On Thu, Mar 8, 2012 at 4:48 AM, Krishna Kurapati <span dir="ltr">&lt;<a href="mailto:kkurapat@gmail.com">kkurapat@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Any help on how to backup the htable content to database table? <div><br></div><div>Thanks<br><br><div class="gmail_quote">On Tue, Mar 6, 2012 at 5:28 PM, Krishna Kurapati <span dir="ltr">&lt;<a href="mailto:kkurapat@gmail.com" target="_blank">kkurapat@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I did little more digging into htable source code. It looks like syncing to database is happening when the module is being<div>

destroyed. </div><div><br></div><div>To see if this is working, I tried to stop Kamailio and looked into the database. The htable is still empty. Any configuration</div>
<div>changes required to make the process happen?</div><div><br></div><div>Thanks</div><div>Krish Kura</div><div><div><div><br><div class="gmail_quote">On Tue, Mar 6, 2012 at 8:38 AM, Krishna Kurapati <span dir="ltr">&lt;<a href="mailto:kkurapat@gmail.com" target="_blank">kkurapat@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div>This is my first time attempt using htable module.</div><div>How can I back up the htable content in the database incase the server restarts. I saw a htable in the MySQL database.</div>


<div>My observation has been that htable module is not automatically backing up to database even though I added</div>
<div>modparams to point to the database. Do I need to explicitly backup htable content to database using sqlops or some</div><div>other mechanism?</div><div><br></div><div>Thanks</div><div>Krish Kura</div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Daniel-Constantin Mierla<br>  <a href="http://www.asipto.com">http://www.asipto.com</a><br>