<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi all, especially the Kamailio experts,<br>
</p>
<p>I analyzed it a little bit more, but the error is not from the
VIA with local IP, but from the ACK request with local IP. So
clearly not following SIP standards. Is there an easy way to fix
this? I was thinking of adding this code in the sanity part of the
load balancer:</p>
<p> if (uri=~<a class="moz-txt-link-rfc2396E" href="sip:.+@192\.168\..*">"sip:.+@192\.168\..*"</a>)<br>
{<br>
xlog("L_INFO", "malformed request with local IP\n");<br>
rewritehost ("$Ri");<br>
}</p>
Is this the right way to go or is it better to drop these kind of
messages?<br>
<br>
Regards,<br>
<br>
Henk Plessius<br>
VoipDigit<br>
<br>
<div class="moz-cite-prefix">On 3-2-2018 11:42, Henk wrote:<br>
</div>
<blockquote type="cite"
cite="mid:0a6c95a2-2b54-3629-9ef0-7f0d5bba35e7@voipdigit.nl">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<p>I'm on SPCE 5.5.2 and see critical errors in the (anonymized)
proxy log: </p>
<div class="moz-forward-container">
<p><font size="-2">Feb 3 01:09:28 spce proxy[3409]: NOTICE:
<script>: New request on proxy - M=ACK R=<a
class="moz-txt-link-freetext"
href="sip:ngcp-lb@192.168.1.50:5160;ngcpct=736970xxxxx"
moz-do-not-send="true">sip:ngcp-lb@192.168.1.50:5160;ngcpct=736970xxxxx</a>
F=<a class="moz-txt-link-freetext"
href="sip:nnnnnnnnnn@spce.vdx.nl:5160"
moz-do-not-send="true">sip:nnnnnnnnnn@spce.vdx.nl:5160</a>
T=<a class="moz-txt-link-freetext"
href="sip:nnnnnnnnnn@spce.vdx.nl" moz-do-not-send="true">sip:nnnnnnnnnn@spce.vdx.nl</a>
IP=n.n.n.n:5160 (127.0.0.1:5060) <a
class="moz-txt-link-abbreviated"
href="mailto:ID=4a8b73466811fda022da8fdb3fdc5206@spce.vdx.nl"
moz-do-not-send="true">ID=4a8b73466811fda022da8fdb3fdc5206@spce.vdx.nl</a>
UA='FPBX-14.0.1.20(13.18.3)'<br>
Feb 3 01:09:28 spce proxy[3409]: ERROR: <core>
[udp_server.c:548]: udp_send():
sendto(sock,0x7f3abc665438,1117,0,192.168.1.50:5160,16):
Invalid argument(22)<br>
Feb 3 01:09:28 spce proxy[3409]: CRITICAL: <core>
[udp_server.c:553]: udp_send(): invalid
sendtoparameters#012one possible reason is the server is
bound to localhost and#012attempts to send to the net<br>
Feb 3 01:09:28 spce proxy[3409]: ERROR: <core>
[forward.h:201]: msg_send_buffer(): udp_send failed<br>
Feb 3 01:09:28 spce proxy[3409]: ERROR: sl
[sl_funcs.c:363]: sl_reply_error(): ERROR: sl_reply_error
used: Unfortunately error on sending to next hop occurred
(477/SL)<br>
Feb 3 01:09:28 spce proxy[3409]: NOTICE: <script>:
[dialog:failed] decreased redis counters lua_dlg_callid:[<a
class="moz-txt-link-abbreviated"
href="mailto:4a8b73466811fda022da8fdb3fdc5206@spce.vdx.nl"
moz-do-not-send="true">4a8b73466811fda022da8fdb3fdc5206@spce.vdx.nl</a>]
- R=<a class="moz-txt-link-freetext"
href="sip:ngcp-lb@192.168.1.50:5160;ngcpct=736970xxxxxxxx"
moz-do-not-send="true">sip:ngcp-lb@192.168.1.50:5160;ngcpct=736970xxxxxxxx</a>
<a class="moz-txt-link-abbreviated"
href="mailto:ID=4a8b73466811fda022da8fdb3fdc5206@spce.vdx.nl"
moz-do-not-send="true">ID=4a8b73466811fda022da8fdb3fdc5206@spce.vdx.nl</a>
UA='FPBX-14.0.1.20(13.18.3)'</font><br>
</p>
<p>The source of the problem seems to be, that the client sends
a CANCEL with a VIA header containing a local address: <br>
</p>
<p><font size="-1">Via: SIP/2.0/UDP
192.168.1.50:5160;branch=z9hG4bK639a0a76;rport</font></p>
<p>As a result, the call is not canceled on the provider side,
but billing stops!</p>
<p>Hope someone can help me,</p>
<p>Henk Plessius<br>
</p>
</div>
</blockquote>
<br>
</body>
</html>