Summary: | ASTERISK-15111: [patch] Invalid behaviour of Return within Gosub and AGI | ||
Reporter: | Atis Lezdins (atis) | Labels: | |
Date Opened: | 2009-11-10 13:02:36.000-0600 | Date Closed: | 2009-11-10 15:39:35.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_stack |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 20091110__atis_work.diff.txt ( 1) agi_gosub.log | |
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. | ||
Comments: | By: Atis Lezdins (atis) 2009-11-10 13:44:26.000-0600 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. By: Digium Subversion (svnbot) 2009-11-10 15:28:46.000-0600 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 ASTERISK-15111) 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 By: Digium Subversion (svnbot) 2009-11-10 15:37:15.000-0600 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 ASTERISK-15111) 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 By: Digium Subversion (svnbot) 2009-11-10 15:37:31.000-0600 Repository: asterisk Revision: 229353 _U branches/1.6.1/ U branches/1.6.1/apps/app_stack.c ------------------------------------------------------------------------ r229353 | tilghman | 2009-11-10 15:37:31 -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 ASTERISK-15111) 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=229353 By: Digium Subversion (svnbot) 2009-11-10 15:39:35.000-0600 Repository: asterisk Revision: 229354 _U branches/1.6.2/ U branches/1.6.2/apps/app_stack.c ------------------------------------------------------------------------ r229354 | tilghman | 2009-11-10 15:39:35 -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 ASTERISK-15111) 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=229354 |