From c510a811774c73ed6b9022c7331eea00d62695f9 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 27 Mar 2013 15:18:54 -0500 Subject: [PATCH] do not pause callers when they come out of a bridge --- src/mod/applications/mod_fifo/mod_fifo.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mod/applications/mod_fifo/mod_fifo.c b/src/mod/applications/mod_fifo/mod_fifo.c index b232349643..7e75326147 100644 --- a/src/mod/applications/mod_fifo/mod_fifo.c +++ b/src/mod/applications/mod_fifo/mod_fifo.c @@ -3108,8 +3108,9 @@ SWITCH_STANDARD_APP(fifo_function) fifo_execute_sql_queued(&sql, SWITCH_TRUE, SWITCH_FALSE); - switch_core_media_bug_pause(session); - switch_core_media_bug_pause(other_session); + if (switch_channel_ready(channel)) { + switch_core_media_bug_pause(session); + } if (record_template) { switch_ivr_stop_record_session(session, expanded);