mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
FS-3634
This commit is contained in:
parent
5ee015610c
commit
f9064dec45
@ -1622,6 +1622,7 @@ SWITCH_DECLARE(void) switch_ivr_intercept_session(switch_core_session_t *session
|
||||
if (!zstr(buuid)) {
|
||||
if ((bsession = switch_core_session_locate(buuid))) {
|
||||
bchannel = switch_core_session_get_channel(bsession);
|
||||
switch_channel_set_flag(bchannel, CF_INTERCEPT);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1636,7 +1637,6 @@ SWITCH_DECLARE(void) switch_ivr_intercept_session(switch_core_session_t *session
|
||||
|
||||
if (bchannel) {
|
||||
switch_channel_set_state_flag(bchannel, CF_TRANSFER);
|
||||
switch_channel_set_flag(bchannel, CF_INTERCEPT);
|
||||
switch_channel_set_state(bchannel, CS_PARK);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user