[asterisk-commits] file: trunk r84991 - in /trunk: ./ main/channel.c
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Mon Oct  8 10:05:06 CDT 2007
    
    
  
Author: file
Date: Mon Oct  8 10:05:05 2007
New Revision: 84991
URL: http://svn.digium.com/view/asterisk?view=rev&rev=84991
Log:
Merged revisions 84990 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r84990 | file | 2007-10-08 12:03:07 -0300 (Mon, 08 Oct 2007) | 4 lines
Don't keep trying to native bridge if either of the channels are involved in a masquerade operation to be done.
(closes issue #10696)
Reported by: tbelder
........
Modified:
    trunk/   (props changed)
    trunk/main/channel.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/main/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/main/channel.c?view=diff&rev=84991&r1=84990&r2=84991
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Mon Oct  8 10:05:05 2007
@@ -4166,7 +4166,8 @@
 		    !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) ) {
+		    !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);
 			ast_set_flag(c1, AST_FLAG_NBRIDGE);
    
    
More information about the asterisk-commits
mailing list