[asterisk-bugs] [Asterisk 0016216]: Invalid behaviour of Return within Gosub and AGI

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Nov 10 13:44:26 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16216 
====================================================================== 
Reported By:                atis
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   16216
Category:                   Applications/app_stack
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.1.9 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-11-10 13:02 CST
Last Modified:              2009-11-10 13:44 CST
====================================================================== 
Summary:                    Invalid behaviour of Return within Gosub and AGI
Description: 
In the following scenario:

GoSub(...)
* AGI(...)
* * GOSUB ...
* * * Return()

return will jump back to first GoSub and won't allow AGI to continue.

Log snippet attached.
====================================================================== 

---------------------------------------------------------------------- 
 (0113602) atis (reporter) - 2009-11-10 13:44
 https://issues.asterisk.org/view.php?id=16216#c113602 
---------------------------------------------------------------------- 
Tilghman's patch (20091110__atis_work.diff.txt provided on IRC) seems to
fix issue.

We're going to test some more usages of GoSub throughly to see if it
doesn't break anything. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-10 13:44 atis           Note Added: 0113602                          
======================================================================




More information about the asterisk-bugs mailing list