[Asterisk-cvs] asterisk/apps app_agi.c,1.30,1.31
citats at lists.digium.com
citats at lists.digium.com
Fri Mar 12 13:56:30 CST 2004
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv15236/apps
Modified Files:
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.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- app_agi.c 10 Mar 2004 21:17:13 -0000 1.30
+++ app_agi.c 12 Mar 2004 18:49:52 -0000 1.31
@@ -625,6 +625,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