diff options
author | mogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-17 20:16:18 +0000 |
---|---|---|
committer | mogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-17 20:16:18 +0000 |
commit | 982eb0aa2b2c59190a44171b64fe697b6ca415e8 (patch) | |
tree | 18d902292ef4f26ab496734884bb2da5821b0881 /apps/app_festival.c | |
parent | 923b20bf12bc628a32745e27296ead918685b8b5 (diff) |
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: http://svn.digium.com/svn/asterisk/trunk@8141 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_festival.c')
-rw-r--r-- | apps/app_festival.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/app_festival.c b/apps/app_festival.c index b6503facb..1921fdd11 100644 --- a/apps/app_festival.c +++ b/apps/app_festival.c @@ -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) { |