fix transfer goto issue
authorAnthony Minessale II <anthmct@yahoo.com>
Tue, 28 Dec 2004 20:31:37 +0000 (20:31 +0000)
committerAnthony Minessale II <anthmct@yahoo.com>
Tue, 28 Dec 2004 20:31:37 +0000 (20:31 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4572 65c4cc65-6c06-0410-ace0-fbb531ad65f3

pbx.c

diff --git a/pbx.c b/pbx.c
index 209f059..82b7c78 100755 (executable)
--- a/pbx.c
+++ b/pbx.c
@@ -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);