From 11a828c88ece8c56a7de750db2204f111325b508 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 9 Feb 2010 15:20:16 +0000 Subject: [PATCH] DP-14 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16588 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_dptools/mod_dptools.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mod/applications/mod_dptools/mod_dptools.c b/src/mod/applications/mod_dptools/mod_dptools.c index fd5b21d22b..48f76c8eb7 100644 --- a/src/mod/applications/mod_dptools/mod_dptools.c +++ b/src/mod/applications/mod_dptools/mod_dptools.c @@ -2441,7 +2441,8 @@ SWITCH_STANDARD_APP(audio_bridge_function) b_key = NULL; } - if (switch_true(switch_channel_get_variable(caller_channel, SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE))) { + if (switch_true(switch_channel_get_variable(caller_channel, SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE)) || + switch_true(switch_channel_get_variable(peer_channel, SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE))) { switch_channel_set_flag(caller_channel, CF_BYPASS_MEDIA_AFTER_BRIDGE); }