From 9c98829aabf92740462d100cc95d0484a0b5b164 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 23 May 2013 09:59:00 -0500 Subject: [PATCH] FS-5453 --resolve this is a different issue, we just have to hangup the loopback channel so the loopback and the sip don't both execute the extension --- src/mod/endpoints/mod_loopback/mod_loopback.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/endpoints/mod_loopback/mod_loopback.c b/src/mod/endpoints/mod_loopback/mod_loopback.c index 9d5685dd79..d62fb481fa 100644 --- a/src/mod/endpoints/mod_loopback/mod_loopback.c +++ b/src/mod/endpoints/mod_loopback/mod_loopback.c @@ -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); } }