[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:37:15 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:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-11-10 13:02 CST
Last Modified:              2009-11-10 15:37 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0113621) svnbot (reporter) - 2009-11-10 15:37
 https://issues.asterisk.org/view.php?id=16216#c113621 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 229352

_U  branches/1.6.0/
U   branches/1.6.0/apps/app_stack.c

------------------------------------------------------------------------
r229352 | tilghman | 2009-11-10 15:37:15 -0600 (Tue, 10 Nov 2009) | 14
lines

Merged revisions 229351 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r229351 | tilghman | 2009-11-10 15:22:50 -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=229352 

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




More information about the asterisk-bugs mailing list