fix transfer goto issue

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Anthony Minessale II
2004-12-28 20:31:37 +00:00
parent 4c1332fb76
commit 886ebab04a

2
pbx.c
View File

@@ -3882,7 +3882,7 @@ int ast_async_goto(struct ast_channel *chan, const char *context, const char *ex
ast_explicit_goto(tmpchan,
(context && !ast_strlen_zero(context)) ? context : chan->context,
(exten && !ast_strlen_zero(exten)) ? exten : chan->exten,
priority - 1);
priority);
/* Masquerade into temp channel */
ast_channel_masquerade(tmpchan, chan);