[asterisk-commits] file: branch file/bridging r79619 - /team/file/bridging/main/bridging.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Aug 15 15:15:17 CDT 2007
Author: file
Date: Wed Aug 15 15:15:17 2007
New Revision: 79619
URL: http://svn.digium.com/view/asterisk?view=rev&rev=79619
Log:
Add additional debugging info for when a channel is already in formats the bridge technology likes.
Modified:
team/file/bridging/main/bridging.c
Modified: team/file/bridging/main/bridging.c
URL: http://svn.digium.com/view/asterisk/team/file/bridging/main/bridging.c?view=diff&rev=79619&r1=79618&r2=79619
==============================================================================
--- team/file/bridging/main/bridging.c (original)
+++ team/file/bridging/main/bridging.c Wed Aug 15 15:15:17 2007
@@ -449,7 +449,8 @@
return -1;
}
ast_debug(1, "Bridge %p put channel %s into read format %s(%d)\n", bridge, bridge_channel->chan->name, ast_getformatname(best_format), best_format);
- }
+ } else
+ ast_debug(1, "Bridge %p is happy that channel %s already has read format %s(%d)\n", bridge, bridge_channel->chan->name, ast_getformatname(formats[0]), formats[0]);
if (!(bridge->technology->formats & formats[1])) {
int best_format = ast_best_codec(bridge->technology->formats);
@@ -466,7 +467,8 @@
return -1;
}
ast_debug(1, "Bridge %p put channel %s into write format %s(%d)\n", bridge, bridge_channel->chan->name, ast_getformatname(best_format), best_format);
- }
+ } else
+ ast_debug(1, "Bridge %p is happy that channel %s already has write format %s(%d)\n", bridge, bridge_channel->chan->name, ast_getformatname(formats[1]), formats[1]);
/* Before we actually become part of this bridge make sure we are in the signalling wait state */
bridge_channel->state = AST_BRIDGE_CHANNEL_STATE_WAIT;
More information about the asterisk-commits
mailing list