Merged revisions 8140 via svnmerge from

https://svn.digium.com/svn/asterisk/branches/1.2

........
r8140 | mogorman | 2006-01-17 14:10:29 -0600 (Tue, 17 Jan 2006) | 3 lines

Stop any generators running on a channel when
festival is called as described in 5996

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8141 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Matt O'Gorman 2006-01-17 20:16:18 +00:00
parent 69e9567874
commit 455f916d83
1 changed files with 2 additions and 1 deletions

View File

@ -183,7 +183,8 @@ static int send_waveform_to_channel(struct ast_channel *chan, char *waveform, in
if (chan->_state != AST_STATE_UP)
ast_answer(chan);
ast_stopstream(chan);
ast_indicate(chan, -1);
owriteformat = chan->writeformat;
res = ast_set_write_format(chan, AST_FORMAT_SLINEAR);
if (res < 0) {