From 704c756c4a3ecf56c2add092862038983b069cae Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Wed, 20 Jun 2007 17:35:08 +0000 Subject: Merge work to make U(...) option work for Dial git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70358 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- pbx/pbx_ael.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pbx') 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); -- cgit v1.2.3