[asterisk-bugs] [Asterisk 0015016]: Patch that makes chan_sip check if the forward domain is itself on a 302 response
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri May 1 16:11:36 CDT 2009
The following issue has been SUBMITTED.
======================================================================
http://bugs.digium.com/view.php?id=15016
======================================================================
Reported By: _brent_
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15016
Category: Channels/chan_sip/General
Reproducibility: N/A
Severity: feature
Priority: normal
Status: new
Asterisk Version: 1.6.1.0
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-05-01 16:11 CDT
Last Modified: 2009-05-01 16:11 CDT
======================================================================
Summary: 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.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2009-05-01 16:11 _brent_ New Issue
2009-05-01 16:11 _brent_ Asterisk Version => 1.6.1.0
2009-05-01 16:11 _brent_ Regression => No
2009-05-01 16:11 _brent_ SVN Branch (only for SVN checkouts, not tarball
releases) => N/A
======================================================================
More information about the asterisk-bugs
mailing list