]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
native bridging changes
authorKevin P. Fleming <kpfleming@digium.com>
Wed, 2 Nov 2005 17:20:35 +0000 (17:20 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Wed, 2 Nov 2005 17:20:35 +0000 (17:20 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6944 65c4cc65-6c06-0410-ace0-fbb531ad65f3

ChangeLog
channel.c

index 3dd19d4e09ca0f466d20318d8a65f61b99d72626..9ddbd8a227539141a158488cc79e22772e1bd7c5 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-02  Kevin P. Fleming  <kpfleming@digium.com>
+
+       * channel.c (ast_channel_bridge): simplify native-bridge return logic, remove 'unsuccessful' message since it causes too many questions :-)
+
 2005-11-01  Kevin P. Fleming  <kpfleming@digium.com>
 
        * stdtime/localtime.c: fix build failure on uClibc systems (issue #5558)
index e2448436aa858cfffe1b58f79c5f4521dc22a532..91c9fa355c9ec62937f730f714313d1947cd86b5 100755 (executable)
--- a/channel.c
+++ b/channel.c
@@ -3460,14 +3460,10 @@ enum ast_bridge_result ast_channel_bridge(struct ast_channel *c0, struct ast_cha
                        } else {
                                ast_clear_flag(c0, AST_FLAG_NBRIDGE);
                                ast_clear_flag(c1, AST_FLAG_NBRIDGE);
-                               ast_verbose(VERBOSE_PREFIX_3 "Native bridge of %s and %s was unsuccessful\n", c0->name, c1->name);
                        }
-                       if (res == AST_BRIDGE_RETRY)
-                               continue;
                        switch (res) {
                        case AST_BRIDGE_RETRY:
-/*                             continue; */
-                               break;
+                               continue;
                        default:
                                ast_log(LOG_WARNING, "Private bridge between %s and %s failed\n", c0->name, c1->name);
                                /* fallthrough */