fix cpp bridge
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9299 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
88ae78906d
commit
ab9af34982
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue