[SR-Users] htable persistation question

Attila Megyeri amegyeri at minerva-soft.com
Tue Mar 31 20:20:00 CEST 2015


Hi Daniel,

Yes - most probably it is due to the same table names. Thanks for the hint.

Attila



From: sr-users [mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla
Sent: Tuesday, March 31, 2015 6:32 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] htable persistation question

Hello,

as I can see, all the three hash tables defined in memory use the same database table. Is it what you want? Shouldn't be there different database tables for each memory table?

Cheers,
Daniel
On 31/03/15 13:14, Attila Megyeri wrote:
Hi,

We are having problem with persisting htable.

There are 4 hashtables defined in kamailio config, like:

modparam("htable", "db_url", DBURL)
modparam("htable", "htable", "vtp=>size=10;autoexpire=120;dbtable=htable;dbmode=1;")
modparam("htable", "htable", "a=>size=6;")
modparam("htable", "htable", "rpn=>size=10;autoexpire=0;dbtable=htable;dbmode=1;");
modparam("htable", "htable", "rpnn=>size=10;autoexpire=0;dbtable=htable;dbmode=1;");

The strange behavior is that if I restart kamailio, the hash table is not persisted into the database.
If I change e.g. rpn's dbtable to e.g. htable_1 (which should be created in the kamailio mysql database schema upfront, then the rpn hashtable will be presisted successfully at every stop and will be reload at every start.

What is wrong in my config?

Kamailio version is 4.2.3

Thanks,
Attila





_______________________________________________

SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list

sr-users at lists.sip-router.org<mailto:sr-users at lists.sip-router.org>

http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



--

Daniel-Constantin Mierla

http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

Kamailio World Conference, May 27-29, 2015

Berlin, Germany - http://www.kamailioworld.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150331/267a998b/attachment.html>


More information about the sr-users mailing list