<div dir="auto">Hi Andrew,<div dir="auto"><br></div><div dir="auto">I said that kamctl thing cos I used it in daily basis (muscle minded) and never saw an empty list if the target hosts are not in trouble. </div><div dir="auto"><br></div><div dir="auto">But there are many moving parts. </div><div dir="auto">For example I use ip addresses for my internal dispatcher configs. </div><div dir="auto"><br></div><div dir="auto">As you described in the last post you are using dns names. </div><div dir="auto"><br></div><div dir="auto">Kamailio had many options (and default options) to tweak and change the dns behavior. </div><div dir="auto"><br></div><div dir="auto">And you described "its in version 5.2.3". </div><div dir="auto">What version did you use before? </div><div dir="auto">5.0.x to 5.1.x had breaking avp changes in that module and renamed the avp to something else (see changlogs). </div><div dir="auto"><br></div><div dir="auto">Maybe some of all this moving parts change. And maybe it's an broken dns resolver or the settings are not optimized for your needs. </div><div dir="auto"><br></div><div dir="auto">As help to see why the dispatcher dump is empty some additional log informations would be a good thing to do. </div><div dir="auto"><br></div><div dir="auto">And the configuration part could be also useful. </div><div dir="auto"><br></div><div dir="auto">I personally not see that described behavior with Kamailio 5.2.3 (on Centos). And the dispatcher module is one of the most popular modules AFAIK.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Andrew Chen <<a href="mailto:achen@fuze.com">achen@fuze.com</a>> schrieb am Fr., 21. Juni 2019, 22:51:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Karsten,<div><br></div><div>I confirmed the dispatcher hosts are up and running and so did my colleague who fired up the destination server himself.  We confirmed it's running when we used 'dig' and 'nslookup' which both returned some IP address.</div><div><br></div><div>I though kamcmd does what kamctl does?  Also, after doing 'kamcmd dispatcher.reload' fixed it again.  I just don't know when this issue will happen again given the issue is so intermittent.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 21, 2019 at 3:42 PM Karsten Horsmann <<a href="mailto:khorsmann@gmail.com" target="_blank" rel="noreferrer">khorsmann@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>Hi Andrew,<div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">I use the older tool kamctl </div><div dir="auto">"kamctl dispatcher dump" with kamailio 5.2.3. </div><div dir="auto">Maybe all destinations are "down"? </div><div dir="auto"><br></div><div dir="auto">Did you raise log messages on event route dispatcher down / up? </div><div dir="auto"><br></div><div dir="auto">Cheers </div><div dir="auto">Karsten </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Andrew Chen <<a href="mailto:achen@fuze.com" target="_blank" rel="noreferrer">achen@fuze.com</a>> schrieb am Fr., 21. Juni 2019, 18:17:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div><p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px">For a few times now I've noticed Kamailio 5.2.3 dispatcher module looses view of setid destination and this system been up and running for 13 days:</p><p style="margin:10px 0px 0px;padding:0px;color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px">root:~# kamcmd dispatcher.list | grep ash.tpgw.service</p><p style="margin:10px 0px 0px;padding:0px;color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px">To work around it, we have to reload the module again:</p><p style="margin:10px 0px 0px;padding:0px;color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px">root:~# kamcmd dispatcher.reload<br>root:~# kamcmd dispatcher.list | grep ash.tpgw.service<br>URI: sip:<some host>:5062<br>URI: sip:<some host>:5060<br>root:~#</p><p style="margin:10px 0px 0px;padding:0px;color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px">Process been running for several days:</p><p style="margin:10px 0px 0px;padding:0px;color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px">root:~# ps -elf | grep kam<br>0 S root 8484 6520 0 80 0 - 3714 pipe_w 16:04 pts/0 00:00:00 grep --color=auto kam<br>5 S kamailio 32086 1 0 80 0 - 214845 pause Jun17 ? 00:00:00 /usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f /etc/kamailio/kamailio.cfg -m 512 -M 64 -u kamailio -g kamailio<br>1 S kamailio 32164 32086 0 80 0 - 233341 skb_wa Jun17 ? 00:00:02 /usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f /etc/kamailio/kamailio.cfg -m 512 -M 64 -u kamailio -g kamailio<br>1 S kamailio 32165 32086 0 80 0 - 233342 skb_wa Jun17 ? 00:00:02 /usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f /etc/kamailio/kamailio.cfg -m 512 -M 64 -u kamailio -g kamailio<br>1 S kamailio 32166 32086 0 80 0 - 233341 skb_wa Jun17 ? 00:00:02 /usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f /etc/kamailio/kamailio.cfg -m 512 -M 64 -u kamailio -g kamailio<br>1 S kamailio 32167 32086 0 80 0 - 233341 skb_wa Jun17 ? 00:00:02 /usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f /etc/kamailio/kamailio.cfg -m 512 -M 64 -u kamailio -g kamailio<br>1 S kamailio 32168 32086 0 80 0 - 214875 skb_wa Jun17 ? 00:00:00 /usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f /etc/kamailio/kamailio.cfg -m 512 -M 64 -u kamailio -g kamailio<br>1 S kamailio 32169 32086 0 80 0 - 214875 skb_wa Jun17 ? 00:00:00 /usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f /etc/kamailio/kamailio.cfg -m 512 -M 64 -u kamailio -g kamailio<br>1 S kamailio 32170 32086 0 80 0 - 214875 skb_wa Jun17 ? 00:00:00 /usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f /etc/kamailio/kamailio.cfg -m 512 -M 64 -u kamailio -g kamailio</p><div><br></div><div>Anyone seen this?</div><div><br></div><div>Thanks</div><div><br></div>-- <br><div dir="ltr" class="m_-5771769591416538082gmail-m_9170434050241840585m_5939790844697376559gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr" style="font-size:12.8px">Andy Chen</div><div dir="ltr" style="font-size:12.8px"><div>Sr. Telephony Lead Engineer</div><div><a href="mailto:achen@thinkingphones.com" style="font-size:12.8px" rel="noreferrer noreferrer" target="_blank">achen@</a><a href="http://fuze.com" style="font-size:12.8px" rel="noreferrer noreferrer" target="_blank">fuze.com</a><br></div><div><br><br></div></div></div></div></div></div></div>

<br>
<span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">*Confidentiality Notice: The information contained in this e-mail and any</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">attachments may be confidential. If you are not an intended recipient, you</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">are hereby notified that any dissemination, distribution or copying of this</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">e-mail is strictly prohibited. If you have received this e-mail in error,</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">please notify the sender and permanently delete the e-mail and any</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">attachments immediately. You should not retain, copy or use this e-mail or</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">any attachment for any purpose, nor disclose all or any part of the</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">contents to any other person. Thank you.*</span>_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" rel="noreferrer noreferrer" target="_blank">sr-users@lists.kamailio.org</a><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></div></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_-5771769591416538082gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr" style="font-size:12.8px">Andy Chen</div><div dir="ltr" style="font-size:12.8px"><div>Sr. Telephony Lead Engineer</div><div>415 516 5535 (M)</div><div><a href="mailto:achen@thinkingphones.com" target="_blank" rel="noreferrer">achen@</a><a href="http://fuze.com" target="_blank" rel="noreferrer">fuze.com</a></div><div><br></div></div></div></div></div></div>

<br>
<span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">*Confidentiality Notice: The information contained in this e-mail and any</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">attachments may be confidential. If you are not an intended recipient, you</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">are hereby notified that any dissemination, distribution or copying of this</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">e-mail is strictly prohibited. If you have received this e-mail in error,</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">please notify the sender and permanently delete the e-mail and any</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">attachments immediately. You should not retain, copy or use this e-mail or</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">any attachment for any purpose, nor disclose all or any part of the</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">contents to any other person. Thank you.*</span>_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>