[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 02:09: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 02:09 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.
======================================================================
----------------------------------------------------------------------
(0111692) oej (manager) - 2009-10-01 02:09
https://issues.asterisk.org/view.php?id=15016#c111692
----------------------------------------------------------------------
Kevin and I have agreed on removing promsicredir. So we will have to check
that we have proper functionality with 302s through the dialplan before
that. If you can help us checking this, it will be appreciated :-)
/Olle
Issue History
Date Modified Username Field Change
======================================================================
2009-10-01 02:09 oej Note Added: 0111692
======================================================================
More information about the asterisk-bugs
mailing list