diff options
Diffstat (limited to 'apps')
-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 8bd07e359..d66800f77 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; } |