[SR-Users] Location issue

Igor Potjevlesch igor.potjevlesch at gmail.com
Wed May 28 14:00:48 CEST 2014

Hello Daniel,


“db_mode” is set to 1 and “db_op_ruid” has the default value. So I guess 0.

Do you think that setting “db_ops_ruid” to 1 will solve the issue?


I took a wireshark capture while the problem occured and saw that Kamailio make an UPDATE request whereas the location database had no more entry for the username.

Also, I look to the MySQL logs and see nothing in particular.





De : sr-users-bounces at lists.sip-router.org [mailto:sr-users-bounces at lists.sip-router.org] De la part de Daniel-Constantin Mierla
Envoyé : mercredi 28 mai 2014 11:58
À : Kamailio (SER) - Users Mailing List
Objet : Re: [SR-Users] Location issue



what is the value for db_mode parameter?

Can you try with db_ops_ruid set to 1:


Also, does database server logs point any error?


On 28/05/14 11:35, Igor Potjevlesch wrote:



I’m running Kamailio 4.1.3 and having a strange issue.

After a restart of Kamailio, some username are still in memory and updated accordingly with usual re-REGISTER flow. But the entries in location db is deleted. Kamailio tries to do a SQL UPDATE which fails because of that.


So, for each username which are not in location DB, I must do a “kamctl ul rm” and wait for the next REGISTER. The new REGISTER will challenge the UAC for a new Authorization which should result in an INSERT INTO instead of an UPDATE.


Can someone help me to solve this?





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> 

Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140528/2bcecb0a/attachment.html>

More information about the sr-users mailing list