[SR-Users] Backing up htable to SQL table ...

Daniel-Constantin Mierla miconda at gmail.com
Thu Mar 8 07:11:23 CET 2012


Hello,

you have to set dbmode=1 when defining the hash table:

http://kamailio.org/docs/modules/stable/modules_k/htable.html#id2541457

Cheers,
Daniel

On Thu, Mar 8, 2012 at 4:48 AM, Krishna Kurapati <kkurapat at gmail.com> wrote:

> Any help on how to backup the htable content to database table?
>
> Thanks
>
> On Tue, Mar 6, 2012 at 5:28 PM, Krishna Kurapati <kkurapat at gmail.com>wrote:
>
>> I did little more digging into htable source code. It looks like syncing
>> to database is happening when the module is being
>> destroyed.
>>
>> To see if this is working, I tried to stop Kamailio and looked into the
>> database. The htable is still empty. Any configuration
>> changes required to make the process happen?
>>
>> Thanks
>> Krish Kura
>>
>> On Tue, Mar 6, 2012 at 8:38 AM, Krishna Kurapati <kkurapat at gmail.com>wrote:
>>
>>> Hi,
>>>
>>> This is my first time attempt using htable module.
>>> How can I back up the htable content in the database incase the server
>>> restarts. I saw a htable in the MySQL database.
>>> My observation has been that htable module is not automatically backing
>>> up to database even though I added
>>> modparams to point to the database. Do I need to explicitly backup
>>> htable content to database using sqlops or some
>>> other mechanism?
>>>
>>> Thanks
>>> Krish Kura
>>>
>>
>>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>


-- 
Daniel-Constantin Mierla
  http://www.asipto.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120308/25704afd/attachment.htm>


More information about the sr-users mailing list