]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
When a channel is answered make sure any indications currently playing stop. Usually...
authorJoshua Colp <jcolp@digium.com>
Fri, 23 Jan 2009 20:16:39 +0000 (20:16 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 23 Jan 2009 20:16:39 +0000 (20:16 +0000)
(closes issue #14249)
Reported by: RadicAlish

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@170648 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index a8898656d509635212d41e53a20ac5e04561602e..159de4c0bdf78945ea9872a01673e1a0290b4b05 100644 (file)
@@ -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;