[sr-dev] [tracker] Task opened: Database location table not updated correctly?

sip-router bugtracker at sip-router.org
Fri Nov 29 15:37:49 CET 2013


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Morten Tryfoss (mtryfoss) 

Attached to Project - sip-router
Summary - Database location table not updated correctly?
Task Type - Bug Report
Category - usrloc (k)
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - I'm having an issue with kamailio and a sip client on a mobile phone (using pjsip).

The phone switches between wifi and mobile network, so the ip/contact of the registration changes during the day. However, the callid remains unchanged.

When this happens, "kamctl ul show" returns the new contact but the database table does not. 
I enabled sql logging and saw that kamailio tried to update the row using "where username = xx and callid = yy and contact = <new contact header>". 
Of course there is no row containing that contact yet.

It should add a new row instead and let the old time out?


Note that it does not happen every time. I looks like it starts when the "instance"-field is not empty.

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=374

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list