[SR-Users] DMQ Not Discovering all Nodes

Charles Chance charles.chance at sipcentric.com
Thu Aug 17 00:13:07 CEST 2017


Hello,

Can you share the rest of your config (at least, any dmq modparams and the
main route block)?

Cheers,

Charles

On 16 Aug 2017 22:48, "John Petrini" <jpetrini at coredial.com> wrote:

Hello,

I've just started doing some testing with dmq but I'm having trouble
getting it to discover all of the nodes in my cluster.

There are 7 kamailio instances with the following in their configs:

Example from the notification server (10.0.10.211):

listen=udp:10.0.10.211:5080
loadmodule "dmq.so"
# ----- dmq params -----
modparam("dmq", "server_address", "sip:10.0.10.211:5080")
modparam("dmq", "notification_address", "sip:10.0.10.211:5080")


Example from one of the nodes (10.0.10.216). (Only the listen and
server_address is changed to match the local ip of each node.)

listen=udp:10.0.10.216:5080
loadmodule "dmq.so"
# ----- dmq params -----
modparam("dmq", "server_address", "sip:10.0.10.216:5080");
modparam("dmq", "notification_address", "sip:10.0.10.211:5080")

Output from kamcmd dmq.list_nodes

{
host: 10.0.10.211
port: 5080
resolved_ip: 10.0.10.211
status: 2
last_notification: 0
local: 0
}
{
host: 10.0.10.216
port: 5080
resolved_ip: 10.0.10.216
status: 2
last_notification: 0
local: 1
}

I'm expecting to see all 7 nodes in the output but only see the local node
and the notification node. I imagine I could use an SRV record for the
notication address to add all of the nodes but I thought the notification
node was supposed to share the rest of the nodes in the cluster.

Can anyone explain what it is I'm doing wrong?

Thank You,

John Petrini



_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Sipcentric Ltd. Company registered in England & Wales no. 7365592. Registered 
office: Faraday Wharf, Innovation Birmingham Campus, Holt Street, 
Birmingham Science Park, Birmingham B7 4BB.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170816/59f8735b/attachment.html>


More information about the sr-users mailing list