diff options
author | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-18 02:00:34 +0000 |
---|---|---|
committer | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-18 02:00:34 +0000 |
commit | 79caed98062c0c29c1f6bb8f31e2b22f51f1fca7 (patch) | |
tree | 7006f57f2b20e67260ab6427fd3a3035d56ee922 /apps/app_festival.c | |
parent | e9ff0e580aaeb8799ff153fea6b76cdf1f5df343 (diff) |
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@8172 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 186a50ae7..d3bd1e9b9 100644 --- a/apps/app_festival.c +++ b/apps/app_festival.c @@ -175,7 +175,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) { |