From 25e8d054921952bd112d7623558b9da493bf7596 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 19 Aug 2015 12:47:31 -0500 Subject: [PATCH] FS-7962 #resolve [Invite/replaces fails about half the time when between 2 freeswitch servers] --- src/switch_ivr_bridge.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/switch_ivr_bridge.c b/src/switch_ivr_bridge.c index c098f297ce..ccf0f9c5bd 100644 --- a/src/switch_ivr_bridge.c +++ b/src/switch_ivr_bridge.c @@ -2093,8 +2093,7 @@ SWITCH_DECLARE(void) switch_ivr_intercept_session(switch_core_session_t *session switch_channel_set_state(rchannel, CS_PARK); if (bchannel) { - switch_channel_set_state_flag(bchannel, CF_TRANSFER); - switch_channel_set_state(bchannel, CS_PARK); + switch_channel_set_variable(bchannel, "park_after_bridge", "true"); } switch_channel_set_flag(rchannel, CF_INTERCEPTED);