]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
(closes issue #10009)
authorJoshua Colp <jcolp@digium.com>
Thu, 30 Aug 2007 23:53:41 +0000 (23:53 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 30 Aug 2007 23:53:41 +0000 (23:53 +0000)
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@81401 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_features.c

index 405af454fa327835084d71e008ab145c37519b91..87e84ed0c5f432d5bdf524f48b4cd562d476a60a 100644 (file)
@@ -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;
                }