Actually give some time after total silence
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1013 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
783919611b
commit
2b67a9e709
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue