[svn-commits] rmudgett: trunk r393487 - /trunk/apps/app_mixmonitor.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jul 2 15:45:48 CDT 2013


Author: rmudgett
Date: Tue Jul  2 15:45:47 2013
New Revision: 393487

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=393487
Log:
Fix MixMonitor b option.

The option had not been converted to use the replacement for
ast_bridged_channel().  One touch mixmonitor now records files again.

Modified:
    trunk/apps/app_mixmonitor.c

Modified: trunk/apps/app_mixmonitor.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_mixmonitor.c?view=diff&rev=393487&r1=393486&r2=393487
==============================================================================
--- trunk/apps/app_mixmonitor.c (original)
+++ trunk/apps/app_mixmonitor.c Tue Jul  2 15:45:47 2013
@@ -649,7 +649,9 @@
 		 * Unlock it, but remember to lock it before looping or exiting */
 		ast_audiohook_unlock(&mixmonitor->audiohook);
 
-		if (!ast_test_flag(mixmonitor, MUXFLAG_BRIDGED) || (mixmonitor->autochan->chan && ast_bridged_channel(mixmonitor->autochan->chan))) {
+		if (!ast_test_flag(mixmonitor, MUXFLAG_BRIDGED)
+			|| (mixmonitor->autochan->chan
+				&& ast_channel_is_bridged(mixmonitor->autochan->chan))) {
 			ast_mutex_lock(&mixmonitor->mixmonitor_ds->lock);
 
 			/* Write out the frame(s) */




More information about the svn-commits mailing list