aboutsummaryrefslogtreecommitdiffstats
path: root/pbx
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-20 17:35:08 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-20 17:35:08 +0000
commit535b46fc6fbea8ea02e59d63251f93ce96987f83 (patch)
tree5d073952af64012eba1220ad76f8f85dc0ef418b /pbx
parent321b9a2a98ec95e5d97f96c248200d7e45c1ecfd (diff)
Merge work to make U(...) option work for Dial
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70358 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rw-r--r--pbx/pbx_ael.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_ael.c b/pbx/pbx_ael.c
index c2b12aa0b..66ea629a4 100644
--- a/pbx/pbx_ael.c
+++ b/pbx/pbx_ael.c
@@ -3886,7 +3886,7 @@ void ast_compile_ael2(struct ast_context **local_contexts, struct pval *root)
struct ael_priority *np2 = new_prio();
np2->type = AEL_APPCALL;
np2->app = strdup("Set");
- snprintf(buf,sizeof(buf),"%s=${ARG%d}", lp->u1.str, argc++);
+ snprintf(buf,sizeof(buf),"LOCAL(%s)=${ARG%d}", lp->u1.str, argc++);
remove_spaces_before_equals(buf);
np2->appargs = strdup(buf);
linkprio(exten, np2);