[asterisk-bugs] [Asterisk 0015056]: [patch] Blank FORWARD_CONTEXT is not ignored

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 29 09:46:32 CDT 2009


The following issue requires your FEEDBACK. 
====================================================================== 
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:                     feedback
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:              
====================================================================== 
Date Submitted:             2009-05-07 17:53 CDT
Last Modified:              2009-05-29 09:46 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0105714) seanbright (manager) - 2009-05-29 09:46
 https://issues.asterisk.org/view.php?id=15056#c105714 
---------------------------------------------------------------------- 
Please test the attached patch. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-29 09:46 seanbright     Note Added: 0105714                          
2009-05-29 09:46 seanbright     Status                   assigned => feedback
======================================================================




More information about the asterisk-bugs mailing list