[Freeswitch-svn] [commit] r11915 - freeswitch/trunk/src

FreeSWITCH SVN brian at freeswitch.org
Wed Feb 11 20:24:23 PST 2009


Author: brian
Date: Wed Feb 11 22:24:22 2009
New Revision: 11915

Log:
 doh, thanks raulfragoso

Modified:
   freeswitch/trunk/src/switch_ivr.c

Modified: freeswitch/trunk/src/switch_ivr.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr.c	(original)
+++ freeswitch/trunk/src/switch_ivr.c	Wed Feb 11 22:24:22 2009
@@ -670,7 +670,7 @@
 		return SWITCH_STATUS_FALSE;
 	}
 	
-	if (switch_channel_media_ready(channel)) {
+	if (!switch_channel_media_ready(channel)) {
 		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Cannot park channels that have no read codec.\n");
 		return SWITCH_STATUS_FALSE;
 	}



More information about the Freeswitch-svn mailing list