diff options
Diffstat (limited to 'apps/app_channelredirect.c')
-rw-r--r-- | apps/app_channelredirect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_channelredirect.c b/apps/app_channelredirect.c index 8fe543dab..bea7a91f1 100644 --- a/apps/app_channelredirect.c +++ b/apps/app_channelredirect.c @@ -96,7 +96,7 @@ static int asyncgoto_exec(struct ast_channel *chan, const char *data) return 0; } - if (chan2->pbx) { + if (ast_channel_pbx(chan2)) { ast_set_flag(chan2, AST_FLAG_BRIDGE_HANGUP_DONT); /* don't let the after-bridge code run the h-exten */ } |