[asterisk-commits] oej: branch oej/roibos-cng-support-1.8 r376996 - /team/oej/roibos-cng-support...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Dec 3 03:13:36 CST 2012


Author: oej
Date: Mon Dec  3 03:13:32 2012
New Revision: 376996

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=376996
Log:
STOP the noise.

Modified:
    team/oej/roibos-cng-support-1.8/main/features.c

Modified: team/oej/roibos-cng-support-1.8/main/features.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/roibos-cng-support-1.8/main/features.c?view=diff&rev=376996&r1=376995&r2=376996
==============================================================================
--- team/oej/roibos-cng-support-1.8/main/features.c (original)
+++ team/oej/roibos-cng-support-1.8/main/features.c Mon Dec  3 03:13:32 2012
@@ -4237,8 +4237,8 @@
 			case AST_CONTROL_CNG_END:
 				/* If we are playing out CNG noise on the bridged channel, stop it now. 
 				   otherwise, ignore this frame. */
-				ast_debug(1, "*** Bridge got CNG END frame \n");
-				ast_moh_stop(other);
+				ast_debug(2, "*** Bridge got CNG END frame \n");
+				ast_channel_stop_noise_generator(other, NULL);
 				break;
 			case AST_CONTROL_AOC:
 			case AST_CONTROL_HOLD:




More information about the asterisk-commits mailing list