[sr-dev] [kamailio/kamailio] dmq: let server_address & notification_address can use the same IP and port (#1308)

张顺通 notifications at github.com
Thu Nov 9 03:27:16 CET 2017


For example, I have four kamailio instance for register, one kamailio instance recv REGISTER, it copy to other three kamailio instance by dmq_usrloc.
In this scene, I set notification_address to domain sip:ka.ns.com:5060 which resolve to all four kamailio instance(which recv REGISTER).In this way, **I do not need to build a separate kamailio cluster only for notification server.**

```
modparam("dmq", "server_address", "sip:10.6.1.200:5260")
modparam("dmq", "notification_address", "sip:ka.ns.com:5260")
# This configuration, ka.ns.com only resolve to 10.6.1.200, kamailio can not normal start.
it report : 
dmq [notification_peer.c:345]: add_server_and_notify(): error adding notification node
dmq [dmq.c:299]: child_init(): cannot retrieve initial nodelist from sip:ka.ns.com:5260
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1308#issuecomment-343027892
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20171109/7435a0e0/attachment.html>


More information about the sr-dev mailing list