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 3dd19d4..9ddbd8a 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 e244843..91c9fa3 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 */