[asterisk-bugs] [Asterisk 0013381]: Wrong branch on CANCEL after SIP INFO in early dialog
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Sep 9 14:06:09 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=13381
======================================================================
Reported By: atca_pres
Assigned To: putnopvut
======================================================================
Project: Asterisk
Issue ID: 13381
Category: Channels/chan_sip/General
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!): 140115
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-08-27 07:13 CDT
Last Modified: 2008-09-09 14:06 CDT
======================================================================
Summary: Wrong branch on CANCEL after SIP INFO in early
dialog
Description:
Scenario :
A Calls Asterisk IVR
IVR answers
A enters B's ext
A pushes a DTMF while B is ringing
A hangs up
in SIP :
A INVITES Asterisk
Asterisk 200OK (IVR)
Asterisk INVITES B
B sends 180 Ringing
A sends SIP INFO
Asterisk sends SIP INFO to B
A BYEs Asterisk
Asterisk sends CANCEL with wrong branch
The UA cannot match the INVITE to the CANCEL because the CANCEL does not
have the same branch (via header) that the INVITE had.
B only ack the CANCEL without sending the required 487 to cancel the
INVITE. B Stays ringing forever. (Granted, answering a 481 to the CANCEL
might be the thing to do, but it's only a SHOULD in the RFC)
Attached is the SIP debug + core and verbose 5 (asterisk -Tvvvvvdddddngc |
tee /tmp/verbosedebug.txt) and an ethereal capture for easier reading.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0013198 Asterisk sends a [slightly] different b...
related to 0013440 No TO tag after SIP INFO in early dialog
======================================================================
----------------------------------------------------------------------
(0092272) svnbot (reporter) - 2008-09-09 14:06
http://bugs.digium.com/view.php?id=13381#c92272
----------------------------------------------------------------------
Repository: asterisk
Revision: 142218
U branches/1.4/channels/chan_sip.c
------------------------------------------------------------------------
r142218 | mmichelson | 2008-09-09 14:06:08 -0500 (Tue, 09 Sep 2008) | 14
lines
Make sure that the branch sent in CANCEL requests
matches the branch of the INVITE it is cancelling.
(closes issue http://bugs.digium.com/view.php?id=13381)
Reported by: atca_pres
Patches:
13381v2.patch uploaded by putnopvut (license 60)
Tested by: atca_pres
(closes issue http://bugs.digium.com/view.php?id=13198)
Reported by: rickead2000
Tested by: rickead2000
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=142218
Issue History
Date Modified Username Field Change
======================================================================
2008-09-09 14:06 svnbot Checkin
2008-09-09 14:06 svnbot Note Added: 0092272
======================================================================
More information about the asterisk-bugs
mailing list