From 0971b51cfcf21409a3097a8f24f0f7dbc7ce2d74 Mon Sep 17 00:00:00 2001
From: Joshua Colp <jcolp@digium.com>
Date: Tue, 6 Nov 2007 20:55:58 +0000
Subject: [PATCH] Remove native bridging check for DTMF based transfers. Thanks
 to the last batch of RTP changes it is no longer required for the media
 stream to go through Asterisk if DTMF is going over signalling. It will
 simply reinvite back as needed. (closes issue #11172) Reported by: ibc

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89057 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 main/channel.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/main/channel.c b/main/channel.c
index 7f83622cd0..b2f993d258 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -4196,8 +4196,6 @@ enum ast_bridge_result ast_channel_bridge(struct ast_channel *c0, struct ast_cha
 		    (c0->tech->bridge == c1->tech->bridge) &&
 		    !nativefailed && !c0->monitor && !c1->monitor &&
 		    !c0->audiohooks && !c1->audiohooks && 
-		    !ast_test_flag(&(config->features_callee),AST_FEATURE_REDIRECT) &&
-		    !ast_test_flag(&(config->features_caller),AST_FEATURE_REDIRECT) &&
 		    !c0->masq && !c0->masqr && !c1->masq && !c1->masqr) {
 			/* Looks like they share a bridge method and nothing else is in the way */
 			ast_set_flag(c0, AST_FLAG_NBRIDGE);
-- 
GitLab