Hello,

what is the value for db_mode parameter?

Can you try with db_ops_ruid set to 1:

http://kamailio.org/docs/modules/stable/modules/usrloc.html#usrloc.p.db_ops_ruid

Also, does database server logs point any error?

Cheers,
Daniel

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

Hello,

 

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?

 

Regards,

 

Igor.



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda