[asterisk-commits] file: branch 1.4 r170648 - /branches/1.4/main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jan 23 14:16:39 CST 2009


Author: file
Date: Fri Jan 23 14:16:39 2009
New Revision: 170648

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=170648
Log:
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

Modified:
    branches/1.4/main/channel.c

Modified: branches/1.4/main/channel.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.4/main/channel.c?view=diff&rev=170648&r1=170647&r2=170648
==============================================================================
--- branches/1.4/main/channel.c (original)
+++ branches/1.4/main/channel.c Fri Jan 23 14:16:39 2009
@@ -1578,6 +1578,7 @@
 	default:
 		break;
 	}
+	ast_indicate(chan, -1);
 	chan->visible_indication = 0;
 	ast_channel_unlock(chan);
 	return res;




More information about the asterisk-commits mailing list