aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-30 23:53:41 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-30 23:53:41 +0000
commit9a18283eef03333ee81a7a9ee0b10a58ab669a6a (patch)
tree8083b6dbb2b90ce1124f4248af45c6b65c8db3f6 /res
parent8931e60067596a08799fd039d38e19fb336828e5 (diff)
(closes issue #10009)
Reported by: dimas Don't output a bridge failed warning message if it failed because one of the channels was part of the masquerade process. That is perfectly normal. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@81401 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r--res/res_features.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/res/res_features.c b/res/res_features.c
index 405af454f..87e84ed0c 100644
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -1457,7 +1457,8 @@ int ast_bridge_call(struct ast_channel *chan,struct ast_channel *peer,struct ast
}
}
if (res < 0) {
- ast_log(LOG_WARNING, "Bridge failed on channels %s and %s\n", chan->name, peer->name);
+ if (!ast_test_flag(chan, AST_FLAG_ZOMBIE) && !ast_test_flag(peer, AST_FLAG_ZOMBIE))
+ ast_log(LOG_WARNING, "Bridge failed on channels %s and %s, res = %d\n", chan->name, peer->name, res);
return -1;
}