Hi ,

I am using kamailio 3.3 version. I got the following issue. Please help me.

1) Registered a SIP end point, kamailio added row in location table

2) Now restarted kamailio and registered with another endpoint same account details so instead of overwriting the previous contact by new one it inserts another new row in the location table

3) The old entry is not deleted even after the expire time is over because we are using modparam("usrloc", "db_mode", 1) option.

Anyway we are using save("location", "0x04") so before inserting new row it should check whether already entry is there or not and then take action.

I look forward to your reply.

Thanks

Ram