[asterisk-bugs] [Asterisk 0012006]: [patch] chan_sip fails to set contact, via, and sdp headers correctly with outboundproxy set

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Apr 13 11:28:09 CDT 2009


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12006 
====================================================================== 
Reported By:                mnicholson
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   12006
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 103725 
Request Review:              
====================================================================== 
Date Submitted:             2008-02-15 12:45 CST
Last Modified:              2009-04-13 11:28 CDT
====================================================================== 
Summary:                    [patch] chan_sip fails to set contact, via, and sdp
headers correctly with outboundproxy set
Description: 
Setting outboundproxy in sip.conf causes asterisk to fail to properly set
contact, via, and sdp headers (they get set to 127.0.0.1).  This is because
when outboundproxy is set, we don't fill in the sa struct of the sip_pvt
for that dialog which is used to generate the ourip member of the sip_pvt
struct which is used to generate the contact, via, and sdp headers that are
faulty.  I don't know what the reasoning was for not populating the
sip_pvt.sa member originally, but it breaks stuff.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0014055 "outboundproxy" in "gene...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-13 11:28 svnbot         Assigned To              oej => file         
======================================================================




More information about the asterisk-bugs mailing list