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

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Jan 23 16:42:26 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
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:                       SWP-2915 
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-23 16:42 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.



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

---------------------------------------------------------------------- 
 (0130903) mammal (reporter) - 2011-01-23 16:42
 https://issues.asterisk.org/view.php?id=18632#c130903 
---------------------------------------------------------------------- 
I added a full asterisk trace as well. Please note that listening port has
changed and also we now accept Contact-less 200 OK, so the
'missing_contact.pcap' and 'full' are not from the same client/server. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-23 16:42 mammal         Note Added: 0130903                          
======================================================================




More information about the asterisk-bugs mailing list