diff options
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) { |