diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-17 15:27:19 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-17 15:27:19 +0000 |
commit | 3914b3b35663a1d8fe94d743f211d93b5fb6d31b (patch) | |
tree | 5124ed9ec6978dbe66dc346ece5e3e43681967e7 /pbx | |
parent | 6f32281724a5eefab2a76a55dbb44c9884515721 (diff) |
Correct the argument separator for a Dial statement in pbx_dundi.
Closes issue #10483, patch by lunn
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79888 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rw-r--r-- | pbx/pbx_dundi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c index 7d3fd82c1..da9280855 100644 --- a/pbx/pbx_dundi.c +++ b/pbx/pbx_dundi.c @@ -4530,7 +4530,7 @@ static int dundi_exec(struct ast_channel *chan, const char *context, const char if (x < res) { /* Got a hit! */ 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, "")); dial = pbx_findapp("Dial"); if (dial) |