summaryrefslogtreecommitdiff
path: root/main/bridge_after.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/bridge_after.c')
-rw-r--r--main/bridge_after.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/bridge_after.c b/main/bridge_after.c
index fbe4e605a..a21cbf58e 100644
--- a/main/bridge_after.c
+++ b/main/bridge_after.c
@@ -452,9 +452,9 @@ int ast_bridge_setup_after_goto(struct ast_channel *chan)
int goto_failed = -1;
/* We are going to be leaving the bridging system now;
- * clear any pending UNBRIDGE flags
+ * clear any pending unbridge flags
*/
- ast_channel_clear_softhangup(chan, AST_SOFTHANGUP_UNBRIDGE);
+ ast_channel_set_unbridged(chan, 0);
/* Determine if we are going to setup a dialplan location and where. */
if (ast_channel_softhangup_internal_flag(chan) & AST_SOFTHANGUP_ASYNCGOTO) {