[asterisk-bugs] [Asterisk 0014978]: 200 OK is not accepted when SIP INFO in early dialog

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jul 22 10:00:55 CDT 2009


The following issue requires your FEEDBACK. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14978 
====================================================================== 
Reported By:                atca_pres
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14978
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.24 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 189664 
Request Review:              
====================================================================== 
Date Submitted:             2009-04-27 10:16 CDT
Last Modified:              2009-07-22 10:00 CDT
====================================================================== 
Summary:                    200 OK is not accepted when SIP INFO in early dialog
Description: 
Scenario :
Extension 6789 calls 1234 
1234 points to aa_3 (IVR) in the context
When aa_3 is playing, 6789 press 1234 (Extension)
* then sends an INVITE to a PSTN Gateway (Mediatrix 3532)
Because of PSTN, the Mediatrix 3532 sends a 183 with SDP to *
6789 now hears an IVR on the PSTN and press 1 and 2 (choices in PSTN IVR)
The two SIP INFO messages are sent to *
The PSTN finally connect and the Mediatrix 3532 sends the 200 OK to the *

Asterisk never answers this 200 OK and the call gets drop.

Attached is the SIP debug + core and verbose 5 (asterisk -Tvvvvvdddddngc |
tee /tmp/verbosedebug.txt) and an ethereal capture (Call ID between
Asterisk and Mediatrix 3532) for easy reading.
====================================================================== 

---------------------------------------------------------------------- 
 (0108078) mmichelson (administrator) - 2009-07-22 10:00
 https://issues.asterisk.org/view.php?id=14978#c108078 
---------------------------------------------------------------------- 
I think that revision 204243 of the 1.4 branch will fix this issue.

Asterisk had a long-standing problem that if it tried to send multiple
requests, Asterisk would "forget" about the earlier requests it sent and
only pay attention to the response(s) received for the latest request sent.
Revision 204243 fixed that problem in Asterisk.

In your case, the problem is that Asterisk would send an INVITE request
and then before receiving a 200 OK would send an INFO request. At this
point, Asterisk, since the INFO was the latest request sent, would ignore
any responses received for the INVITE. Please try revision 204243 and see
if the same behavior occurs. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-22 10:00 mmichelson     Note Added: 0108078                          
2009-07-22 10:00 mmichelson     Status                   acknowledged =>
feedback
======================================================================




More information about the asterisk-bugs mailing list