git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1245 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-04-25 00:45:22 +00:00
parent a3d0b78ea0
commit fc8b3d1c5f
1 changed files with 6 additions and 1 deletions

View File

@ -880,7 +880,12 @@ SWITCH_DECLARE(switch_status) switch_ivr_multi_threaded_bridge(switch_core_sessi
switch_channel_set_private(caller_channel, peer_session);
switch_channel_set_private(peer_channel, session);
switch_channel_add_state_handler(peer_channel, &audio_bridge_peer_state_handlers);
if (switch_core_session_runing(peer_session)) {
switch_channel_set_state(peer_channel, CS_TRANSMIT);
} else {
switch_core_session_thread_launch(peer_session);
}
time(&start);
for (;;) {