[asterisk-bugs] [Asterisk 0013602]: [patch] Bad handling of Contact header, which should not be present in 1XX responses to REGISTER, but also in several other case

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Feb 6 10:20:32 CST 2009


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13602 
====================================================================== 
Reported By:                hjourdain
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   13602
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.22 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-10-02 07:42 CDT
Last Modified:              2009-02-06 10:20 CST
====================================================================== 
Summary:                    [patch] Bad handling of Contact header, which should
not be present in 1XX responses to REGISTER, but also in several other case
Description: 
When Asterisk sends a response to a UA, the algorithm to include the
Contact header that's use in resprep is flawed.
This leads to sending the contact header in 100 Trying responses to
REGISTER.
But this is also true in many other cases, depending on the type of
response (1xx, 2xx, 3xx 485 or other) and the type of request.
====================================================================== 

---------------------------------------------------------------------- 
 (0099610) svnbot (reporter) - 2009-02-06 10:20
 http://bugs.digium.com/view.php?id=13602#c99610 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 173917

U   branches/1.4/channels/chan_sip.c

------------------------------------------------------------------------
r173917 | mnicholson | 2009-02-06 10:20:31 -0600 (Fri, 06 Feb 2009) | 7
lines

Limit the addition of the Contact header in SIP responses according to
various
SIP RFCs.

(closes issue http://bugs.digium.com/view.php?id=13602)
Reported by: hjourdain
Tested by: mnicholson

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=173917 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-06 10:20 svnbot         Checkin                                      
2009-02-06 10:20 svnbot         Note Added: 0099610                          
2009-02-06 10:20 svnbot         Status                   ready for testing =>
assigned
======================================================================




More information about the asterisk-bugs mailing list