[asterisk-bugs] [Asterisk 0015056]: [patch] Blank FORWARD_CONTEXT is not ignored
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri May 29 22:26:07 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15056
======================================================================
Reported By: p_lindheimer
Assigned To: seanbright
======================================================================
Project: Asterisk
Issue ID: 15056
Category: Applications/app_dial
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: 1.4.21.1
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-05-07 17:53 CDT
Last Modified: 2009-05-29 22:26 CDT
======================================================================
Summary: [patch] Blank FORWARD_CONTEXT is not ignored
Description:
Once you have set FORWARD_CONTEXT=some-context in your dialplan, it is not
possible to "unset" the channel variable. Therefore the only way to unset
it is to set it blank:
exten => exten,n,Set(FORWARD_CONTEXT=)
However this appears to result in Asterisk using a non-existent blank
context for the forwarded call resulting in it failing.
Since there is no way to reset a context, I would expect this to treat a
blank context as if the variable was not set.
======================================================================
----------------------------------------------------------------------
(0105771) svnbot (reporter) - 2009-05-29 22:26
https://issues.asterisk.org/view.php?id=15056#c105771
----------------------------------------------------------------------
Repository: asterisk
Revision: 198285
_U trunk/
U trunk/apps/app_dial.c
------------------------------------------------------------------------
r198285 | seanbright | 2009-05-29 22:26:07 -0500 (Fri, 29 May 2009) | 15
lines
Merged revisions 198251 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r198251 | seanbright | 2009-05-29 22:46:41 -0400 (Fri, 29 May 2009) | 8
lines
Treat an empty FORWARD_CONTEXT the same way we treat a missing one.
(closes issue https://issues.asterisk.org/view.php?id=15056)
Reported by: p_lindheimer
Patches:
05292009_bug15056.diff uploaded by seanbright (license 71)
Tested by: p_lindheimer
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=198285
Issue History
Date Modified Username Field Change
======================================================================
2009-05-29 22:26 svnbot Checkin
2009-05-29 22:26 svnbot Note Added: 0105771
======================================================================
More information about the asterisk-bugs
mailing list