git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10330 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-11-11 15:25:45 +00:00
parent 2db7264cef
commit f0acd4ff65
1 changed files with 3 additions and 2 deletions

View File

@ -1159,8 +1159,9 @@ SWITCH_DECLARE(void) switch_ivr_intercept_session(switch_core_session_t *session
switch_channel_pre_answer(channel); switch_channel_pre_answer(channel);
if ((buuid = switch_channel_get_variable(rchannel, SWITCH_SIGNAL_BOND_VARIABLE))) { if ((buuid = switch_channel_get_variable(rchannel, SWITCH_SIGNAL_BOND_VARIABLE))) {
bsession = switch_core_session_locate(buuid); if ((bsession = switch_core_session_locate(buuid))) {
bchannel = switch_core_session_get_channel(bsession); bchannel = switch_core_session_get_channel(bsession);
}
} }
if (!switch_channel_test_flag(rchannel, CF_ANSWERED)) { if (!switch_channel_test_flag(rchannel, CF_ANSWERED)) {