From: Anthony Minessale Date: Wed, 27 Mar 2013 20:18:54 +0000 (-0500) Subject: do not pause callers when they come out of a bridge X-Git-Tag: v1.3.17-final~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c510a811774c73ed6b9022c7331eea00d62695f9;p=thirdparty%2Ffreeswitch.git do not pause callers when they come out of a bridge --- 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);