diff --git a/main/channel.c b/main/channel.c index 1976e111ad12d3e10c8b198958d0227106725c51..9d8fd0dd10aec01f2dccd06abbd4fd53634f86c9 100644 --- a/main/channel.c +++ b/main/channel.c @@ -4166,7 +4166,8 @@ enum ast_bridge_result ast_channel_bridge(struct ast_channel *c0, struct ast_cha !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);