]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7962 #resolve [Invite/replaces fails about half the time when between 2 freeswitch...
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 19 Aug 2015 17:47:31 +0000 (12:47 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 19 Aug 2015 17:47:31 +0000 (12:47 -0500)
src/switch_ivr_bridge.c

index c098f297ce6f62c3abeb5317d447d9f2e23b9b1f..ccf0f9c5bd947086dd7435f54c32ac096630f89a 100644 (file)
@@ -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);