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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 27 02:17:00 CST 2011


The following issue has been set as RELATED TO issue 0018399. 
====================================================================== 
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:                     acknowledged
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-27 02:17 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.



======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0018399 Call torn down upon connection when ear...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-27 02:17 schmidts       Relationship added       related to 0018399  
======================================================================




More information about the asterisk-bugs mailing list