[OpenSIPS-Users] Contact saving in opensips-2.2

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Jul 5 04:22:26 EDT 2017


Hi Sasmita,

Please post (do not attach to the email!) the opensips logs in log_level 
4 corresponding to the processing of the second REGISTER requests (which 
adds the second contact).

Regards,

Bogdan-Andrei Iancu
   OpenSIPS Founder and Developer
   http://www.opensips-solutions.com

OpenSIPS Bootcamp 2017, Houston, US
   http://opensips.org/training/OpenSIPS_Bootcamp_2017.html

On 07/05/2017 08:27 AM, Sasmita Panda wrote:
> Actually I am not saving data in memory . It in DB only mode . So I am 
> seeing in database . I get 2 contacts of same Username, From same IP 
> and Different Port .
>
> */Thanks & Regards/*
> /Sasmita Panda/
> /Network Testing and Software Engineer/
> /3CLogic , ph:07827611765/
>
> On Tue, Jul 4, 2017 at 10:17 PM, Bogdan-Andrei Iancu 
> <bogdan at opensips.org <mailto:bogdan at opensips.org>> wrote:
>
>     Hi Sasmita,
>
>     Have you checked via "opensipsctl ul show" to see that you
>     actually have 2 registrations under the same AOR ??
>
>     Best regards,
>
>     Bogdan-Andrei Iancu
>        OpenSIPS Founder and Developer
>        http://www.opensips-solutions.com <http://www.opensips-solutions.com>
>
>     OpenSIPS Bootcamp 2017, Houston, US
>        http://opensips.org/training/OpenSIPS_Bootcamp_2017.html
>     <http://opensips.org/training/OpenSIPS_Bootcamp_2017.html>
>
>     On 07/04/2017 04:03 PM, Sasmita Panda wrote:
>>     Hi All .
>>               While saving contact , I have written
>>     save("location","c1fp1") . It means when a new register comes
>>     that will get added and the old contact will get de-reg in its
>>     expire time .
>>              But , if 1 contact is existing , and another 2 register
>>     comes at the same time with different contact(same Ip different
>>     port ) and same Username then what will happen .
>>            According to my observation , opensips is saving both the
>>     new contacts . Is that write . While I am forcing a single
>>     contact this should not happen .
>>           Please assist me if I am doing anything wrong .
>>     */Thanks & Regards/*
>>     /Sasmita Panda/
>>     /Network Testing and Software Engineer/
>>     /3CLogic , ph:07827611765/
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>     <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170705/633d74c3/attachment.html>


More information about the Users mailing list