[asterisk-users] ael vs conf

Steve Murphy murf at digium.com
Thu Dec 18 12:25:58 CST 2008


On Thu, 2008-12-18 at 15:36 +0200, Tzafrir Cohen wrote:
> On Thu, Dec 18, 2008 at 10:48:03AM -0200, David fire wrote:
> > hi
> > what i should use? ael or conf??? 
> 
> lua ?????
> 
> > thanks
> > David
> 
> Silly (and untested) tip of the day:
> 
> Instead of using include, use templates:
> 
> If you have:
> 
> 
> [a]
> exten => _12X
> 
> [b]
> include => a
> exten => _1.
> 
> 
> This won't work as planned, as [a] is included and checked after [b].
> So:
> 
> [a]
> exten => _12X
> 
> [b](a)
> exten => _1.
> 
> Would result in [b] having:
> exten => _12X
> exten => _1.
> 
> What's the ael equivalent?

I guess, if you use the #include <filename>, you could save the exten =>
_12X in a file snippet and include it where you want it.

I'll have to think about how AEL might support templates, tho.

murf


Steve Murphy
Digium, Inc. | Software Developer
57 Lane 17 –Cody, WY 82414 – USA
direct: +1 256-428-6002
mobile: +1 307-899-5535
fax/home: +1 307-754-5675
irc: codefreeze | jabber: murf at digium.com
Check us out at: www.digium.com& www.asterisk.org


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3227 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20081218/d7f56fb5/attachment.bin 


More information about the asterisk-users mailing list