Displaying 20 results from an estimated 7000 matches similar to: "AEL x LUA"
2012 Jan 06
1
Why write your dialplan using Lua?
Hello,
Reading through the Wiki:
"Asterisk supports the ability to write dialplan instructions in the Lua
programming language. This method can be used as an alternative to or in
combination with extensions.conf and/or AEL. PBX lua allows users to use
the full power of lua to develop telephony applications using Asterisk"
My question is, what is the benefit of using Lua? I recently
2010 Feb 09
1
Lua status in asterisk.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi
I have searched a bit for information regarding the status on the
dialplan in lua (pbx_lua.so). I know that 'hint' won't work and has to
be put in the regular extensions.conf/ael. Are there any other
considerations? Features that are not implemented, or known stability
issues?
Thanks,
Tommy Botten Jensen
-----BEGIN PGP
2014 Feb 12
2
How does extensions.lua compares to extensions.conf ?
Hello,
How does extensions.lua compares to extensions.conf or extensions.ael on
stability, performance and features ?
Would you recommand extensions.lua as an easy/easier way to access
memcached, redis or equivalent ?
Thoughs ? Comments ?
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2012 Oct 31
1
Asterisk 11 and stdexten written in AEL invoked by pbx_config
Almost two years ago, a change between how AEL code is built into
Asterisk dialplan between minor versions made clear the need to
provide a sane entry point into AEL subroutines and that's how
AELSub() born.
With Asterisk 11 release, they way [stdexten] at extensions.conf is
invoked changed from Macro to Gosub using the 'missing context
feature' and this caused that any stdexten
2009 Aug 17
2
Accessing Asterisk gosub arguments in extensions.lua
How does one go about accessing gosub arguments from Asterisk in
extensions.lua?
For example, I have the following in extensions.conf:
exten => 1000,1,Wait(1)
exten => 1000,n,Gosub(functions,mytest,1("123"))
exten => 1000,n,Hangup
And then the following in extensions.lua:
extensions = {
functions = {
["mytest"] = function()
2011 Feb 18
3
lua -asterisk manual
Please could someone advise good manual for using lua for asterisk dialplan.
There is not much docu about it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110218/42642787/attachment.htm>
2009 Feb 10
5
What do you use? .conf or AEL?
Hi all,
I built my first asterisk using the traditional (?) .conf files and
constructs.
I recall reading books at the time about AEL but it seemed "new" and
untested so I left it alone. Now, I'm interested to poll the audience
here to see if I should look into using AEL instead (or in addition to)
for future work.
TIA
2010 Jun 30
2
Pbx_lua vs. calling lua thru AGI?
Hello
I'm taking a look at how to write scripts to be called from the
dialplan, and saw pbx_lua mentioned.
I'd like to know more about this feature, such as what the difference
is with just calling the Lua interpreter through AGI (same difference
as between php-cgi and mod_php?), whether it's production-ready, etc.
Thank you for any help.
2008 Dec 18
2
ael vs conf
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
2009 Jan 08
3
AEL and };
Hi!
All the AEL examples have a semicolon after the closing curly bracket, e.g:
context test {
1 => Hangup();
};
but without ; it works fine too, e.g:
context test {
1 => Hangup();
}
So - what is the reason for the ; after the closing curly bracket?
thanks
klaus
2019 Oct 11
3
clarification on gosub, macros and AEL
I'm trying to clarify my understand of gosub, macros and AEL.
My understanding is that macros using the Macro() application, which is
defined in extensions.conf by:
[macro-foo]
...
and called in extensions.conf with
exten => _9NXXNXXXXXX.,n,Macro(fastbusy)
is deprecated in favour of Gosub(). True so far?
But then there are "macro"s defined in extensions.ael:
macro foo() {
2007 Feb 23
2
Any way to get rid of AEL created contexts?
"show dialplan" keeps showing contexts created by AEL. I tried deleting
/etc/asterisk/extensions.ael but kept getting these messages in the Asterisk
log:
Feb 14 21:39:53 WARNING[6074] pbx_ael.c: Unable to open
'/etc/asterisk/extensions.ael': No such file or directory
Feb 14 21:39:53 WARNING[6074] pbx.c: Requested contexts didn't get merged
Is there any way to delete or
2009 Feb 05
6
Newbie query: how to write priority n+101
Hi All,
Asterisk 1.4.12 on CentOS 5
Sorry for a question that I'm guessing is obvious to most of you.
I'm trying to revamp my dialplan. When I first created it, I had
something like:
exten => s,1,Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})})
exten => s,2,Dial(${rgMain},${RINGTIME},t)
exten => s,3,VoiceMail(main at default)
exten => s,103,VoiceMail(main at default)
2015 May 12
1
AEL keyword IfTime with variable on time range
Sorry, I forget to tell I tried, but not works.
*Context:*
context ivr_temp2 {
s => {
Proceeding();
str_time_01 = '06:00-12:00|*|*|*'; // Manh?
ifTime (${str_time_01}) {
Playback(ura/bom_dia);
}
}
}
The error is showed on "ael reload".
*Console errors:*
rs0000sr304*CLI> ael reload
Command 'ael reload' failed.
2007 Mar 22
1
using ael and extensions.conf togather?
Hi all,
i need to know whether we can use ael and extensions.conf togather. i mean
can we switch between contexts,extensions and priorities which are in
present in both? can 2 context be named same in extensions.conf and
extensions.ael?
--
Regards
Rizwan Hisham
Software Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 Aug 25
6
AEL - what is error: ael.flex:647 ael_yylex: Unhandled char(s):
Hi List,
When doing 'ael reload' on two servers, which are setup with asterisk 1.4.22
and 1.4.35 respectively, I am getting multiple lines of this strange error:
ERROR[15483]: ael.flex:647 ael_yylex: Unhandled char(s):
On three other servers with same versions of asterisk, i.e. 1.4.22, I don't
see this error.
Number of lines of the error are the same as the number of lines of the
2008 Dec 23
2
AEL Variable Warning Messages
I have two offices sharing a phone system. They also share a common
internal context because all of the employees of the second office also
work for the first office. Each office has 4 outside lines and I have
defined 2 channel groups in my zapata.conf. The second office needs all
of their outgoing calls to go out over their lines so the people they
call will have the correct callerID. I
2008 Dec 02
1
Using Dial M option from extensions.ael
Hi,
How can you use Dial application M(x) option from extensions.ael ?
(As a reminder, this M(x) executes macro x when Dial called party answers).
It seems to me that asterisk keeps looking for this macro in extensions.conf
and not in extensions.ael.
I tried both (and variations of those with ^ instead of ,) :
Dial(Local/${EXTEN:1},,M(mymacro(${EXTEN}));
2009 May 11
1
Support of /* */ comments in ael.vim
Hello,
It seems /* */ comments are not supported in ael.vim (which brings AEL
syntax-highlighting to vim).
Is it hard to add this feature and have uploaded in vim extensions
downloading site ?
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090511/18f33bab/attachment.htm
2008 Jan 17
3
AEL includes?
How do I include a file (not a context) in AEL? #include "filename"
returns an error.
Thanks,
Jay