[OpenSIPS-Users] Dialog Cancel Error

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Feb 14 09:30:27 CET 2013


Hi Seth,

Error is trigger by the "SIP/2.0 487 transaction terminated " reply for 
the INVITE, as it is missing the "tag" param for the TO hdr - a negative 
final reply has to had such param (as per SIP RFC3261).

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 02/13/2013 11:38 PM, Seth Schultz wrote:
> Hello,
>
> I am seeing the following error message 
> "ERROR:dialog:push_reply_in_dialog: missing TAG param in TO hdr :-/".  
> It appears to occur directly after a CANCEL request (between a 100 
> Trying and 180/183 reply).  Think of it as someone dialing a number 
> and then hanging up before the call has a chance to really start.  Is 
> there a way to suppress this error if the transaction has been cancelled?
>
> Please review the SIP trace below as an example of where this error 
> occurred.
>
> Thanks,
> Seth
>
> U 2013/02/13 16:20:21.608531 zzz.zzz.zzz.zzz:5060 -> xxx.xxx.xxx.xxx:5060
> INVITE sip:1yyyyyyyyyy at xxx.xxx.xxx.xxx SIP/2.0
> Via: SIP/2.0/UDP zzz.zzz.zzz.zzz;rport;branch=z9hG4bKFv0m55NjDFS7j
> Max-Forwards: 65
> From: "WIRELESS CALLER" 
> <sip:1xxxxxxxxxx at xxx.xxx.xxx.xxx>;tag=6r3cQvNtK6v3p
> To: <sip:1yyyyyyyyyy at xxx.xxx.xxx.xxx>
> Call-ID: 03e00b4f-f0c6-1230-309c-4517f3b07a60
> CSeq: 40059146 INVITE
> Contact: <sip:gw+opensips at zzz.zzz.zzz.zzz:5060;transport=udp;gw=opensips>
> User-Agent: FS2
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, 
> REGISTER, REFER, NOTIFY
> Supported: timer, precondition, path, replaces
> Allow-Events: talk, hold, refer
> Content-Type: application/sdp
> Content-Disposition: session
> Content-Length: 229
> P-Call-Type: IVR
> X-FS-Support: update_display,send_info
> Remote-Party-ID: "WIRELESS CALLER" 
> <sip:1xxxxxxxxxx at xxx.xxx.xxx.xxx>;party=calling;screen=yes;privacy=off
>
> v=0
> o=FreeSWITCH 1360772107 1360772108 IN IP4 zzz.zzz.zzz.zzz
> s=FreeSWITCH
> c=IN IP4 zzz.zzz.zzz.zzz
> t=0 0
> m=audio 18314 RTP/AVP 0 8 3 101
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-16
> a=silenceSupp:off - - - -
> a=ptime:20
>
> U 2013/02/13 16:20:21.618110 xxx.xxx.xxx.xxx:5060 -> yyy.yyy.yyy.yyy:5060
> INVITE sip:1yyyyyyyyyy at yyy.yyy.yyy.yyy SIP/2.0
> Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK76f4.82fffb97.0
> Max-Forwards: 65
> From: "WIRELESS CALLER" 
> <sip:1xxxxxxxxxx at xxx.xxx.xxx.xxx>;tag=6r3cQvNtK6v3p
> To: <sip:1yyyyyyyyyy at xxx.xxx.xxx.xxx>
> Call-ID: 03e00b4f-f0c6-1230-309c-4517f3b07a60
> CSeq: 40059146 INVITE
> Contact: <sip:xxx.xxx.xxx.xxx;did=f852.0368f301>
> User-Agent: FS2
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, 
> REGISTER, REFER, NOTIFY
> Supported: timer, precondition, path, replaces
> Allow-Events: talk, hold, refer
> Content-Type: application/sdp
> Content-Disposition: session
> Content-Length: 247
> P-Call-Type: IVR
> X-FS-Support: update_display,send_info
> Remote-Party-ID: "WIRELESS CALLER" 
> <sip:1xxxxxxxxxx at xxx.xxx.xxx.xxx>;party=calling;screen=yes;privacy=off
>
> v=0
> o=FreeSWITCH 1360772107 1360772108 IN IP4 8.34.49.247
> s=FreeSWITCH
> c=IN IP4 8.34.49.247
> t=0 0
> m=audio 48074 RTP/AVP 0 8 3 101
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-16
> a=silenceSupp:off - - - -
> a=ptime:20
> a=schipmangled:yes
>
> U 2013/02/13 16:20:21.655294 yyy.yyy.yyy.yyy:5060 -> xxx.xxx.xxx.xxx:5060
> SIP/2.0 100 Trying
> Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK76f4.82fffb97.0
> To: <sip:1yyyyyyyyyy at xxx.xxx.xxx.xxx>
> From: "WIRELESS CALLER" 
> <sip:1xxxxxxxxxx at xxx.xxx.xxx.xxx>;tag=6r3cQvNtK6v3p
> Call-ID: 03e00b4f-f0c6-1230-309c-4517f3b07a60
> CSeq: 40059146 INVITE
> Content-Length: 0
>
>
> U 2013/02/13 16:20:22.119555 xxx.xxx.xxx.xxx:5060 -> yyy.yyy.yyy.yyy:5060
> CANCEL sip:1yyyyyyyyyy at yyy.yyy.yyy.yyy SIP/2.0
> Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK76f4.82fffb97.0
> From: "WIRELESS CALLER" 
> <sip:1xxxxxxxxxx at xxx.xxx.xxx.xxx>;tag=6r3cQvNtK6v3p
> Call-ID: 03e00b4f-f0c6-1230-309c-4517f3b07a60
> To: <sip:1yyyyyyyyyy at xxx.xxx.xxx.xxx>
> CSeq: 40059146 CANCEL
> Max-Forwards: 70
> Reason: SIP;cause=487;text="ORIGINATOR_CANCEL"
> User-Agent: OpenSIPS (1.9.0-rc-notls (x86_64/linux))
> Content-Length: 0
>
>
> U 2013/02/13 16:20:22.155055 yyy.yyy.yyy.yyy:5060 -> xxx.xxx.xxx.xxx:5060
> SIP/2.0 487 transaction terminated
> Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK76f4.82fffb97.0
> To: <sip:1yyyyyyyyyy at xxx.xxx.xxx.xxx>
> From: "WIRELESS CALLER" 
> <sip:1xxxxxxxxxx at xxx.xxx.xxx.xxx>;tag=6r3cQvNtK6v3p
> Call-ID: 03e00b4f-f0c6-1230-309c-4517f3b07a60
> CSeq: 40059146 INVITE
> Content-Length: 0
>
> ***** "ERROR:dialog:push_reply_in_dialog: missing TAG param in TO hdr 
> :-/" *****
>
> U 2013/02/13 16:20:22.159122 xxx.xxx.xxx.xxx:5060 -> zzz.zzz.zzz.zzz:5060
> SIP/2.0 487 transaction terminated
> Via: SIP/2.0/UDP zzz.zzz.zzz.zzz;rport;branch=z9hG4bKFv0m55NjDFS7j
> To: <sip:1yyyyyyyyyy at xxx.xxx.xxx.xxx>
> From: "WIRELESS CALLER" 
> <sip:1xxxxxxxxxx at xxx.xxx.xxx.xxx>;tag=6r3cQvNtK6v3p
> Call-ID: 03e00b4f-f0c6-1230-309c-4517f3b07a60
> CSeq: 40059146 INVITE
> Content-Length: 0
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



More information about the Users mailing list