<div dir="ltr">Hi Andreas, I found this was happening like every other second. Can you advise what's the best approach to get this fixed?<div><br></div><div><div>May 28 15:00:39 km1 /usr/sbin/kamailio[1206]: ERROR: <core> [udp_server.c:598]: ERROR: udp_send: sendto(sock,0x7fa9bc49b190,541,0,x.x.x.x:5060,16): Invalid argument(22)</div>
<div>May 28 15:00:39 km1 /usr/sbin/kamailio[1206]: ERROR: <core> [forward.h:150]: msg_send: ERROR: udp_send failed</div><div>May 28 15:00:40 km1 /usr/sbin/kamailio[1205]: ERROR: <core> [udp_server.c:598]: ERROR: udp_send: sendto(sock,0x7fa9bc4a37f0,541,0,x.x.x.x:5060,16): Invalid argument(22)</div>
<div>May 28 15:00:40 km1 /usr/sbin/kamailio[1205]: ERROR: <core> [forward.h:150]: msg_send: ERROR: udp_send failed</div><div>May 28 15:00:42 km1 /usr/sbin/kamailio[1204]: ERROR: <core> [udp_server.c:598]: ERROR: udp_send: sendto(sock,0x7fa9bc4a2bb0,543,0,x.x.x.x:5060,16): Invalid argument(22)</div>
<div>May 28 15:00:42 km1 /usr/sbin/kamailio[1204]: ERROR: <core> [forward.h:150]: msg_send: ERROR: udp_send failed</div><div>May 28 15:00:45 km1 /usr/sbin/kamailio[1203]: ERROR: <core> [udp_server.c:598]: ERROR: udp_send: sendto(sock,0x7fa9bc4a46f8,542,0,x.x.x.x:5060,16): Invalid argument(22)</div>
<div>May 28 15:00:45 km1 /usr/sbin/kamailio[1203]: ERROR: <core> [forward.h:150]: msg_send: ERROR: udp_send failed</div><div>May 28 15:00:46 km1 /usr/sbin/kamailio[1197]: ERROR: <core> [udp_server.c:598]: ERROR: udp_send: sendto(sock,0x7fa9bc49b908,542,0,x.x.x.x:5060,16): Invalid argument(22)</div>
<div>May 28 15:00:46 km1 /usr/sbin/kamailio[1197]: ERROR: <core> [forward.h:150]: msg_send: ERROR: udp_send failed</div><div>May 28 15:00:48 km1 /usr/sbin/kamailio[1198]: ERROR: <core> [udp_server.c:598]: ERROR: udp_send: sendto(sock,0x7fa9bc49b1c8,542,0,x.x.x.x:5060,16): Invalid argument(22)</div>
<div>May 28 15:00:48 km1 /usr/sbin/kamailio[1198]: ERROR: <core> [forward.h:150]: msg_send: ERROR: udp_send failed</div><div>May 28 15:00:48 km1 /usr/sbin/kamailio[1200]: ERROR: <core> [udp_server.c:598]: ERROR: udp_send: sendto(sock,0x7fa9bc499e48,541,0,x.x.x.x:5060,16): Invalid argument(22)</div>
<div>May 28 15:00:48 km1 /usr/sbin/kamailio[1200]: ERROR: <core> [forward.h:150]: msg_send: ERROR: udp_send failed</div><div>May 28 15:00:49 km1 /usr/sbin/kamailio[1196]: ERROR: <core> [udp_server.c:598]: ERROR: udp_send: sendto(sock,0x7fa9bc4a38a0,542,0,x.x.x.x:5060,16): Invalid argument(22)</div>
<div>May 28 15:00:49 km1 /usr/sbin/kamailio[1196]: ERROR: <core> [forward.h:150]: msg_send: ERROR: udp_send failed</div><div>May 28 15:00:49 km1 /usr/sbin/kamailio[1206]: ERROR: <core> [udp_server.c:598]: ERROR: udp_send: sendto(sock,0x7fa9bc4a4c58,530,0,x.x.x.x:5060,16): Invalid argument(22)</div>
<div>May 28 15:00:49 km1 /usr/sbin/kamailio[1206]: ERROR: <core> [forward.h:150]: msg_send: ERROR: udp_send failed</div><div>May 28 15:00:49 km1 /usr/sbin/kamailio[1197]: ERROR: <core> [udp_server.c:598]: ERROR: udp_send: sendto(sock,0x7fa9bc49b200,530,0,x.x.x.x:5060,16): Invalid argument(22)</div>
<div>May 28 15:00:49 km1 /usr/sbin/kamailio[1197]: ERROR: <core> [forward.h:150]: msg_send: ERROR: udp_send failed</div><div>May 28 15:00:50 km1 /usr/sbin/kamailio[1196]: ERROR: <core> [udp_server.c:598]: ERROR: udp_send: sendto(sock,0x7fa9bc4a38a0,542,0,x.x.x.x:5060,16): Invalid argument(22)</div>
<div>May 28 15:00:50 km1 /usr/sbin/kamailio[1196]: ERROR: <core> [forward.h:150]: msg_send: ERROR: udp_send failed</div><div>May 28 15:00:50 km1 /usr/sbin/kamailio[1203]: ERROR: <core> [udp_server.c:598]: ERROR: udp_send: sendto(sock,0x7fa9bc4a46f8,530,0,x.x.x.x:5060,16): Invalid argument(22)</div>
<div>May 28 15:00:50 km1 /usr/sbin/kamailio[1203]: ERROR: <core> [forward.h:150]: msg_send: ERROR: udp_send failed</div><div>May 28 15:00:52 km1 /usr/sbin/kamailio[1205]: ERROR: <core> [udp_server.c:598]: ERROR: udp_send: sendto(sock,0x7fa9bc4a37f0,542,0,x.x.x.x:5060,16): Invalid argument(22)</div>
<div>May 28 15:00:52 km1 /usr/sbin/kamailio[1205]: ERROR: <core> [forward.h:150]: msg_send: ERROR: udp_send failed</div><div>May 28 15:00:52 km1 /usr/sbin/kamailio[1203]: ERROR: <core> [udp_server.c:598]: ERROR: udp_send: sendto(sock,0x7fa9bc4a46f8,542,0,x.x.x.x:5060,16): Invalid argument(22)</div>
<div>May 28 15:00:52 km1 /usr/sbin/kamailio[1203]: ERROR: <core> [forward.h:150]: msg_send: ERROR: udp_send failed</div><div>May 28 15:00:52 km1 /usr/sbin/kamailio[1196]: ERROR: <core> [udp_server.c:598]: ERROR: udp_send: sendto(sock,0x7fa9bc4a38a0,530,0,x.x.x.x:5060,16): Invalid argument(22)</div>
<div>May 28 15:00:52 km1 /usr/sbin/kamailio[1196]: ERROR: <core> [forward.h:150]: msg_send: ERROR: udp_send failed</div><div>May 28 15:00:53 km1 /usr/sbin/kamailio[1200]: ERROR: <core> [udp_server.c:598]: ERROR: udp_send: sendto(sock,0x7fa9bc499e48,542,0,x.x.x.x:5060,16): Invalid argument(22)</div>
<div>May 28 15:00:53 km1 /usr/sbin/kamailio[1200]: ERROR: <core> [forward.h:150]: msg_send: ERROR: udp_send failed</div><div>May 28 15:00:54 km1 /usr/sbin/kamailio[1197]: ERROR: <core> [udp_server.c:598]: ERROR: udp_send: sendto(sock,0x7fa9bc49b200,542,0,x.x.x.x:5060,16): Invalid argument(22)</div>
<div>May 28 15:00:54 km1 /usr/sbin/kamailio[1197]: ERROR: <core> [forward.h:150]: msg_send: ERROR: udp_send failed</div><div>May 28 15:00:56 km1 /usr/sbin/kamailio[1206]: ERROR: <core> [udp_server.c:598]: ERROR: udp_send: sendto(sock,0x7fa9bc4a4c58,542,0,x.x.x.x:5060,16): Invalid argument(22)</div>
<div>May 28 15:00:56 km1 /usr/sbin/kamailio[1206]: ERROR: <core> [forward.h:150]: msg_send: ERROR: udp_send failed</div><div>May 28 15:00:56 km1 /usr/sbin/kamailio[1205]: ERROR: <core> [udp_server.c:598]: ERROR: udp_send: sendto(sock,0x7fa9bc4a37f0,530,0,x.x.x.x:5060,16): Invalid argument(22)</div>
<div>May 28 15:00:56 km1 /usr/sbin/kamailio[1205]: ERROR: <core> [forward.h:150]: msg_send: ERROR: udp_send failed</div><div>May 28 15:00:56 km1 /usr/sbin/kamailio[1203]: ERROR: <core> [udp_server.c:598]: ERROR: udp_send: sendto(sock,0x7fa9bc4a46f8,542,0,x.x.x.x:5060,16): Invalid argument(22)</div>
<div>May 28 15:00:56 km1 /usr/sbin/kamailio[1203]: ERROR: <core> [forward.h:150]: msg_send: ERROR: udp_send failed</div></div><div><br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, May 27, 2013 at 10:06 PM, Martin Wong <span dir="ltr"><<a href="mailto:martin.wong@binaryelements.com.au" target="_blank">martin.wong@binaryelements.com.au</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">Hi Andreas,<div><br></div><div>There's a bunch of cancels. x.x.x.x is the server, y.y.y.y is the customer's end point. Considering the client is heavily dialing using a dialer, would it be that their dialer just cancels the call and thus this happens?<br>
<div><br></div><div><div><div><br></div><div>Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bK3157.d92fab36627cede32140a90bd0fc1238.0'</div><div>Via: SIP/2.0/UDP y.y.y.y:5060;branch=z9hG4bK36a3fe2c;rport=50082'</div><div>
From: "V5272059500003416956" <sip:12345678@x.x.x.x>;tag=as7fb67835'</div><div>To: <sip:09876545@x.x.x.x;cpd=on>'</div><div>Call-ID: 61d8718122bb9c0416e1cf1a32b853ea@x.x.x.x'</div><div>CSeq: 103 CANCEL'</div>
<div>P-Out-Socket: udp:x.x.x.x:5060'</div><div>Server: Sipwise NGCP Proxy 2.X'</div><div>Content-Length: 0'</div><div>'</div><div><br></div><div>#</div><div>U 2013/05/27 21:00:17.670222 x.x.x.x:5060 -> y.y.y.y:50082</div>
<div>SIP/2.0 100 Trying'</div><div>Via: SIP/2.0/UDP y.y.y.y:5060;branch=z9hG4bK36a3fe2c;rport=50082'</div><div>From: "V5272059500003416956" <sip:<a href="tel:61399995981" value="+61399995981" target="_blank">61399995981</a>@x.x.x.x>;tag=as7fb67835'</div>
<div>To: <sip:<a href="tel:0438946307" value="+61438946307" target="_blank">0438946307</a>@x.x.x.x;cpd=on>'</div>
<div>Call-ID: 61d8718122bb9c0416e1cf1a32b853ea@x.x.x.x'</div><div>CSeq: 103 CANCEL'</div><div>Server: Sipwise NGCP Proxy 2.X'</div><div>Content-Length: 0'</div><div>'</div><div><br></div><div>#</div><div>
U 2013/05/27 21:00:17.671047 <a href="http://127.0.0.1:5062" target="_blank">127.0.0.1:5062</a> -> <a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a></div><div>SIP/2.0 200 canceling'</div><div>Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=as7fb67835;nat=yes;ngcplb=yes>'</div>
<div>Record-Route: <sip:x.x.x.x;r2=on;lr=on;ftag=as7fb67835;nat=yes;ngcplb=yes>'</div><div>Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bK3157.d92fab36627cede32140a90bd0fc1238.0'</div><div>Via: SIP/2.0/UDP y.y.y.y:5060;branch=z9hG4bK36a3fe2c;rport=50082'</div>
<div>From: "V5272059500003416956" <sip:12345678@x.x.x.x>;tag=as7fb67835'</div><div>To: <sip:09877651@x.x.x.x;cpd=on>;tag=f3067022b00c564156251ba2f28f331f-6d01'</div><div>Call-ID: 61d8718122bb9c0416e1cf1a32b853ea@x.x.x.x'</div>
<div>CSeq: 103 CANCEL'</div><div>P-Out-Socket: udp:x.x.x.x:5060'</div><div>Server: Sipwise NGCP Proxy 2.X'</div><div>Content-Length: 0'</div><div>'</div><div><br></div><div>#</div><div>U 2013/05/27 21:00:17.671133 x.x.x.x:5060 -> y.y.y.y:50082</div>
<div>SIP/2.0 200 canceling'</div><div>Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=as7fb67835;nat=yes;ngcplb=yes>'</div><div>Record-Route: <sip:x.x.x.x;r2=on;lr=on;ftag=as7fb67835;nat=yes;ngcplb=yes>'</div>
<div>Via: SIP/2.0/UDP y.y.y.y:5060;branch=z9hG4bK36a3fe2c;rport=50082'</div><div>From: "V5272059500003416956" <sip:1234567@x.x.x.x>;tag=as7fb67835'</div><div>To: <sip:0987654@x.x.x.x;cpd=on>;tag=f3067022b00c564156251ba2f28f331f-6d01'</div>
<div>Call-ID: 61d8718122bb9c0416e1cf1a32b853ea@x.x.x.x'</div><div>CSeq: 103 CANCEL'</div><div>Server: Sipwise NGCP Proxy 2.X'</div><div>Content-Length: 0'</div><div>'</div></div></div><div><br></div></div>
<div><div class="h5">
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 27, 2013 at 6:36 PM, Andreas Granig <span dir="ltr"><<a href="mailto:agranig@sipwise.com" target="_blank">agranig@sipwise.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br>
<br>
On 05/27/2013 10:01 AM, Martin Wong wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
May 27 17:59:11 km1 /usr/sbin/kamailio[1209]: ERROR: <core><br>
[udp_server.c:598]: ERROR: udp_send:<br>
sendto(sock,0x7fddf58908f0,<u></u>538,0,<a href="http://203.43.213.13:5060" target="_blank">203.43.213.13:5060</a><br></div>
<<a href="http://203.43.213.13:5060" target="_blank">http://203.43.213.13:5060</a>>,<u></u>16): Invalid argument(22)<div><br>
May 27 17:59:11 km1 /usr/sbin/kamailio[1209]: : <core><br>
[udp_server.c:603]: CRITICAL: invalid sendtoparameters#012one possible<br>
reason is the server is bound to localhost and#012attempts to send to<br>
the net<br>
May 27 17:59:11 km1 /usr/sbin/kamailio[1209]: ERROR: <core><br>
[forward.h:150]: msg_send: ERROR: udp_send failed<br>
</div></blockquote>
<br>
You might want to attach an "ngrep-sip" output of such a call and provide the lines logged before this errors.<br>
<br>
Andreas<br>
<br>
______________________________<u></u>_________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
<a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/<u></u>listinfo/spce-user</a><br>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div>