mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 11:28:25 +00:00
Correct the argument separator for a Dial statement in pbx_dundi.
Closes issue #10483, patch by lunn git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79888 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4530,7 +4530,7 @@ static int dundi_exec(struct ast_channel *chan, const char *context, const char
|
|||||||
if (x < res) {
|
if (x < res) {
|
||||||
/* Got a hit! */
|
/* Got a hit! */
|
||||||
dundiargs = pbx_builtin_getvar_helper(chan, "DUNDIDIALARGS");
|
dundiargs = pbx_builtin_getvar_helper(chan, "DUNDIDIALARGS");
|
||||||
snprintf(req, sizeof(req), "%s/%s||%s", results[x].tech, results[x].dest,
|
snprintf(req, sizeof(req), "%s/%s,,%s", results[x].tech, results[x].dest,
|
||||||
S_OR(dundiargs, ""));
|
S_OR(dundiargs, ""));
|
||||||
dial = pbx_findapp("Dial");
|
dial = pbx_findapp("Dial");
|
||||||
if (dial)
|
if (dial)
|
||||||
|
|||||||
Reference in New Issue
Block a user