[asterisk-bugs] [Asterisk 0015016]: [patch] Patch that makes chan_sip check if the forward domain is itself on a 302 response

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Oct 1 09:23:36 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15016 
====================================================================== 
Reported By:                _brent_
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   15016
Category:                   Channels/chan_sip/General
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Target Version:             1.6.x Version Tracker
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-05-01 16:11 CDT
Last Modified:              2009-10-01 09:23 CDT
====================================================================== 
Summary:                    [patch] Patch that makes chan_sip check if the
forward domain is itself on a 302 response
Description: 
With promiscredir=yes in sip.conf, Asterisk assumes that *all* forwards are
non-local and attempts to send them out over the wire. If the domain is one
that Asterisk is configured to accept, the call comes back (hairpin) and
Asterisk changes it to a forward in an attempt to handle the hairpin.

This patch changes chan_sip to make it check if the domain is one that it
handles before blindly sending the forward out on the wire. If promiscredir
is set, it *is* a local domain, and either the domain has a context set or
the global variable FORWARD_CONTEXT is set, the forward is sent to
Local/user at context instead of SIP/user at domain.
====================================================================== 

---------------------------------------------------------------------- 
 (0111721) _brent_ (reporter) - 2009-10-01 09:23
 https://issues.asterisk.org/view.php?id=15016#c111721 
---------------------------------------------------------------------- 
I'll try my setup w/o promiscredir. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-01 09:23 _brent_        Note Added: 0111721                          
======================================================================




More information about the asterisk-bugs mailing list