[Asterisk-cvs] asterisk/apps app_agi.c,1.26.2.2,1.26.2.3

citats at lists.digium.com citats at lists.digium.com
Fri Mar 12 13:56:42 CST 2004


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

Modified Files:
      Tag: v1-0_stable
	app_agi.c 
Log Message:
Fix incorrect endpos when sildet is used during AGI record (bug 1210)



Index: app_agi.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_agi.c,v
retrieving revision 1.26.2.2
retrieving revision 1.26.2.3
diff -u -d -r1.26.2.2 -r1.26.2.3
--- app_agi.c	10 Mar 2004 21:17:39 -0000	1.26.2.2
+++ app_agi.c	12 Mar 2004 18:50:05 -0000	1.26.2.3
@@ -604,6 +604,7 @@
               	if (gotsilence) {
                      	ast_stream_rewind(fs, silence-1000);
                 	ast_truncstream(fs);
+			sample_offset = ast_tellstream(fs);
 		}		
 		fdprintf(agi->fd, "200 result=%d (timeout) endpos=%ld\n", res, sample_offset);
 		ast_closestream(fs);




More information about the svn-commits mailing list