]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5453 --resolve this is a different issue, we just have to hangup the loopback...
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 23 May 2013 14:59:00 +0000 (09:59 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 23 May 2013 14:59:18 +0000 (09:59 -0500)
src/mod/endpoints/mod_loopback/mod_loopback.c

index 9d5685dd79b9d81abbd201a256ed1de2b86420f3..d62fb481fa8ec078d1e4494464bb51865626b2e1 100644 (file)
@@ -457,6 +457,7 @@ static switch_status_t channel_on_execute(switch_core_session_t *session)
                        switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(tech_pvt->session), SWITCH_LOG_INFO, "BOWOUT Transfering current extension to non-loopback leg.\n");
                        switch_channel_transfer_to_extension(other_channel, extension);
                        switch_core_session_rwunlock(other_session);
+                       switch_channel_hangup(tech_pvt->channel, SWITCH_CAUSE_NORMAL_UNSPECIFIED);
                }
 
        }