[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
Mon Jul 27 14:31:35 CDT 2009
The following issue has been UPDATED.
======================================================================
https://issues.asterisk.org/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
Target Version: 1.6.x Version Tracker
Asterisk Version: SVN
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-07-27 14:31 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.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2009-07-27 14:31 lmadsen Asterisk Version 1.6.1.0 => SVN
2009-07-27 14:31 lmadsen SVN Branch (only for SVN checkouts, not tarball
releases)N/A => trunk
2009-07-27 14:31 lmadsen Target Version => 1.6.x Version
Tracker
======================================================================
More information about the asterisk-bugs
mailing list