FS-9654
This commit is contained in:
parent
52af4a3278
commit
99a0d74847
|
@ -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");
|
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_channel_set_flag(rchannel, CF_INTERCEPTED);
|
||||||
switch_ivr_uuid_bridge(switch_core_session_get_uuid(session), uuid);
|
switch_ivr_uuid_bridge(switch_core_session_get_uuid(session), uuid);
|
||||||
switch_core_session_rwunlock(rsession);
|
switch_core_session_rwunlock(rsession);
|
||||||
|
|
Loading…
Reference in New Issue