[OpenSIPS-Users] ERROR:dialog:dlg_onreq_out: No outgoing contact in the initial INVITE

Adrian Fretwell adrian.fretwell at topgreen.co.uk
Sat Dec 3 21:56:04 CET 2016

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 
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()) {

The packet trace shows the cancel working perfectly, I just can't see 
the problem.  The Cancel request is shown below:

CANCEL sip:201 at vox1.lantecsip.co.uk:5060 SIP/2.0
Via: SIP/2.0/UDP;branch=z9hG4bK3446811728
From: "0xxxxxx60" <sip:xxx at vox1.xxxxxx.xx.uk>;tag=1329526351
To: <sip:201 at vox1.xxxxxxx.xx.uk>
Call-ID: 2345909838 at
Max-Forwards: 70
User-Agent: Yealink SIP-W52P
Content-Length: 0

Kind regards,

Adrian Fretwell
The Old School house
Top Green
NG23 5PN.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20161203/035057ee/attachment.htm>

More information about the Users mailing list