[SR-Users] invalid sendtoparameters

Linux Vince linuxv at gmail.com
Tue Sep 27 14:39:55 CEST 2016


I have commented UDP listeners on 127.0.0.1 and kept only open on 10.3.4.1

listen=udp:10.3.4.1:5060
listen=tcp:10.3.4.1:5060
#listen=udp:127.0.0.1:5060
l#isten=tcp:127.0.0.1:5060

Error goes away and it successfully sent packet to network.

However, after that i added mhomed = 1 in config and uncommented 127.0.0.1
listeners and error came back.

Is there any way to listen on both IPs and make it work ?

I need 127.0.0.1 for monitoring purpose.

On Tue, Sep 27, 2016 at 5:02 PM, Linux Vince <linuxv at gmail.com> wrote:

> I am getting this error on every outgoing request.
>
> Below are log entries i found
>
> Sep 27 22:09:06 centos1 /usr/sbin/kamailio[22421]: ERROR: <core>
> [udp_server.c:550]: udp_send(): sendto(sock,0x7fb76f5da5e0,1568,0,
> 10.3.4.2:5060,16): Invalid argument(22)
> 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
> Sep 27 22:09:06 centos1 /usr/sbin/kamailio[22421]: ERROR: <core>
> [forward.h:201]: msg_send_buffer(): udp_send failed
>
> SNDTO values are
>
> SNDTO ,10.3.4.2 PORT 5060
>
> I have confirmed the PID and it is bound to my public IP
>
> 22417   main process - attendant
> 22418   udp receiver child=0 sock=10.3.4.1:5060
> 22419   udp receiver child=1 sock=10.3.4.1:5060
> 22420   udp receiver child=2 sock=10.3.4.1:5060
> 22421   udp receiver child=3 sock=10.3.4.1:5060
> 22422   udp receiver child=4 sock=10.3.4.1:5060
> 22423   udp receiver child=5 sock=10.3.4.1:5060
> 22424   udp receiver child=6 sock=10.3.4.1:5060
> 22425   udp receiver child=7 sock=10.3.4.1:5060
> 22426   udp receiver child=0 sock=127.0.0.1:5060
> 22427   udp receiver child=1 sock=127.0.0.1:5060
> 22428   udp receiver child=2 sock=127.0.0.1:5060
> 22429   udp receiver child=3 sock=127.0.0.1:5060
> 22430   udp receiver child=4 sock=127.0.0.1:5060
> 22431   udp receiver child=5 sock=127.0.0.1:5060
> 22432   udp receiver child=6 sock=127.0.0.1:5060
> 22433   udp receiver child=7 sock=127.0.0.1:5060
> 22434   slow timer
> 22435   timer
> 22436   secondary timer
> 22437   ctl handler
> 22438   MI FIFO
> 22439   WEBSOCKET KEEPALIVE
> 22440   tcp receiver (generic) child=0
> 22441   tcp receiver (generic) child=1
> 22442   tcp receiver (generic) child=2
> 22443   tcp receiver (generic) child=3
> 22444   tcp receiver (generic) child=4
> 22445   tcp receiver (generic) child=5
> 22446   tcp receiver (generic) child=6
> 22447   tcp receiver (generic) child=7
> 22448   tcp main process
>
> How do i identify the issue ?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160927/59b4f544/attachment.html>


More information about the sr-users mailing list