]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5453 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 21 May 2013 17:01:57 +0000 (12:01 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 21 May 2013 17:02:12 +0000 (12:02 -0500)
src/mod/endpoints/mod_loopback/mod_loopback.c

index 8bd3640759e01206cdc631ded33c626d322e6522..103f22854e37512a26aed6dad8f1db3c8d630c6d 100644 (file)
@@ -1175,6 +1175,8 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
 
                if (switch_true(switch_event_get_header(var_event, "loopback_bowout_on_execute"))) {
                        switch_core_event_hook_add_state_change(*new_session, loopback_bowout_on_execute_state_handler);
+                       switch_channel_set_variable(channel, "loopback_bowout", "false");
+                       switch_set_flag(tech_pvt, TFLAG_BOWOUT);
                }
 
                switch_channel_set_state(channel, CS_INIT);