[SR-Users] ERROR: dmq [notification_peer.c:337]: add_server_and_notify(): error adding notification node

Henning Westerholt hw at skalatan.de
Wed Dec 16 17:11:26 CET 2020


Hello,

you need to configure the “real” IP address of the own and peer server, not the “0” address.

Cheers,

Henning

From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of Syed Shahryar
Sent: Wednesday, December 16, 2020 2:59 PM
To: sr-users at lists.kamailio.org
Subject: [SR-Users] ERROR: dmq [notification_peer.c:337]: add_server_and_notify(): error adding notification node

Here is my setting:

modparam("dmq", "server_address", "sip:0.0.0.0:5090<http://0.0.0.0:5090>" )
modparam("dmq", "notification_address", "sip:0.0.0.0:5090<http://0.0.0.0:5090>")
modparam("dmq", "multi_notify", 1)
modparam("dmq", "num_workers", 2)
modparam("dmq", "worker_usleep", 0)
modparam("dmq", "ping_interval", 90)

I have tried localhost and I believe other options but to no avail.

I also get the following message:

ERROR: dmq [dmq_funcs.c:516]: ping_servers(): cannot retrieve initial nodelist from sip:0.0.0.0:5090<http://0.0.0.0:5090>

How do I set up DMQ for adding and removing any Kamailio instance to/from the cluster and any Kamailio instance could serve any request coming from any client? ie. all Kamailio instances keep the current state in DMQ.

I also have dmq_usrloc enabled.


--
--
This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. Email transmission cannot be guaranteed to be secure or error-free, as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender, therefore, does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission. If verification is required, please request a hard-copy version.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20201216/92b36b69/attachment.htm>


More information about the sr-users mailing list