<div dir="ltr">I have commented UDP listeners on 127.0.0.1 and kept only open on 10.3.4.1<div><br></div><div><div>listen=udp:<a href="http://10.3.4.1:5060">10.3.4.1:5060</a></div><div>listen=tcp:<a href="http://10.3.4.1:5060">10.3.4.1:5060</a></div><div>#listen=udp:<a href="http://127.0.0.1:5060">127.0.0.1:5060</a></div><div>l#isten=tcp:<a href="http://127.0.0.1:5060">127.0.0.1:5060</a></div></div><div><br></div><div>Error goes away and it successfully sent packet to network.</div><div><br></div><div>However, after that i added mhomed = 1 in config and uncommented 127.0.0.1 listeners and error came back.</div><div><br></div><div>Is there any way to listen on both IPs and make it work ? </div><div><br></div><div>I need 127.0.0.1 for monitoring purpose.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 27, 2016 at 5:02 PM, Linux Vince <span dir="ltr"><<a href="mailto:linuxv@gmail.com" target="_blank">linuxv@gmail.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="ltr">I am getting this error on every outgoing request. <div><br></div><div>Below are log entries i found</div><div><br></div><div><div>Sep 27 22:09:06 centos1 /usr/sbin/kamailio[22421]: ERROR: <core> [udp_server.c:550]: udp_send(): sendto(sock,0x7fb76f5da5e0,<wbr>1568,0,<a href="http://10.3.4.2:5060" target="_blank">10.3.4.2:5060</a>,16): Invalid argument(22)</div><div>Sep 27 22:09:06 centos1 /usr/sbin/kamailio[22421]: CRITICAL: <core> [udp_server.c:555]: udp_send(): invalid sendtoparameters#012one possible reason is the server is bound to localhost and#012attempts to send to the net</div><div>Sep 27 22:09:06 centos1 /usr/sbin/kamailio[22421]: ERROR: <core> [forward.h:201]: msg_send_buffer(): udp_send failed</div></div><div><br></div><div>SNDTO values are</div><div><br></div><div>SNDTO ,10.3.4.2 PORT 5060<br></div><div><br></div><div>I have confirmed the PID and it is bound to my public IP</div><div><br></div><div><div>22417   main process - attendant</div><div>22418   udp receiver child=0 sock=<a href="http://10.3.4.1:5060" target="_blank">10.3.4.1:5060</a></div><div>22419   udp receiver child=1 sock=<a href="http://10.3.4.1:5060" target="_blank">10.3.4.1:5060</a></div><div>22420   udp receiver child=2 sock=<a href="http://10.3.4.1:5060" target="_blank">10.3.4.1:5060</a></div><div>22421   udp receiver child=3 sock=<a href="http://10.3.4.1:5060" target="_blank">10.3.4.1:5060</a></div><div>22422   udp receiver child=4 sock=<a href="http://10.3.4.1:5060" target="_blank">10.3.4.1:5060</a></div><div>22423   udp receiver child=5 sock=<a href="http://10.3.4.1:5060" target="_blank">10.3.4.1:5060</a></div><div>22424   udp receiver child=6 sock=<a href="http://10.3.4.1:5060" target="_blank">10.3.4.1:5060</a></div><div>22425   udp receiver child=7 sock=<a href="http://10.3.4.1:5060" target="_blank">10.3.4.1:5060</a></div><div>22426   udp receiver child=0 sock=<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a></div><div>22427   udp receiver child=1 sock=<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a></div><div>22428   udp receiver child=2 sock=<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a></div><div>22429   udp receiver child=3 sock=<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a></div><div>22430   udp receiver child=4 sock=<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a></div><div>22431   udp receiver child=5 sock=<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a></div><div>22432   udp receiver child=6 sock=<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a></div><div>22433   udp receiver child=7 sock=<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a></div><div>22434   slow timer</div><div>22435   timer</div><div>22436   secondary timer</div><div>22437   ctl handler</div><div>22438   MI FIFO</div><div>22439   WEBSOCKET KEEPALIVE</div><div>22440   tcp receiver (generic) child=0</div><div>22441   tcp receiver (generic) child=1</div><div>22442   tcp receiver (generic) child=2</div><div>22443   tcp receiver (generic) child=3</div><div>22444   tcp receiver (generic) child=4</div><div>22445   tcp receiver (generic) child=5</div><div>22446   tcp receiver (generic) child=6</div><div>22447   tcp receiver (generic) child=7</div><div>22448   tcp main process</div></div><div><br></div><div>How do i identify the issue ?</div></div>
</blockquote></div><br></div>