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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 7 17:53:17 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=15056 
====================================================================== 
Reported By:                p_lindheimer
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15056
Category:                   Applications/app_dial
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
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-07 17:53 CDT
====================================================================== 
Summary:                    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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-07 17:53 p_lindheimer   New Issue                                    
2009-05-07 17:53 p_lindheimer   Asterisk Version          => 1.4.21.1        
2009-05-07 17:53 p_lindheimer   Regression                => No              
2009-05-07 17:53 p_lindheimer   SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list