From: Matt O'Gorman Date: Thu, 6 Jul 2006 21:41:23 +0000 (+0000) Subject: patch resolves issue with when to decide if its right time X-Git-Tag: 1.2.10~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84881a0662e8c5e25c56ade86400bb26b74a5f64;p=thirdparty%2Fasterisk.git patch resolves issue with when to decide if its right time to native bridge, feature redirect was not being checked. patch from bug #7296 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37224 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channel.c b/channel.c index 3aa88130d5..1f5f596052 100644 --- a/channel.c +++ b/channel.c @@ -3483,7 +3483,8 @@ enum ast_bridge_result ast_channel_bridge(struct ast_channel *c0, struct ast_cha (config->timelimit == 0) && (c0->tech->bridge == c1->tech->bridge) && !nativefailed && !c0->monitor && !c1->monitor && - !c0->spies && !c1->spies) { + !c0->spies && !c1->spies && !ast_test_flag(&(config->features_callee),AST_FEATURE_REDIRECT) && + !ast_test_flag(&(config->features_caller),AST_FEATURE_REDIRECT) ) { /* Looks like they share a bridge method and nothing else is in the way */ if (option_verbose > 2) ast_verbose(VERBOSE_PREFIX_3 "Attempting native bridge of %s and %s\n", c0->name, c1->name);