diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-01-23 20:16:39 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-01-23 20:16:39 +0000 |
commit | 9e1ec451d0a7c04471083bedcc464e177170d7d4 (patch) | |
tree | 1e55bc8dd6716d3e4eaebb29bd75066988d2664d /main/channel.c | |
parent | abfffd9fc86dd3811a556a556cff164fe269417b (diff) |
When a channel is answered make sure any indications currently playing stop. Usually the phone would do this but if the channel was already answered then they are being generated by Asterisk and we darn well need to stop them.
(closes issue #14249)
Reported by: RadicAlish
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@170648 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/channel.c')
-rw-r--r-- | main/channel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/channel.c b/main/channel.c index a8898656d..159de4c0b 100644 --- a/main/channel.c +++ b/main/channel.c @@ -1578,6 +1578,7 @@ int ast_answer(struct ast_channel *chan) default: break; } + ast_indicate(chan, -1); chan->visible_indication = 0; ast_channel_unlock(chan); return res; |