don't bow out on att_xfer bridge

This commit is contained in:
Anthony Minessale 2011-02-10 12:37:14 -06:00
parent 46215605f4
commit 3546654615
1 changed files with 5 additions and 0 deletions

View File

@ -637,8 +637,13 @@ static switch_status_t channel_write_frame(switch_core_session_t *session, switc
tech_pvt->other_tech_pvt &&
switch_test_flag(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->other_channel, CF_BRIDGED) &&
!switch_channel_test_flag(tech_pvt->channel, CF_INNER_BRIDGE) &&
!switch_channel_test_flag(tech_pvt->other_channel, CF_INNER_BRIDGE) &&
switch_channel_test_flag(tech_pvt->channel, CF_ANSWERED) &&
switch_channel_test_flag(tech_pvt->other_channel, CF_ANSWERED) && !--tech_pvt->bowout_frame_count <= 0) {
const char *a_uuid = switch_channel_get_variable(channel, SWITCH_SIGNAL_BOND_VARIABLE);