[asterisk-users] Reasons to use AEL
Scott Gifford
sgifford at suspectclass.com
Sat Jul 25 10:53:48 CDT 2009
Philipp Kempgen <philipp.kempgen at amooma.de> writes:
> Miguel Molina schrieb:
>> Philipp Kempgen escribió:
>
>>> Use macros in AEL so you don't have to care about the underlying
>>> implementation. :-) scnr
>
>> Right now for every implementation I made, I didn't have the need to
>> program in AEL, only plain extensions, some AMI and AGI. But well, it
>> seems to have a lot of advantages. Please tell me some, I may take a
>> look to it too see if it's worth spending the time to learn and get the
>> best out of it.
>
> I'd say control structures (and proper indentation) are one of the
> most important reasons to use AEL (conditionals: if .. else, switch
> .. case, ..., loops: for, while) because they look so familiar.
> Imagine nested "control structures" in extensions.conf with Goto(),
> GotoIf(), While(), EndWhile(), ExitWhile(), ContinueWhile() and
> priorities - such code is not what I call maintainable.
Can you recommend a good tutorial or book that covers AEL? I tend to
use extensions.conf because most of the examples I come across use it,
and it's covered by my first edition of the O'Reilly Asterisk book.
Do later editions of the O'Reilly book cover AEL thoroughly?
Thanks,
----Scott.
More information about the asterisk-users
mailing list