mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 07:18:15 +00:00
Merge "bridge_softmix: clear hold when joining a softmix bridge" into 13
This commit is contained in:
@@ -479,6 +479,13 @@ static int softmix_bridge_join(struct ast_bridge *bridge, struct ast_bridge_chan
|
||||
: DEFAULT_SOFTMIX_INTERVAL,
|
||||
bridge_channel, 0);
|
||||
|
||||
/* Complete any active hold before entering, or transitioning to softmix. */
|
||||
if (ast_channel_hold_state(bridge_channel->chan) == AST_CONTROL_HOLD) {
|
||||
ast_debug(1, "Channel %s simulating UNHOLD for bridge softmix join.\n",
|
||||
ast_channel_name(bridge_channel->chan));
|
||||
ast_indicate(bridge_channel->chan, AST_CONTROL_UNHOLD);
|
||||
}
|
||||
|
||||
softmix_poke_thread(softmix_data);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user