Skip to content
Snippets Groups Projects
Commit 455f916d authored by Matt O'Gorman's avatar Matt O'Gorman
Browse files

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
parent 69e95678
No related branches found
No related tags found
No related merge requests found
...@@ -183,7 +183,8 @@ static int send_waveform_to_channel(struct ast_channel *chan, char *waveform, in ...@@ -183,7 +183,8 @@ static int send_waveform_to_channel(struct ast_channel *chan, char *waveform, in
if (chan->_state != AST_STATE_UP) if (chan->_state != AST_STATE_UP)
ast_answer(chan); ast_answer(chan);
ast_stopstream(chan); ast_stopstream(chan);
ast_indicate(chan, -1);
owriteformat = chan->writeformat; owriteformat = chan->writeformat;
res = ast_set_write_format(chan, AST_FORMAT_SLINEAR); res = ast_set_write_format(chan, AST_FORMAT_SLINEAR);
if (res < 0) { if (res < 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment