<p>ok, understood.<br>
My intention here is to have multiples opensips sharing all of them usrloc info (without using db_url).<br>
If i do:</p>
<p>(only comment the check of local socket)</p>
<pre><code>--- a/modules/usrloc/ureplication.c
+++ b/modules/usrloc/ureplication.c
@@ -294,10 +294,10 @@ static int receive_ucontact_insert(void)
}
ci.sock = grep_sock_info(&host, (unsigned short)port, (unsigned short)proto);
- if (!ci.sock) {
- LM_ERR("non-local socket <%.*s>\n", sock.len, sock.s);
- goto error;
- }
+ //if (!ci.sock) {
+ // LM_ERR("non-local socket <%.*s>\n", sock.len, sock.s);
+ // goto error;
+ //}
</code></pre>
<p>i can register peer sip 1000 on opensips A, and peer sip 2000 on opensips B and works without any problem (tested including calling)</p>
<p>is wrong to have this scenario? there may be problems?</p>
<p>Thanks for quick answer! :)</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/OpenSIPS/opensips/issues/198#issuecomment-40222363'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxMjg1MjY0NiwiZGF0YSI6eyJpZCI6Mjk4MTU5NjF9fQ==--8ddc355474a8cfce6e9a4fe30285da4347b796b5.gif' height='1' width='1'></p>