aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-14 18:41:05 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-14 18:41:05 +0000
commit566b330bf02fb2e3d3abae06e32717ce8aee91f6 (patch)
tree2ad5341a3e37f917b4c501deb6ea69cb5980f37e
parentc18b08d840bd95c9acf95ceb1d27d525d60f5da9 (diff)
when using the G() option to Dial, fix sending the called channel to 1 priority
beyond what was specified (issue #6523) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@12927 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_dial.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 4ef6cad83..2682ebf39 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -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);