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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Nov 10 15:28:46 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 15:28 CST
====================================================================== 
Summary:                    [patch] 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0113619) svnbot (reporter) - 2009-11-10 15:28
 https://issues.asterisk.org/view.php?id=16216#c113619 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 229351

U   trunk/apps/app_stack.c

------------------------------------------------------------------------
r229351 | tilghman | 2009-11-10 15:28:45 -0600 (Tue, 10 Nov 2009) | 7
lines

When GOSUB is invoked within an AGI, it may not exit correctly.
(closes issue https://issues.asterisk.org/view.php?id=16216)
 Reported by: atis
 Patches: 
       20091110__atis_work.diff.txt uploaded by tilghman (license 14)
 Tested by: atis

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=229351 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-10 15:28 svnbot         Checkin                                      
2009-11-10 15:28 svnbot         Note Added: 0113619                          
======================================================================




More information about the asterisk-bugs mailing list