Displaying 20 results from an estimated 70000 matches similar to: "AEL Question"
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
2006 Jun 21
0
AEL Status
Hello--
It's been a while since I wrote any updates about AEL/AEL2 to the users
list, and I thought it might be worthwhile to update everyone on what is
going on in respects to AEL.
What the heck is AEL? The Asterisk Extension Language. A higher level
language for extensions.conf, which will appear in the config file,
extensions.ael, in the /etc/asterisk/ (or equiv) directory. It provides
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() {
2006 Jun 26
0
AEL scripting, CUT use and string concatenation
Hi to all,
i'm wondering to realize a dynamic macro that can take the number of
extensions to RING,the ring type and all the parameter in a dynamic way.
I have done this code to test it:
macro pbx-ring-group-ael(pbx_id,num_int,ring_type,timeout,ext_string) {
//; pbx_id = Id of PBX in the DB
//; num_int = Quantity of extensions to ring
//; ring_type = Kind of RING (C=contemporaneous
2006 Apr 24
0
Development news :: New AEL and configuration system
Friends in the Asterisk community,
Yesterday the Asterisk development branch, also known as "svn trunk",
changed quite a lot. We added
two major features: A new version of AEL and a new configuration
system. Hang on, and I'll explain!
* AEL - The Asterisk Extension Language
--------------------------------------------------------
Last summer, Mark Spencer created a new
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
2007 Jan 23
0
AEL parse failure on 1.2.14
Am I doing something really stupid in this AEL macro, or is nesting an
'if' inside a 'switch', inside an 'if' not supported in the 1.2 AEL
parser?
macro stdexten( ext , dev ) {
// First determine if the SIP peer is registered here
Set(aretheyhere=${SIPPEER(${ext}:status)});
if(${aretheyhere:0:2}) == "OK") {
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
2011 May 05
1
ael context ~~s~~ in macros broke Dial() U() option in 1.6.2.17.2 and newer
Hi,
I think this must be a bug introduced with 1.6.2.17.something.
When I upgrade from asterisk-1.6.2.16.1 to asterisk-1.6.2.17.2 or 1.6.2.18,
my AEL Dial() commands with the "U" options fail with the following error:
[May 3 12:05:54] ERROR[6300] app_stack.c: Attempt to reach a non-existent
destination for gosub: (Context:screen, Extension:s, Priority:1)
Here are the segments
2011 Nov 14
0
Asterisk 1.6 AEL Macro vs GoSub
Hi,
I have recently run into the problem with macro implementation in AEL in Asterisk 1.6. I have some older AEL dialplan which runs on 1.4 but it does not on 1.6 and I'm not sure how to solve this correctly. Let me explain...
For example, in Asterisk 1.4 I have a macro like this:
macro read_digits(digits) {
Set(playlist=${SHELL(${PYTHON} ${SCRIPTS}/read_digits.py
2006 Jan 06
0
--- AEL 2 --- Try it out!
Hello--
I've just written and submitted a new module for asterisk, to the
asterisk bug database.
See http://bugs.digium.com/view.php?id=6021
There is a file there you can download, AEL2v0.3.patch.bz2
and I created a wiki page: http://www.voip-info.org/wiki/view/Asterisk+AEL2
Why did I do it? Because I was very impressed with AEL, but the current
AEL compiler isn't real good at
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.
2009 Feb 25
0
Call files with extensions.ael : "One app must be specified"
Hi,
Using a 1.4 system in which dialplan is written using extensions.conf, I can
use a custom .call file.
On another system in which dialplan is written using extensions.ael, I can't
use any custom .call file : system keeps replying :
"apply_outgoing: At least one of app or extension (or keyword message/pdu)
must be specified, along with tech and dest in file
2007 Jun 30
0
AEL + Realitme?
Hello
I've spent the past hour searching and reading and searching some
more. I've jet to come to a solution.
I want to have some of my extensions in extensions.ael, while some
should reside in Realtime.
Realtime works just fine, so does my extensions in AEL. But not on the
same time.
This is how my extensions.ael look like now:
context internal
{
100 =>
2008 Dec 02
0
Using Dial M option from extensions.ael [SOLVED]
2008/12/2 Philipp Kempgen <philipp.kempgen at amooma.de>
> Philipp Kempgen schrieb:
> > Olivier schrieb:
> >
> >> 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
>
2009 Mar 09
0
Crash when reloading AEL
Hello list,
I have this strange problem whenever I try to make an "ael reload" from the
Asterisk CLI. The command gives the following result and crashes:
voip-1*CLI> ael reload
Disconnected from Asterisk server
Executing last minute cleanups
Asterisk ending (0).
root at voip-1:/etc/asterisk#
As far as I can see, aelparse can't find any errors in my configuration,
following
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
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:
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