]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3634 try this, flag was set on wrong channel
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 3 Nov 2011 15:29:43 +0000 (10:29 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 3 Nov 2011 15:29:48 +0000 (10:29 -0500)
src/switch_ivr_bridge.c

index 755bf326a1cc352e5d5f80262535dd4e8012053c..f807d5ecc48509218f9b4dce5dafb3b92a250286 100644 (file)
@@ -1640,7 +1640,7 @@ SWITCH_DECLARE(void) switch_ivr_intercept_session(switch_core_session_t *session
                switch_channel_set_state(bchannel, CS_PARK);
        }
 
-       switch_channel_set_flag(channel, CF_INTERCEPTED);
+       switch_channel_set_flag(rchannel, CF_INTERCEPTED);
        switch_ivr_uuid_bridge(switch_core_session_get_uuid(session), uuid);
        switch_core_session_rwunlock(rsession);