Hi, Adrian!
That message is generated because the CANCEL message does not have a
Contact header.
The error message is indeed misleading. I will turn this into a debug
message and adjust the message.
Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
On 12/03/2016 10:56 PM, Adrian Fretwell wrote:
Help please I have been stuck on this for days.
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:
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
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.
In the script I have the usual cancel handling:
if (is_method("CANCEL")) {
if (t_check_trans()) {
if (!t_relay()) {
sl_reply_error();
}
}
exit;
}
The packet trace shows the cancel working perfectly, I just can't see
the problem. The Cancel request is shown below:
CANCEL sip:2...@vox1.lantecsip.co.uk:5060 SIP/2.0
Via: SIP/2.0/UDP 92.24.10.16:40518;branch=z9hG4bK3446811728
From: "0xxxxxx60" <sip:x...@vox1.xxxxxx.xx.uk>;tag=1329526351
To: <sip:2...@vox1.xxxxxxx.xx.uk>
Call-ID: 2345909838@192.168.6.42
CSeq: 2 CANCEL
Max-Forwards: 70
User-Agent: Yealink SIP-W52P 25.73.179.4
Content-Length: 0
Kind regards,
Adrian Fretwell
The Old School house
Top Green
Sibthorpe
Nottinghamshire
NG23 5PN.
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users