[OpenSIPS-Users] tests with binary replication

Mike Tesliuk mike at ultra.net.br
Tue Dec 3 18:58:51 CET 2013


2013/12/3 Liviu Chircu <liviu at opensips.org>

>  Hello Mike,
>


Hello Liviu,

Thanks for you answer.



>
> It is very improbable that either received socket (for caller and callee)
> is NULL. A more probable error is that your 2nd OpenSIPS instance is not
> listening on the same interface(in other words, a virtual IP), the sockets
> don't match, and the packet is discarded.
>
>
yes, it is exactly whats happening




> As a side note, replication will not work at all without a common virtual
> IP belonging to both instances at the same time. Maybe the documentation
> needs some improvements...
>

yeah, this was not clear to me, but now i understand


>
> What worries me more is that this actually causes a crash! What do the
> OpenSIPS logs say? We must figure out which process crashed first.
>

The version of opensips used was the 1.11 from deb repository (repository
1.10 is giving the version 1.11), so i will try with 1.10 from source and i
can tell if this happens


>
> PS: I starred the email, but forgot to answer...
>

hehe, thank you.



>
> Best regards,
>
> --
> Liviu Chircu
> OpenSIPS Developerhttp://www.opensips-solutions.com
>
> On 03.12.2013 17:37, Mike Tesliuk wrote:
>
> So, nobody have an idea about this ?
>
>
> 2013/12/1 Mike Tesliuk <mike at ultra.net.br>
>
>>  Hello Guys,
>>
>> Im trying to use the binary interface to test, but when the replication
>> happens i get this on log file.
>>
>> Dec  1 22:20:58 gcl-ss01a /usr/sbin/opensips[12322]:
>> ERROR:dialog:dlg_replicated_create: Dialog in DB doesn't match any
>> listening sockets
>> Dec  1 22:20:58 gcl-ss01a /usr/sbin/opensips[12322]:
>> ERROR:dialog:dlg_replicated_create: Received malformed UDP binary packet!
>> Dec  1 22:20:58 gcl-ss01a /usr/sbin/opensips[12322]:
>> ERROR:dialog:receive_binary_packet: Failed to process a binary packet!
>> Dec  1 22:20:58 gcl-ss01a kernel: [88582.744765] opensips[12323]:
>> segfault at 10 ip 00007fe5dc96d7c7 sp 00007fff45469d80 error 4 in
>> dialog.so[7fe5dc949000+49000]
>>
>>
>>  for me this is like if the dialog need to have the same listening
>> information, how should i configure this ?
>>
>>
>> Thanks
>>
>
>
>
> _______________________________________________
> 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/20131203/588806fd/attachment.htm>


More information about the Users mailing list