summaryrefslogtreecommitdiff
path: root/apps/app_channelredirect.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_channelredirect.c')
-rw-r--r--apps/app_channelredirect.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/app_channelredirect.c b/apps/app_channelredirect.c
index 8c98ed7b7..f636e0248 100644
--- a/apps/app_channelredirect.c
+++ b/apps/app_channelredirect.c
@@ -96,10 +96,6 @@ static int asyncgoto_exec(struct ast_channel *chan, const char *data)
return 0;
}
- if (ast_channel_pbx(chan2)) {
- ast_set_flag(ast_channel_flags(chan2), AST_FLAG_BRIDGE_HANGUP_DONT); /* don't let the after-bridge code run the h-exten */
- }
-
res = ast_async_parseable_goto(chan2, args.label);
chan2 = ast_channel_unref(chan2);