diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-03-01 22:19:32 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-03-01 22:19:32 +0000 |
commit | 5e445b255e9a8608c1b30831a841654464576d85 (patch) | |
tree | 1938f385031ad9bd246c6f8f99d34b8df4228baa | |
parent | 4ae8b085ad67ce31f8b8a18bf69aaf92e5f2baa5 (diff) |
Don't even attempt to optimize things when a proxy channel is involved. It will just explode in weird and unexplaineable ways. (issue #9175 reported by clegall_proformatique)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@57317 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_local.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_local.c b/channels/chan_local.c index b3bf3b24c..df442a0ad 100644 --- a/channels/chan_local.c +++ b/channels/chan_local.c @@ -187,7 +187,7 @@ static void check_bridge(struct local_pvt *p, int isoutbound) { if (p->alreadymasqed || p->nooptimization) return; - if (!p->chan || !p->owner) + if (!p->chan || !p->owner || (p->chan->_bridge != ast_bridged_channel(p->chan))) return; /* only do the masquerade if we are being called on the outbound channel, |