[asterisk-bugs] [Asterisk 0010113]: Record-Route fields are not copied when the response is 18x

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Oct 22 11:14:28 CDT 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10113 
====================================================================== 
Reported By:                makoto
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   10113
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:            1.2.18  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             07-03-2007 23:47 CDT
Last Modified:              10-22-2007 11:14 CDT
====================================================================== 
Summary:                    Record-Route fields are not copied when the response
is 18x
Description: 
In respprep function of chan_sip.c, Record-Route fields are copied
from the request to the response header when the response is 2xx.
But according to RFC 3261 (Table 3: Summary of header fields, P--Z),
Record-Route fields should be also copied when the response is 18x
and should not be copied when the request is REGISTER.

Header field              where       proxy ACK BYE CAN INV OPT REG
Record-Route                R          ar    o   o   o   o   o   -
Record-Route             2xx,18x       mr    -   o   o   o   o   -


One of our partner said that there was a SIP server which this problem
affected.

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

---------------------------------------------------------------------- 
 svnbot - 10-22-07 11:14  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 86756

U   branches/1.4/channels/chan_sip.c

------------------------------------------------------------------------
r86756 | file | 2007-10-22 11:14:27 -0500 (Mon, 22 Oct 2007) | 4 lines

After reading online I have confirmed that Record-Route headers should be
copied to 1xx responses as well.
(closes issue http://bugs.digium.com/view.php?id=10113)
Reported by: makoto

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-22-07 11:14  svnbot         Checkin                                      
10-22-07 11:14  svnbot         Note Added: 0072363                          
10-22-07 11:14  svnbot         Assigned To              oej => file         
======================================================================




More information about the asterisk-bugs mailing list