Actually give some time after total silence
authorMark Spencer <markster@digium.com>
Tue, 13 May 2003 18:47:36 +0000 (18:47 +0000)
committerMark Spencer <markster@digium.com>
Tue, 13 May 2003 18:47:36 +0000 (18:47 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1013 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail2.c

index 690f021..b96e766 100755 (executable)
@@ -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]);