more stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6912 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e3c48c6ac1
commit
69b726ec1b
|
@ -653,7 +653,10 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_multi_threaded_bridge(switch_core_ses
|
||||||
|
|
||||||
switch_channel_clear_flag(caller_channel, CF_ORIGINATOR);
|
switch_channel_clear_flag(caller_channel, CF_ORIGINATOR);
|
||||||
//make sure this doesnt break anything
|
//make sure this doesnt break anything
|
||||||
switch_channel_set_state(peer_channel, CS_RESET);
|
|
||||||
|
if (!switch_channel_test_flag(peer_channel, CF_TRANSFER) && switch_channel_get_state(peer_channel) == CS_LOOPBACK) {
|
||||||
|
switch_channel_set_state(peer_channel, CS_RESET);
|
||||||
|
}
|
||||||
while (switch_channel_get_state(peer_channel) == CS_LOOPBACK) {
|
while (switch_channel_get_state(peer_channel) == CS_LOOPBACK) {
|
||||||
switch_yield(1000);
|
switch_yield(1000);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue