<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi, Adrian!<br>
<br>
That message is generated because the CANCEL message does not have
a Contact header.<br>
The error message is indeed misleading. I will turn this into a
debug message and adjust the message.<br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 12/03/2016 10:56 PM, Adrian Fretwell
wrote:<br>
</div>
<blockquote
cite="mid:da8b6786-ae44-ee93-95f7-a7228fa6ab4a@topgreen.co.uk"
type="cite">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p><font size="-1">Help please I have been stuck on this for days.</font></p>
<p><font size="-1">Opensips v2.2.1 and using topology hiding.
Everything works just fine but if a call gets cancelled I see
the following message in the log:</font></p>
<p><font size="-1">Dec 3 18:41:00 sip-01
/usr/local/opensips-pxy-2.2.1/sbin/opensips[10407]:
ERROR:dialog:dlg_onreq_out: No outgoing contact in the initial
INVITE</font></p>
<p><font size="-1">This error is generated as soon as the cancel
comes in, I don't think it is related to any other messages.
Following the error I see the 487 coming in on the on_reply
route.<br>
</font></p>
<p><font size="-1">In the script I have the usual cancel handling:</font></p>
<p><font size="-1"> if (is_method("CANCEL")) {<br>
if (t_check_trans()) {<br>
if (!t_relay()) {<br>
sl_reply_error();<br>
}<br>
}<br>
exit;<br>
}<br>
</font></p>
<p><font size="-1">The packet trace shows the cancel working
perfectly, I just can't see the problem. The Cancel request
is shown below:</font></p>
<p><font size="-1">CANCEL <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:sip:201@vox1.lantecsip.co.uk:5060">sip:201@vox1.lantecsip.co.uk:5060</a>
SIP/2.0<br>
Via: SIP/2.0/UDP 92.24.10.16:40518;branch=z9hG4bK3446811728<br>
From: "0xxxxxx60" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:xxx@vox1.xxxxxx.xx.uk"><sip:xxx@vox1.xxxxxx.xx.uk></a>;tag=1329526351<br>
To: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:sip:201@vox1.xxxxxxx.xx.uk"><sip:201@vox1.xxxxxxx.xx.uk></a><br>
Call-ID: <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:2345909838@192.168.6.42">2345909838@192.168.6.42</a><br>
CSeq: 2 CANCEL<br>
Max-Forwards: 70<br>
User-Agent: Yealink SIP-W52P 25.73.179.4<br>
Content-Length: 0</font><br>
</p>
<font size="-1"><font face="Verdana">Kind regards,</font></font><br>
<div class="moz-signature"><font size="-1"><font face="Verdana"><br>
Adrian Fretwell<br>
The Old School house<br>
Top Green<br>
Sibthorpe<br>
Nottinghamshire<br>
NG23 5PN.<br>
<br>
</font></font><font size="-1"><font face="Verdana"> </font></font>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>