[asterisk-bugs] [Asterisk 0015171]: [patch] Issue a warning, if trying to run gosub outside dialplan

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 29 12:47:28 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15171 
====================================================================== 
Reported By:                atis
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   15171
Category:                   Applications/app_stack
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-05-21 09:29 CDT
Last Modified:              2009-05-29 12:47 CDT
====================================================================== 
Summary:                    [patch] Issue a warning, if trying to run gosub
outside dialplan
Description: 
If putting GoSub in features.conf, there is no message explaining why it
can't be used, it just fails silently.

This patch should fix it.
====================================================================== 

---------------------------------------------------------------------- 
 (0105730) tilghman (administrator) - 2009-05-29 12:47
 https://issues.asterisk.org/view.php?id=15171#c105730 
---------------------------------------------------------------------- 
This patch, unfortunately, will generate a warning when you try to run a
Gosub on the callee channel in both Dial and Queue, because the Gosub app
is run prior to starting the PBX.  Therefore, you'd need to handle those
cases (and any other similar cases) before I could see committing this. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-29 12:47 tilghman       Note Added: 0105730                          
======================================================================




More information about the asterisk-bugs mailing list