This commit is contained in:
Anthony Minessale 2011-10-31 08:06:15 -05:00
parent 5ee015610c
commit f9064dec45
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}