mirror of
https://github.com/asterisk/asterisk.git
synced 2025-12-01 10:41:44 +00:00
bridge_simple: Increase code verbosity for clarity.
There's no actual problem here, but I can see how it might by confusing. Resolves: #1444
This commit is contained in:
@@ -157,11 +157,13 @@ static int simple_bridge_join(struct ast_bridge *bridge, struct ast_bridge_chann
|
|||||||
/* The ast_channel_hold_state() and ast_channel_name() accessors need to be
|
/* The ast_channel_hold_state() and ast_channel_name() accessors need to be
|
||||||
* called with the associated channel lock held.
|
* called with the associated channel lock held.
|
||||||
*/
|
*/
|
||||||
if ((unhold_c1 = ast_channel_hold_state(c1) == AST_CONTROL_HOLD)) {
|
unhold_c1 = (ast_channel_hold_state(c1) == AST_CONTROL_HOLD);
|
||||||
|
if (unhold_c1) {
|
||||||
ast_debug(1, "Channel %s simulating UNHOLD for bridge simple join.\n", ast_channel_name(c1));
|
ast_debug(1, "Channel %s simulating UNHOLD for bridge simple join.\n", ast_channel_name(c1));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((unhold_c0 = ast_channel_hold_state(c0) == AST_CONTROL_HOLD)) {
|
unhold_c0 = (ast_channel_hold_state(c0) == AST_CONTROL_HOLD);
|
||||||
|
if (unhold_c0) {
|
||||||
ast_debug(1, "Channel %s simulating UNHOLD for bridge simple join.\n", ast_channel_name(c0));
|
ast_debug(1, "Channel %s simulating UNHOLD for bridge simple join.\n", ast_channel_name(c0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user