fix cpp bridge

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9299 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2008-08-14 18:22:07 +00:00
parent 88ae78906d
commit ab9af34982
1 changed files with 1 additions and 1 deletions

View File

@ -1070,7 +1070,7 @@ SWITCH_DECLARE(void) bridge(CoreSession &session_a, CoreSession &session_b)
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);
}