Summary: | ASTERISK-03788: [patch] AGIs continue even if a file was not found with GET DATA | ||
Reporter: | Clod Patry (junky) | Labels: | |
Date Opened: | 2005-03-27 21:44:06.000-0600 | Date Closed: | 2008-01-15 15:30:44.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_agi |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) get_data_continue.diff.txt | |
Description: | This is the same as ASTERISK-377262 and ASTERISK-311912, but this time, AGI will continue, even if the file isn't found when used with the GET DATA. ****** ADDITIONAL INFORMATION ****** before the patch: Mar 27 22:21:38 WARNING[17739]: file.c:486 ast_openstream_full: File BLAH does not exist in any format Mar 27 22:21:38 WARNING[17739]: file.c:790 ast_streamfile: Unable to open BLAH (format gsm): No such file or directory == Spawn extension (test_sip, 3862, 1) exited non-zero on 'SIP/100-53e9' We can remark, the AGI stops just after a not-found file. with the patch: Mar 27 22:26:59 WARNING[2902]: file.c:486 ast_openstream_full: File BLAH does not exist in any format Mar 27 22:26:59 WARNING[2902]: file.c:790 ast_streamfile: Unable to open BLAH (format gsm): No such file or directory We can remark, the AGI continues even if the file was not found (It just gives 2 warnings), but it doesn't stops the AGI). Disclaimer on file. | ||
Comments: | By: Mark Spencer (markster) 2005-03-28 01:14:28.000-0600 Fixed in CVS head, thanks. By: Russell Bryant (russell) 2005-04-05 04:59:24 fixed in 1.0 By: Digium Subversion (svnbot) 2008-01-15 15:29:07.000-0600 Repository: asterisk Revision: 5290 U trunk/res/res_agi.c ------------------------------------------------------------------------ r5290 | markster | 2008-01-15 15:29:07 -0600 (Tue, 15 Jan 2008) | 2 lines Continue with GET_DATA if no file is there (bug ASTERISK-3788) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=5290 By: Digium Subversion (svnbot) 2008-01-15 15:30:44.000-0600 Repository: asterisk Revision: 5403 U branches/v1-0/CHANGES U branches/v1-0/res/res_agi.c ------------------------------------------------------------------------ r5403 | russell | 2008-01-15 15:30:43 -0600 (Tue, 15 Jan 2008) | 2 lines keep going even if file not found with GET DATA (bug ASTERISK-3788) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=5403 |