<div dir="ltr">Hi Charles,<div><br></div><div>Thanks for the quick reply. Just you asking for me to provide the main route block made me realize I needed to add KDMQ message handling to my routing. I've added the following to the main routing block and all of the nodes have now been discovered.</div><div><br></div><div><div>  # KDMQ handling</div><div>  if(is_method("KDMQ")) {</div><div>    dmq_handle_message();</div><div>  }</div></div><div><br></div><div>Seems so obvious now!</div><div><br></div><div>Thank You!</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"> <br>

<div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<p style="background-color:rgb(255,255,255);margin-top:8px;margin-bottom:8px;color:rgb(51,51,51);line-height:1.6"><span style="font-size:14pt">John Petrini</span></p></div></div><div style="margin:0;padding:0;display:block;width:100%;height:auto">
 </div><img src="https://t.xink.io/Tracking/Impression/Nx4AAGORAACukSoA0" height="1px" width="1px" style="border: none; display: none !important;"></div></div>
<br><div class="gmail_quote">On Wed, Aug 16, 2017 at 6:13 PM, Charles Chance <span dir="ltr"><<a href="mailto:charles.chance@sipcentric.com" target="_blank">charles.chance@sipcentric.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Hello,<div dir="auto"><br></div><div dir="auto">Can you share the rest of your config (at least, any dmq modparams and the main route block)?</div><div dir="auto"><br></div><div dir="auto">Cheers,<br><br><div data-smartmail="gmail_signature" dir="auto">Charles<br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 16 Aug 2017 22:48, "John Petrini" <<a href="mailto:jpetrini@coredial.com" target="_blank">jpetrini@coredial.com</a>> wrote:<br type="attribution"></div></div><blockquote class="m_5650142350631137446quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hello,<div><br></div><div>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.</div><div><br></div><div>There are 7 kamailio instances with the following in their configs:</div><div><br></div><div>Example from the notification server (10.0.10.211):</div><div><br></div><div><div>listen=udp:<a href="http://10.0.10.211:5080" target="_blank">10.0.10.211:5080</a></div><div>loadmodule "dmq.so"</div><div># ----- dmq params -----</div><div>modparam("dmq", "server_address", "sip:<a href="http://10.0.10.211:5080" target="_blank">10.0.10.211:5080</a>")</div><div>modparam("dmq", "notification_address", "sip:<a href="http://10.0.10.211:5080" target="_blank">10.0.10.211:5080</a>")</div><div><br></div><div><br></div><div><div class="m_5650142350631137446m_4579806981572158718gmail_signature">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.)</div><div class="m_5650142350631137446m_4579806981572158718gmail_signature"><br></div><div class="m_5650142350631137446m_4579806981572158718gmail_signature"><div class="m_5650142350631137446m_4579806981572158718gmail_signature">listen=udp:<a href="http://10.0.10.216:5080" target="_blank">10.0.10.216:5080</a></div><div class="m_5650142350631137446m_4579806981572158718gmail_signature">loadmodule "dmq.so"</div><div class="m_5650142350631137446m_4579806981572158718gmail_signature"># ----- dmq params -----</div><div class="m_5650142350631137446m_4579806981572158718gmail_signature">modparam("dmq", "server_address", "sip:<a href="http://10.0.10.216:5080" target="_blank">10.0.10.216:5080</a>");</div><div class="m_5650142350631137446m_4579806981572158718gmail_signature">modparam("dmq", "notification_address", "sip:<a href="http://10.0.10.211:5080" target="_blank">10.0.10.211:5080</a>")</div><div class="m_5650142350631137446m_4579806981572158718gmail_signature"><br></div><div class="m_5650142350631137446m_4579806981572158718gmail_signature">Output from kamcmd dmq.list_nodes</div><div class="m_5650142350631137446m_4579806981572158718gmail_signature"><br></div><div class="m_5650142350631137446m_4579806981572158718gmail_signature"><div class="m_5650142350631137446m_4579806981572158718gmail_signature">{</div><div class="m_5650142350631137446m_4579806981572158718gmail_signature"><span class="m_5650142350631137446m_4579806981572158718gmail-Apple-tab-span" style="white-space:pre-wrap">  </span>host: 10.0.10.211</div><div class="m_5650142350631137446m_4579806981572158718gmail_signature"><span class="m_5650142350631137446m_4579806981572158718gmail-Apple-tab-span" style="white-space:pre-wrap">   </span>port: 5080</div><div class="m_5650142350631137446m_4579806981572158718gmail_signature"><span class="m_5650142350631137446m_4579806981572158718gmail-Apple-tab-span" style="white-space:pre-wrap">  </span>resolved_ip: 10.0.10.211</div><div class="m_5650142350631137446m_4579806981572158718gmail_signature"><span class="m_5650142350631137446m_4579806981572158718gmail-Apple-tab-span" style="white-space:pre-wrap">    </span>status: 2</div><div class="m_5650142350631137446m_4579806981572158718gmail_signature"><span class="m_5650142350631137446m_4579806981572158718gmail-Apple-tab-span" style="white-space:pre-wrap">   </span>last_notification: 0</div><div class="m_5650142350631137446m_4579806981572158718gmail_signature"><span class="m_5650142350631137446m_4579806981572158718gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>local: 0</div><div class="m_5650142350631137446m_4579806981572158718gmail_signature">}</div><div class="m_5650142350631137446m_4579806981572158718gmail_signature">{</div><div class="m_5650142350631137446m_4579806981572158718gmail_signature"><span class="m_5650142350631137446m_4579806981572158718gmail-Apple-tab-span" style="white-space:pre-wrap">    </span>host: 10.0.10.216</div><div class="m_5650142350631137446m_4579806981572158718gmail_signature"><span class="m_5650142350631137446m_4579806981572158718gmail-Apple-tab-span" style="white-space:pre-wrap">   </span>port: 5080</div><div class="m_5650142350631137446m_4579806981572158718gmail_signature"><span class="m_5650142350631137446m_4579806981572158718gmail-Apple-tab-span" style="white-space:pre-wrap">  </span>resolved_ip: 10.0.10.216</div><div class="m_5650142350631137446m_4579806981572158718gmail_signature"><span class="m_5650142350631137446m_4579806981572158718gmail-Apple-tab-span" style="white-space:pre-wrap">    </span>status: 2</div><div class="m_5650142350631137446m_4579806981572158718gmail_signature"><span class="m_5650142350631137446m_4579806981572158718gmail-Apple-tab-span" style="white-space:pre-wrap">   </span>last_notification: 0</div><div class="m_5650142350631137446m_4579806981572158718gmail_signature"><span class="m_5650142350631137446m_4579806981572158718gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>local: 1</div><div class="m_5650142350631137446m_4579806981572158718gmail_signature">}</div><div><br></div><div>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.</div><div><br></div><div>Can anyone explain what it is I'm doing wrong?</div><div><br></div><div>Thank You,</div></div>

<div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<p style="background-color:rgb(255,255,255);margin-top:8px;margin-bottom:8px;color:rgb(51,51,51);line-height:1.6"><span style="font-size:14pt">John Petrini</span></p></div></div><div style="margin:0px;padding:0px;display:block;width:100%;height:auto">
<br>
 </div><img src="https://t.xink.io/Tracking/Impression/Nx4AAGORAACukSoA0" height="1px" width="1px" style="border:none;display:none!important"></div></div>
</div></div>
<br></div></div>______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>

<br>
<div><font color="gray" style="font-size:10pt;font-family:Helvetica,Arial,sans-serif">Sipcentric Ltd.
                Company registered in England & Wales no. 7365592.</font><span style="font-size:10pt;font-family:Helvetica,Arial,sans-serif"> </span><font color="gray" style="font-size:10pt;font-family:Helvetica,Arial,sans-serif">Registered
                office: Faraday Wharf, Innovation Birmingham Campus, Holt Street, Birmingham Science Park, Birmingham B7 4BB.</font></div><br>______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br></div></div>