I am facing very similar problem. the sip phones can registered, online and ul show can see the phones. but after while (less 5 min), kamailio show the error:
binding ....... has expired. I change to db_mode=2, the problem still there. after restart kamailio again, the phones come on. 


2014-05-08 6:08 GMT+08:00 Henry Fernandes <henry@usinternet.com>:
I'm using Kamailio 3.3 and the USRLOC module to track registrations.  I have set "db_mode" to 1 because I want to store all registration info to the database and I want the database to be up to date (in case I need to restart Kamailio).

Unfortunately, this doesn't work as I expect.  When I query the database, it has far fewer entries in the "location" table than are registered to Kamailio (which I find with a "kamctl ul show").  Also, when I restart Kamailio, I lose some of the registrations for my phones.

Am I misunderstanding the behaviour for db_mode=1?  Isn't it supposed to keep the database up to date?
-H
_______________________________________________
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



--
Best regards