diff options
Diffstat (limited to 'main/bridge_after.c')
-rw-r--r-- | main/bridge_after.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/bridge_after.c b/main/bridge_after.c index 7a693952c..3d1d2f362 100644 --- a/main/bridge_after.c +++ b/main/bridge_after.c @@ -477,6 +477,9 @@ int ast_bridge_setup_after_goto(struct ast_channel *chan) ast_pbx_h_exten_run(chan, after_bridge->context); } } else if (!ast_check_hangup(chan)) { + /* Clear the outgoing flag */ + ast_clear_flag(ast_channel_flags(chan), AST_FLAG_OUTGOING); + if (after_bridge->specific) { goto_failed = ast_explicit_goto(chan, after_bridge->context, after_bridge->exten, after_bridge->priority); |