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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 29 21:46:42 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:                     ready for testing
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 21: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.
====================================================================== 

---------------------------------------------------------------------- 
 (0105769) svnbot (reporter) - 2009-05-29 21:46
 https://issues.asterisk.org/view.php?id=15056#c105769 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 198251

U   branches/1.4/apps/app_dial.c

------------------------------------------------------------------------
r198251 | seanbright | 2009-05-29 21:46:42 -0500 (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=198251 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-29 21:46 svnbot         Checkin                                      
2009-05-29 21:46 svnbot         Note Added: 0105769                          
======================================================================




More information about the asterisk-bugs mailing list