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

Freeswitch SVN brian at freeswitch.org
Thu Aug 14 14:22:08 EDT 2008


Author: brian
Date: Thu Aug 14 14:22:07 2008
New Revision: 9299

Modified:
   freeswitch/trunk/src/switch_cpp.cpp

Log:
fix cpp bridge

Modified: freeswitch/trunk/src/switch_cpp.cpp
==============================================================================
--- freeswitch/trunk/src/switch_cpp.cpp	(original)
+++ freeswitch/trunk/src/switch_cpp.cpp	Thu Aug 14 14:22:07 2008
@@ -1070,7 +1070,7 @@
 
 		if (switch_channel_ready(channel_a) && switch_channel_ready(channel_b)) {
 			session_a.begin_allow_threads();
-			if (!switch_channel_media_ready(channel_a)) {
+			if (!switch_channel_test_flag(channel_a, CF_OUTBOUND) && !switch_channel_media_ready(channel_a)) {
 				switch_channel_pre_answer(channel_a);
 			}
 



More information about the Freeswitch-svn mailing list