--- chan_local.c.orig 2010-01-04 16:21:45.000000000 +0000 +++ chan_local.c 2010-02-16 17:36:18.000000000 +0000 @@ -287,7 +287,7 @@ static void check_bridge(struct local_pvt *p, int isoutbound) { struct ast_channel_monitor *tmp; - if (ast_test_flag(p, LOCAL_ALREADY_MASQED) || ast_test_flag(p, LOCAL_NO_OPTIMIZATION) || !p->chan || !p->owner || (p->chan->_bridge != ast_bridged_channel(p->chan))) + if (ast_test_flag(p, LOCAL_ALREADY_MASQED) || ast_test_flag(p, LOCAL_NO_OPTIMIZATION) || !p->chan || !p->owner) return; /* only do the masquerade if we are being called on the outbound channel,