Skip to content
Snippets Groups Projects
Commit 68d39c2b authored by Joshua Colp's avatar Joshua Colp
Browse files

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: https://origsvn.digium.com/svn/asterisk/trunk@51252 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 7f58759d
Branches
Tags
No related merge requests found
...@@ -609,7 +609,7 @@ static int speech_background(struct ast_channel *chan, void *data) ...@@ -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 audio playback has stopped do a check for timeout purposes */
if (chan->streamid == -1 && chan->timingfunc == NULL) if (chan->streamid == -1 && chan->timingfunc == NULL)
ast_stopstream(chan); ast_stopstream(chan);
if (chan->stream == NULL && timeout > 0 && started == 0) { if (chan->stream == NULL && timeout > 0 && started == 0 && !filename_tmp) {
time(&start); time(&start);
started = 1; started = 1;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment