Merged revisions 12927 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Tue, 14 Mar 2006 18:42:56 +0000 (18:42 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 14 Mar 2006 18:42:56 +0000 (18:42 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r12927 | russell | 2006-03-14 13:41:05 -0500 (Tue, 14 Mar 2006) | 3 lines

when using the G() option to Dial, fix sending the called channel to 1 priority
beyond what was specified (issue #6523)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12928 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_dial.c

index 20726e1..6b51670 100644 (file)
@@ -1425,7 +1425,6 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags
                        }
                        ast_parseable_goto(chan, opt_args[OPT_ARG_GOTO]);
                        ast_parseable_goto(peer, opt_args[OPT_ARG_GOTO]);
-                       peer->priority++;
                        ast_pbx_start(peer);
                        hanguptree(outgoing, NULL);
                        LOCAL_USER_REMOVE(u);