This commit is contained in:
Anthony Minessale 2017-01-16 19:13:24 -06:00
parent 52af4a3278
commit 99a0d74847
1 changed files with 5 additions and 0 deletions

View File

@ -2217,6 +2217,11 @@ SWITCH_DECLARE(void) switch_ivr_intercept_session(switch_core_session_t *session
switch_channel_set_variable(bchannel, "park_after_bridge", "true");
}
if ((var = switch_channel_get_variable(channel, "intercept_pre_bond")) && switch_true(var)) {
switch_channel_set_variable(channel, SWITCH_SIGNAL_BOND_VARIABLE, uuid);
switch_channel_set_variable_partner(channel, SWITCH_SIGNAL_BOND_VARIABLE, switch_core_session_get_uuid(session));
}
switch_channel_set_flag(rchannel, CF_INTERCEPTED);
switch_ivr_uuid_bridge(switch_core_session_get_uuid(session), uuid);
switch_core_session_rwunlock(rsession);