2013/1/29 Ramaseshi reddy kolli <ramaseshireddy(a)gmail.com>om>:
Hi,
i am using kamailio 3.3 version please help me with this issue.
1) Registered from SIP end point, kamailio added row in location table
2) Now using same SIP account details, pushed registration entry using
kamctl ul add , instead of overwriting the previous contact by new one it
inserts another new row in the location table
3) Total now 2 rows with same username are present in DB.
I am using save("location", "0x04") so before inserting new row it
should
check whether already entry is there or not, if there should update the same
row.
I look forward to your reply.
Take a look over max_contacts [0] parameter. A sip user can have
several locations.
http://kamailio.org/docs/modules/3.3.x/modules_k/registrar.html#id2497761