[Asterisk-cvs] asterisk/res res_agi.c,1.10,1.10.2.1

russell at lists.digium.com russell at lists.digium.com
Mon Jan 3 12:13:53 CST 2005


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

Modified Files:
      Tag: v1-0
	res_agi.c 
Log Message:
don't exit AGI when file not found to stream (bug #3212)


Index: res_agi.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_agi.c,v
retrieving revision 1.10
retrieving revision 1.10.2.1
diff -u -d -r1.10 -r1.10.2.1
--- res_agi.c	29 Sep 2004 03:32:58 -0000	1.10
+++ res_agi.c	3 Jan 2005 18:19:05 -0000	1.10.2.1
@@ -432,8 +432,7 @@
 	fs = ast_openstream(chan, argv[2], chan->language);
 	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;
 	}
 	ast_seekstream(fs, 0, SEEK_END);
 	max_length = ast_tellstream(fs);




More information about the svn-commits mailing list