fix err
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10330 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
2db7264cef
commit
f0acd4ff65
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in New Issue