From fafa7d93e4da62fb1e14debac459073e7710d22a Mon Sep 17 00:00:00 2001 From: Jason Parker Date: Fri, 17 Aug 2007 15:27:19 +0000 Subject: 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 --- pbx/pbx_dundi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pbx/pbx_dundi.c') 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) -- cgit v1.2.3