diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-18 19:19:24 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-18 19:19:24 +0000 |
commit | 62f5251e783bc5622bcc6bfaef997fd09912259a (patch) | |
tree | 2c9fb0baebfb2ce22e05f4e9cfdd68ca6bea024f /apps/app_speech_utils.c | |
parent | 22f025f88516f64502b864d5bacf051e0b8fd229 (diff) |
Merged revisions 51251 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r51251 | file | 2007-01-18 14:17:34 -0500 (Thu, 18 Jan 2007) | 2 lines
Only start timeout once we reach the end of the files to play back.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51252 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_speech_utils.c')
-rw-r--r-- | apps/app_speech_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_speech_utils.c b/apps/app_speech_utils.c index 874c6c69f..211cca5d9 100644 --- a/apps/app_speech_utils.c +++ b/apps/app_speech_utils.c @@ -609,7 +609,7 @@ static int speech_background(struct ast_channel *chan, void *data) /* If audio playback has stopped do a check for timeout purposes */ if (chan->streamid == -1 && chan->timingfunc == NULL) ast_stopstream(chan); - if (chan->stream == NULL && timeout > 0 && started == 0) { + if (chan->stream == NULL && timeout > 0 && started == 0 && !filename_tmp) { time(&start); started = 1; } |