[OpenSIPS-Users] tests with binary replication

Liviu Chircu liviu at opensips.org
Tue Dec 3 18:21:43 CET 2013


Hello Mike,

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.

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...

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.

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

Best regards,

-- 
Liviu Chircu
OpenSIPS Developer
http://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 <mailto: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 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/2e37dc6c/attachment.htm>


More information about the Users mailing list