mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
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:
@@ -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]);
|
||||
|
Reference in New Issue
Block a user