[asterisk-bugs] [Asterisk 0018632]: missing Contact header in 200 OK to INVITE

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 17 09:09:06 CST 2011


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18632 
====================================================================== 
Reported By:                mammal
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18632
Category:                   Core/General
Reproducibility:            sometimes
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.15 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-01-17 07:26 CST
Last Modified:              2011-01-17 09:09 CST
====================================================================== 
Summary:                    missing Contact header in 200 OK to INVITE
Description: 
Several users of our softphone report a bug, that Asterisk 1.6.x does not
always send Contact: header in response to our INVITE.

The Contact arrives in 100 Trying, but not in 183 Session Progress nor 200
OK.

We suspect is has something to do with 401 Unauthorized response to the
initial INVITE.

If there's no lag and the session goes like INVITE, 401 Unauthorized, ACK,
INVITE, 100 Trying, 183 Session Progress, 200 OK, everything is fine.

However we sometimes introduce a delay during the early stage and the
session starts like this:

> INVITE (CSeq 1)
< 401 Unauthorized (CSeq 1) 
> ACK (CSeq 1)
> INVITE (CSeq 2)
< 401 Unauthorized (CSeq 1)
> ACK (CSeq 1)
< 100 Trying (CSeq 2)   ..... contains Contact:
< 183 Session Progress  .. no Contact:
< 200 OK .. no Contact:

we then report error as our SIP stack is unable to continue.



====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-17 09:09 lmadsen        Description Updated                          
2011-01-17 09:09 lmadsen        Additional Information Updated                  
 
======================================================================




More information about the asterisk-bugs mailing list