From 2b67a9e709765f981bdfc67ffd927003d57bd1aa Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Tue, 13 May 2003 18:47:36 +0000 Subject: [PATCH] Actually give some time after total silence git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1013 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_voicemail2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]);