From: Mark Spencer Date: Tue, 13 May 2003 18:47:36 +0000 (+0000) Subject: Actually give some time after total silence X-Git-Tag: 0.5.0~483 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2b67a9e709765f981bdfc67ffd927003d57bd1aa;p=thirdparty%2Fasterisk.git Actually give some time after total silence git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1013 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail2.c b/apps/app_voicemail2.c index 690f021d3d..b96e766715 100755 --- a/apps/app_voicemail2.c +++ b/apps/app_voicemail2.c @@ -718,7 +718,7 @@ static int play_and_record(struct ast_channel *chan, char *playfile, char *recor if (!others[x]) break; if (totalsilence) - ast_stream_rewind(others[x], totalsilence+200); + ast_stream_rewind(others[x], totalsilence-200); else ast_stream_rewind(others[x], 1000); ast_truncstream(others[x]);