[Asterisk-cvs] asterisk/res res_agi.c,1.27,1.28

markster at lists.digium.com markster at lists.digium.com
Fri Mar 25 23:39:37 CST 2005


Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv7929/res

Modified Files:
	res_agi.c 
Log Message:
Make sure AGI continues even when files aren't there (bug #3862)


Index: res_agi.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_agi.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- res_agi.c	24 Mar 2005 16:38:13 -0000	1.27
+++ res_agi.c	26 Mar 2005 05:33:48 -0000	1.28
@@ -510,7 +510,7 @@
         if(!fs){
                 fdprintf(agi->fd, "200 result=%d endpos=%ld\n", 0, sample_offset);
                 ast_log(LOG_WARNING, "Unable to open %s\n", argv[2]);
-                return RESULT_FAILURE;
+		return RESULT_SUCCESS;
         }
 	if (option_verbose > 2)
 		ast_verbose(VERBOSE_PREFIX_3 "Playing '%s' (escape_digits=%s) (timeout %d)\n", argv[2], edigits, timeout);




More information about the svn-commits mailing list