[OpenSIPS-Users] Contact saving in opensips-2.2

Sasmita Panda spanda at 3clogic.com
Wed Jul 5 06:14:12 EDT 2017


[root at localhost opensips]# opensips -V

version: opensips 2.2.2 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC,
FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
main.c compiled on 12:17:33 May 29 2017 with gcc 4.8.5



 Do you want me to test after applying the patch ?

*Thanks & Regards*
*Sasmita Panda*
*Network Testing and Software Engineer*
*3CLogic , ph:07827611765*

On Wed, Jul 5, 2017 at 3:13 PM, Liviu Chircu <liviu at opensips.org> wrote:

> Sasmita, could you please post the output of "opensips -V"? A similar bug
> on 2.2 has been discussed and fixed exactly one month ago [1]
>
> [1]: https://github.com/OpenSIPS/opensips/commit/af07e238
>
> Liviu Chircu
> OpenSIPS Developerhttp://www.opensips-solutions.com
>
> On 05.07.2017 08:27, 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>
> 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
>>
>> OpenSIPS Bootcamp 2017, Houston, US
>>   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 listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> 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/7c909e32/attachment.html>


More information about the Users mailing list