This commit is contained in:
Anthony Minessale 2013-06-20 21:15:32 -05:00
parent 1617469019
commit 48ea6b5217

View File

@ -1543,6 +1543,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_multi_threaded_bridge(switch_core_ses
switch_channel_handle_cause(caller_channel, cause);
}
if (!switch_channel_test_flag(caller_channel, CF_TRANSFER)) {
if (switch_true(switch_channel_get_variable(caller_channel, SWITCH_PARK_AFTER_BRIDGE_VARIABLE))) {
switch_ivr_park_session(session);
} else if ((var = switch_channel_get_variable(caller_channel, SWITCH_TRANSFER_AFTER_BRIDGE_VARIABLE))) {
@ -1569,6 +1570,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_multi_threaded_bridge(switch_core_ses
}
}
}
}
if (switch_channel_test_flag(caller_channel, CF_REDIRECT)) {
if (switch_channel_test_flag(caller_channel, CF_RESET)) {