diff --git a/src/mod/endpoints/mod_loopback/mod_loopback.c b/src/mod/endpoints/mod_loopback/mod_loopback.c index 19ded9e6a2..bfebee087c 100644 --- a/src/mod/endpoints/mod_loopback/mod_loopback.c +++ b/src/mod/endpoints/mod_loopback/mod_loopback.c @@ -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->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->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 *b_uuid = switch_channel_get_variable(tech_pvt->other_channel, SWITCH_SIGNAL_BOND_VARIABLE);