mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 07:48:14 +00:00
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/branches/1.2@12927 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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(chan, opt_args[OPT_ARG_GOTO]);
|
||||||
ast_parseable_goto(peer, opt_args[OPT_ARG_GOTO]);
|
ast_parseable_goto(peer, opt_args[OPT_ARG_GOTO]);
|
||||||
peer->priority++;
|
|
||||||
ast_pbx_start(peer);
|
ast_pbx_start(peer);
|
||||||
hanguptree(outgoing, NULL);
|
hanguptree(outgoing, NULL);
|
||||||
LOCAL_USER_REMOVE(u);
|
LOCAL_USER_REMOVE(u);
|
||||||
|
|||||||
Reference in New Issue
Block a user