hi what i should use? ael or conf??? thanks David -- (\__/) (='.'=)This is Bunny. Copy and paste bunny into your (")_(")signature to help him gain world domination. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081218/4e07c8ed/attachment.htm
David fire wrote:> hi > what i should use? ael or conf???I think it's personal choice at this point, I recently switched everything to ael, it's easier to read and follow the flow and less typing of redundant stuff. I have found that ael finds more of my fat finger mistakes when it compiles in Asterisk, bombing out during ael load instead of a call bombing in unexpected ways if you have a syntax error in the .conf file. Redoing extensions.conf into extensions.ael also allowed me to reduce the file several hundred lines due to optimization of a file that was out of control to begin with. The reduction in size was still achieved even though I had to add call queue functionality into the ael file due to AgentCallbackLogin being eliminated. This experience taught me I need to go back and review everything every few months to keep things from getting out of hand. -Ron
On Thu, Dec 18, 2008 at 10:48:03AM -0200, David fire wrote:> hi > what i should use? ael or conf???lua ?????> thanks > DavidSilly (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? -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir