Revision
16588
Author
anthm
Date
2010-02-09 09:20:16 -0600 (Tue, 09 Feb 2010)

Log Message

DP-14

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c (16587 => 16588)


--- freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c	2010-02-09 07:30:04 UTC (rev 16587)
+++ freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c	2010-02-09 15:20:16 UTC (rev 16588)
@@ -2441,7 +2441,8 @@
 				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);
 			}