[SR-Users] htable persistation question

Attila Megyeri amegyeri at minerva-soft.com
Tue Mar 31 13:14:27 CEST 2015


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150331/6ab4b159/attachment.html>


More information about the sr-users mailing list