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

Freeswitch SVN anthm at freeswitch.org
Thu May 8 16:54:19 EDT 2008


Author: anthm
Date: Thu May  8 16:54:19 2008
New Revision: 8312

Modified:
   freeswitch/trunk/src/switch_ivr_bridge.c

Log:
update

Modified: freeswitch/trunk/src/switch_ivr_bridge.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_bridge.c	(original)
+++ freeswitch/trunk/src/switch_ivr_bridge.c	Thu May  8 16:54:19 2008
@@ -161,12 +161,8 @@
 		}
 
 		if (!nosuspend && (switch_channel_test_flag(chan_a, CF_SUSPEND) || switch_channel_test_flag(chan_b, CF_SUSPEND))) {
-			if (switch_channel_test_flag(chan_a, CF_SUSPEND)) {
-				status = SWITCH_STATUS_SUCCESS;
-			} else {
-				status = switch_core_session_read_frame(session_a, &read_frame, SWITCH_IO_FLAG_NONE, stream_id);
-			}
-
+			status = switch_core_session_read_frame(session_a, &read_frame, SWITCH_IO_FLAG_NONE, stream_id);
+			
 			if (!SWITCH_READ_ACCEPTABLE(status)) {
 				goto end_of_bridge_loop;
 			}



More information about the Freeswitch-svn mailing list