From c3711994a17000e9b07c4f644dc005f070b7e07c Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Fri, 23 Jan 2009 20:20:38 +0000 Subject: [PATCH] Merged revisions 170652 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ................ r170652 | file | 2009-01-23 16:18:05 -0400 (Fri, 23 Jan 2009) | 11 lines Merged revisions 170648 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r170648 | file | 2009-01-23 16:16:39 -0400 (Fri, 23 Jan 2009) | 4 lines 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: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@170664 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/channel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main/channel.c b/main/channel.c index b91086e42f..1f97e44e0c 100644 --- a/main/channel.c +++ b/main/channel.c @@ -1742,6 +1742,7 @@ int __ast_answer(struct ast_channel *chan, unsigned int delay) break; } + ast_indicate(chan, -1); chan->visible_indication = 0; return res;