mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-05 02:34:18 +00:00
wait till both channels are answered to jump out of the way
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9787 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
db62bc1509
commit
3c2699ec2a
@ -514,7 +514,9 @@ static switch_status_t channel_write_frame(switch_core_session_t *session, switc
|
|||||||
switch_test_flag(tech_pvt, TFLAG_BRIDGE) &&
|
switch_test_flag(tech_pvt, TFLAG_BRIDGE) &&
|
||||||
switch_test_flag(tech_pvt->other_tech_pvt, TFLAG_BRIDGE) &&
|
switch_test_flag(tech_pvt->other_tech_pvt, TFLAG_BRIDGE) &&
|
||||||
switch_channel_test_flag(tech_pvt->channel, CF_BRIDGED) &&
|
switch_channel_test_flag(tech_pvt->channel, CF_BRIDGED) &&
|
||||||
switch_channel_test_flag(tech_pvt->other_channel, CF_BRIDGED)
|
switch_channel_test_flag(tech_pvt->other_channel, CF_BRIDGED) &&
|
||||||
|
switch_channel_test_flag(tech_pvt->channel, CF_ANSWERED) &&
|
||||||
|
switch_channel_test_flag(tech_pvt->other_channel, CF_ANSWERED)
|
||||||
) {
|
) {
|
||||||
const char *a_uuid = switch_channel_get_variable(channel, SWITCH_SIGNAL_BOND_VARIABLE);
|
const char *a_uuid = switch_channel_get_variable(channel, SWITCH_SIGNAL_BOND_VARIABLE);
|
||||||
const char *b_uuid = switch_channel_get_variable(tech_pvt->other_channel, SWITCH_SIGNAL_BOND_VARIABLE);
|
const char *b_uuid = switch_channel_get_variable(tech_pvt->other_channel, SWITCH_SIGNAL_BOND_VARIABLE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user