alternate fix to f479462026

This commit is contained in:
Anthony Minessale 2011-09-16 14:16:31 -05:00
parent 7bc6e8f183
commit dfbb22fe91
2 changed files with 4 additions and 1 deletions

View File

@ -2968,6 +2968,9 @@ SWITCH_STANDARD_APP(fifo_function)
switch_safe_free(sql); switch_safe_free(sql);
switch_channel_set_variable(channel, SWITCH_SIGNAL_BOND_VARIABLE, switch_core_session_get_uuid(other_session));
switch_channel_set_variable(other_channel, SWITCH_SIGNAL_BOND_VARIABLE, switch_core_session_get_uuid(session));
switch_ivr_multi_threaded_bridge(session, other_session, on_dtmf, other_session, session); switch_ivr_multi_threaded_bridge(session, other_session, on_dtmf, other_session, session);
if (outbound_id) { if (outbound_id) {

View File

@ -5566,7 +5566,7 @@ static int recover_callback(void *pArg, int argc, char **argv, char **columnName
} }
if (switch_channel_get_variable(channel, SWITCH_BRIDGE_VARIABLE)) { if (switch_channel_get_variable(channel, SWITCH_SIGNAL_BOND_VARIABLE)) {
sofia_set_flag(tech_pvt, TFLAG_RECOVERING_BRIDGE); sofia_set_flag(tech_pvt, TFLAG_RECOVERING_BRIDGE);
} else { } else {
switch_xml_t callflow, param, x_extension; switch_xml_t callflow, param, x_extension;