]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4160 try this
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 27 Apr 2012 16:37:21 +0000 (11:37 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 27 Apr 2012 16:37:21 +0000 (11:37 -0500)
src/switch_ivr_bridge.c

index 206bd8787d74e1aa64295f553e4588a177d9e193..ab7136b9a3714c959fa3034b1732269bd15254b8 100644 (file)
@@ -813,7 +813,7 @@ static switch_status_t uuid_bridge_on_soft_execute(switch_core_session_t *sessio
                        switch_core_session_rwunlock(other_session);
                        if (switch_true(switch_channel_get_variable(channel, "uuid_bridge_continue_on_cancel"))) {
                                switch_channel_set_state(channel, CS_EXECUTE);
-                       } else {
+                       } else if (!switch_channel_test_flag(channel, CF_TRANSFER)) {
                                switch_channel_hangup(channel, SWITCH_CAUSE_ORIGINATOR_CANCEL);
                        }
                        goto done;