Merged revisions 8140 via svnmerge from
authorMatt O'Gorman <mogorman@digium.com>
Tue, 17 Jan 2006 20:16:18 +0000 (20:16 +0000)
committerMatt O'Gorman <mogorman@digium.com>
Tue, 17 Jan 2006 20:16:18 +0000 (20:16 +0000)
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

apps/app_festival.c

index b6503fa..1921fdd 100644 (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) {