git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7618 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-02-15 16:01:12 +00:00
parent d6111c77a1
commit 1f52fe1eca
3 changed files with 18 additions and 1 deletions

View File

@@ -268,7 +268,7 @@ SWITCH_STANDARD_APP(fifo_function)
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "FIFO-Action", "push");
switch_event_fire(&event);
}
switch_ivr_park(session, NULL);
if (switch_channel_ready(channel)) {
@@ -393,6 +393,7 @@ SWITCH_STANDARD_APP(fifo_function)
if (switch_channel_test_flag(other_channel, CF_TAGGED)) {
switch_channel_clear_flag(other_channel, CF_CONTROLLED);
switch_core_session_flush_private_events(other_session);
switch_channel_stop_broadcast(other_channel);
switch_core_session_kill_channel(other_session, SWITCH_SIG_BREAK);
while (switch_channel_test_flag(other_channel, CF_TAGGED)) {