Hi!
Kamailio 4.1.6 with default settings for usrloc and registrar modul and db_mode=1 (write through).
Fritzbox sends a reREGISTER and Kamailio tries to insert the contact into the database, but this fails as this contact for this AoR already exists.
So I think there are 2 scenarios: Kamailio false INSERTs instead of UPDATEs the contact, or the contact was deleted from usrloc, but not from the database.
Frankly I see the in the mysql logfile that immediately after the failed INSERT the record is deleted from DB.
Does anybody have a pointer what might be the problem here? AFAIS the client always uses the same Contact and the same call-id. only Cseq increases.
Thanks Klaus
I just found out that a previous call to this user was rejected with 480. This means, that the client was not registered. Thus, the INSERT into the DB seems correct. So, was the contact expired from usrloc but not deleted from DB? Do you know such problems?
Thanks Klaus
On 18.11.2014 18:20, Klaus Darilion wrote:
Hi!
Kamailio 4.1.6 with default settings for usrloc and registrar modul and db_mode=1 (write through).
Fritzbox sends a reREGISTER and Kamailio tries to insert the contact into the database, but this fails as this contact for this AoR already exists.
So I think there are 2 scenarios: Kamailio false INSERTs instead of UPDATEs the contact, or the contact was deleted from usrloc, but not from the database.
Frankly I see the in the mysql logfile that immediately after the failed INSERT the record is deleted from DB.
Does anybody have a pointer what might be the problem here? AFAIS the client always uses the same Contact and the same call-id. only Cseq increases.
Thanks Klaus
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