]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
alternate fix to f479462026d6d245511ef635ded70c7c645ac5ee
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 16 Sep 2011 19:16:31 +0000 (14:16 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 16 Sep 2011 19:16:31 +0000 (14:16 -0500)
src/mod/applications/mod_fifo/mod_fifo.c
src/mod/endpoints/mod_sofia/sofia_glue.c

index 9e263056c96ffdf6dcd7f415704fceb6cae77b30..827905590f1591289bc63411e98048bce448d559 100644 (file)
@@ -2968,6 +2968,9 @@ SWITCH_STANDARD_APP(fifo_function)
                                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);
 
                                if (outbound_id) {
index b0983588451b1313a6af9ae225a0bf6d9c573cae..0e4b5ab8707ae845923788a0c277c15706d97ad9 100644 (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);
                } else {
                        switch_xml_t callflow, param, x_extension;