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@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@lists.sip-router.org<mailto:sr-users@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