[asterisk-users] Variable Scope Question

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Thu Nov 6 12:08:03 CST 2008


On Thursday 06 November 2008 11:41:08 Brent Davidson wrote:
> Tilghman Lesher wrote:
> > [companyA]
> > exten => _X.,1,Set(company=A)
> > exten => _X.,n,Goto(maincontext,${EXTEN},1)
> >
> > [companyB]
> > exten => _X.,1,Set(company=B)
> > exten => _X.,n,Goto(maincontext,${EXTEN},1)
>
> I should probably also mention that I am using AEL for my dialplan.
> (i'm a programmer and the AEL syntax feels more natural to me) .  Does
> the "Set" command work the same way in AEL as it does in the regular
> .conf file?

AFAIK, yes, it does.

-- 
Tilghman



More information about the asterisk-users mailing list