[asterisk-bugs] [Asterisk 0010985]: gosubif doesn't allow empty true condition label similar to gotoif

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Oct 15 14:12:23 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10985 
====================================================================== 
Reported By:                davevg
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   10985
Category:                   Applications/app_stack
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.13  
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 85635 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-15-2007 13:13 CDT
Last Modified:              10-15-2007 14:12 CDT
====================================================================== 
Summary:                    gosubif doesn't allow empty true condition label
similar to gotoif
Description: 
The following case does not work:

exten => s,1,GoSubIf($["${somevar}"="0"]?:somesub)

GoToIf works fine

Patch attached.
====================================================================== 

---------------------------------------------------------------------- 
 Corydon76 - 10-15-07 14:12  
---------------------------------------------------------------------- 
Okay, what does it do wrong, specifically? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-15-07 14:12  Corydon76      Note Added: 0072027                          
======================================================================




More information about the asterisk-bugs mailing list