]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7962: [core] 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)
committerMichael Jerris <mike@jerris.com>
Tue, 25 Aug 2015 19:49:49 +0000 (14:49 -0500)
src/switch_ivr_bridge.c

index ac969d386928f3c22460ff0971857529e2a07387..0b78e02200b9ab889a8f4f8e44ca1e8a9242e4d2 100644 (file)
@@ -1977,8 +1977,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);