<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Sammy,<br>
<br>
The registration records are usually bound to an interface (the ip
and port the registration was received) - that interface will be
used all the time in the communication with the registered end
point.<br>
<br>
Now, when if server A receives the Registration on interface X, and
this is replicated to server B, this server B may not have the X
interface, but something else (an Y interface). So the registration
record will loose some information (the interface it is bound to).
This is the nature of the error message you see.<br>
And yes, using the ip_nonlocal_bind options is the way to go.<br>
<br>
Once replicated, the registration records are independent and they
do not depend on the what is happening with the original node (where
the registration was pushed from).<br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 14.06.2016 09:35, SamyGo wrote:<br>
</div>
<blockquote
cite="mid:CAJUJwthn6QzknHonTk41CywQ60j4BeQDc-3uDO1BVKT7pkYnEw@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div>I've a cluster setup with userloc replication enabled for
3+ servers. As soon as a user register anywhere the other
servers which receive this replicated contact display these
errors:<br>
<font face="monospace, monospace"><br>
</font>
<div><font face="monospace, monospace">ERROR:usrloc:receive_ucontact_insert:
non-local socket <udp:1X.2XX.XX.XX:5060></font></div>
<div><font face="monospace, monospace">ERROR:usrloc:receive_ucontact_insert:
failed to process replication event. dom: 'location', aor:
'<a class="moz-txt-link-abbreviated" href="mailto:89654@1X.2XX.XX.XX">89654@1X.2XX.XX.XX</a>'</font></div>
<div><font face="monospace, monospace">ERROR:usrloc:receive_binary_packet:
failed to process a binary packet!</font></div>
</div>
<div><br>
</div>
<div>The solution(kind of) for the same error has been discussed
in this thread:</div>
<div><a moz-do-not-send="true"
href="http://lists.opensips.org/pipermail/users/2015-February/030910.html">http://lists.opensips.org/pipermail/users/2015-February/030910.html</a><br>
</div>
<div><br>
</div>
<div>The question here is, is setting <i>ip_nonlocal_bind </i>for
this userlocation replication a solution ? or should the
replication mechanism be modified to process the replications
from other nodes !</div>
<div><br>
Say even if this works, the next question is, what would
happen to the contacts from a server which is no longer
active. The Contacts disappear as soon as the clusterer node
becomes inactive ?<br>
<br>
</div>
<div>Looking for some clarity on this topic.</div>
<div><br>
</div>
<div>Regards,</div>
<div>Sammy</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>