<div dir="auto">There were some thoughts about it already:<div dir="auto"><a href="https://lists.kamailio.org/pipermail/sr-dev/2021-April/062255.html" target="_blank" rel="noreferrer">https://lists.kamailio.org/pipermail/sr-dev/2021-April/062255.html</a><br></div><div dir="auto">I think these resulted in</div><div dir="auto"><a href="https://github.com/kamailio/kamailio/commit/17e757c91e6e96f6711d9251979d81a792aaef08#diff-bbfcd9caa32baefd8fd963f1c59058e82a89a1868d6ffe8b4e58699f0fd3806a">https://github.com/kamailio/kamailio/commit/17e757c91e6e96f6711d9251979d81a792aaef08#diff-bbfcd9caa32baefd8fd963f1c59058e82a89a1868d6ffe8b4e58699f0fd3806a</a><br></div><div dir="auto">and</div><div dir="auto"><a href="https://github.com/kamailio/kamailio/commit/adf8919f52841800f0cd4528c33679c7ef80f2c5#diff-bbfcd9caa32baefd8fd963f1c59058e82a89a1868d6ffe8b4e58699f0fd3806a">https://github.com/kamailio/kamailio/commit/adf8919f52841800f0cd4528c33679c7ef80f2c5#diff-bbfcd9caa32baefd8fd963f1c59058e82a89a1868d6ffe8b4e58699f0fd3806a</a><br></div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 14, 2021, 17:25 Aidar Kamalov <<a href="mailto:aidar.kamalov@gmail.com" target="_blank" rel="noreferrer">aidar.kamalov@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I have a kamailio cluster with two nodes</div><div>kamailio-1.local:  10.101.2.119</div><div>kamailio-2.local: 10.101.2.247</div><div><br></div><div><br></div><div>with dmq configs:</div><div><br></div><div>kamailio-1:</div><div>modparam("dmq", "server_address", "sip:MY_IP4_ADDR:5060")<br>modparam("dmq", "notification_address", "kamailio-2.local:5060")</div><div><br></div><div>kamailio-2:</div><div><div>modparam("dmq", "server_address", "sip:MY_IP4_ADDR:5060")<br>modparam("dmq", "notification_address", "kamailio-1.local:5060")</div><div><br></div><div><br></div><div>All works fine, but kamcmd dmq.list_nodes on kamailio-1.local show me:</div><div> {</div>      host: 10.101.2.247<br>    port: 5060<br>    resolved_ip: 10.101.2.247<br>     status: active<br>        last_notification: 0<br>  local: 0<br>}<br>{<br>        host: kamailio-1.local<br>        port: 5060<br>    resolved_ip: 10.101.2.119<br>     status: active<br>        last_notification: 0<br>  local: 0<br>}<br>{<br>        host: kamailio-2.local<br>        port: 5060<br>    resolved_ip: 10.101.2.247<br>     status: active<br>        last_notification: 0<br>  local: 0<br>}<br>{<br>        host: 10.101.2.119<br>    port: 5060<br>    resolved_ip: 10.101.2.119<br>     status: active<br>        last_notification: 0<br>  local: 1<br>}</div><div><br></div><div>and  kamailio-2.local show me:</div><div>{<br>   host: kamailio-2.local<br>        port: 5060<br>    resolved_ip: 10.101.2.247<br>     status: active<br>        last_notification: 0<br>  local: 0<br>}<br>{<br>        host: 10.101.2.119<br>    port: 5060<br>    resolved_ip: 10.101.2.119<br>     status: active<br>        last_notification: 0<br>  local: 0<br>}<br>{<br>        host: kamailio-1.local<br>        port: 5060<br>    resolved_ip: 10.101.2.119<br>     status: active<br>        last_notification: 0<br>  local: 0<br>}<br>{<br>        host: 10.101.2.247<br>    port: 5060<br>    resolved_ip: 10.101.2.247<br>     status: active<br>        last_notification: 0<br>  local: 1<br>}</div><div><br></div><div><br></div><div>So there are only two hosts in the cluster, but there are 4 records in dmq.list_nodes. Also in sip trace I can see that kamailio send DMQ messages to itself too (because it ip marked as local: 0 I think).</div><div>Is it ok? Is it normal behavior? What should I do to fix it? Should multi_notify and DNS name with 2 A records fix it (and why?)?</div><div><div>-- <br><div dir="ltr" data-smartmail="gmail_signature">Aydar A. Kamalov</div></div></div></div>
__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
  * <a href="mailto:sr-users@lists.kamailio.org" rel="noreferrer noreferrer" target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
Edit mailing list options or unsubscribe:<br>
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>