[OpenSIPS-Devel] [opensips] Possible bug in binary interface with usrloc module (#198)
dreiver
notifications at github.com
Fri Apr 11 18:24:06 CEST 2014
ok, understood.
My intention here is to have multiples opensips sharing all of them usrloc info (without using db_url).
If i do:
(only comment the check of local socket)
```
--- 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;
+ //}
```
i can register peer sip 1000 on opensips A, and peer sip 2000 on opensips B and works without any problem (tested including calling)
is wrong to have this scenario? there may be problems?
Thanks for quick answer! :)
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/198#issuecomment-40222363
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20140411/1510cb9b/attachment.htm>
More information about the Devel
mailing list