]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
when using the G() option to Dial, fix sending the called channel to 1 priority
authorRussell Bryant <russell@russellbryant.com>
Tue, 14 Mar 2006 18:41:05 +0000 (18:41 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 14 Mar 2006 18:41:05 +0000 (18:41 +0000)
beyond what was specified (issue #6523)

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

apps/app_dial.c

index 4ef6cad83c63d5a07b6ff954b17bc83632c1b1a4..2682ebf39b36e86f22a894dd2769273064e7e861 100644 (file)
@@ -1414,7 +1414,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);