Merge "stasis: Call callbacks when imparting fails"

This commit is contained in:
Friendly Automation
2019-05-03 10:13:33 -05:00
committed by Gerrit Code Review
2 changed files with 4 additions and 0 deletions

View File

@@ -1928,6 +1928,7 @@ int ast_bridge_impart(struct ast_bridge *bridge,
res = bridge_impart_internal(bridge, chan, swap, features, flags, &cond);
if (res) {
/* Impart failed. Signal any other waiting impart threads */
ast_bridge_discard_after_callback(chan, AST_BRIDGE_AFTER_CB_REASON_IMPART_FAILED);
bridge_channel_impart_signal(chan);
}