Displaying 20 results from an estimated 3000 matches similar to: "AEL2 Confusion"
2006 Jun 08
1
AEL2
Being rather new to Asterisk I was wondering what the current status of
AEL2 is? I see reference to it back in January but that was many versions
ago. Is it in the current code?
Doug
****************************
* Doug Crompton *
* Richboro, PA 18954 *
* 215-431-6307 *
* *
* doug@crompton.com *
* http://www.crompton.com *
****************************
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
2006 Jan 13
2
AEL2 -- The Future --
Call to Action!
For those who have the courage/ability, go grab an SVN copy of the
asterisk release, the HEAD version,
and my latest patch, from: http://bugs.digium.com/view.php?id=6021
Right now, the latest version of the patch is 0.10.
apply it to the SVN head version, and do a "make".
Read the Wiki on AEL2: http://www.voip-info.org/wiki/view/Asterisk+AEL2
Look at the examples
2006 Dec 19
1
AEL2 on Asterisk 1.2.4
Hey all,
I am very interested in using AEL2 (don't want to upgrade to 1.4 to get
it though), but am having some problems upgrading/patching my asterisk
system. I am following the instructions on the wiki:
http://www.voip-info.org/wiki/view/Asterisk+AEL2#AEL2AnnouncementsandNews
But get the following error:
2006 May 31
2
AEL2 and CID
Does anyone know how to get CID working in AEL2 ?
In extensions.conf you can do:
exten => 111/666,1,PlayBack(demo-congrats)
exten => 111/666,2,Hangup()
exten => 111,1,PlayBack(demo-moreinfo)
exten => 111,2,Hangup()
and if callerid 666 dialed 111, they would get demo-congrats, everyone
else gets demo-moreinfo.
In AEL:
111 => {
Playback(demo-moreinfo);
2006 Nov 03
2
AEL2 in 1.2
I know I compiled AEL2 into 1.2 before, considering I just copied my
source from one server to another, yet I can't seem to figure out why
I'm getting this error. Anyone have any ideas?
make[1]: Entering directory `/usr/local/src/asterisk-svn/asterisk/pbx'
flex argdesc.l
"argdesc.l", line 19: unrecognized %option: reentrant
"argdesc.l", line 20: unrecognized
2008 Sep 10
3
Newbie AEL2: Syntax for Hint
I am struggling to find out how to code hint in AEL2.
I did hint(Custom:light1) and it keeps complaining about the : (colon).
It works fine for SIP device like hint(SIP/439).
Anyone who has tried it before?
2009 May 11
3
How to write custom functions in AEL2 ,
Hi,
I'm using asterisk 1.6.1 and AEL2.
I'm trying to find the best way to write my own custom functions ?
At the moment, I'm using this pattern (extensions.ael) :
context foo {
123 => {
&myfunc(123456);
NoOp(${GOSUB_RETVAL});
};
macro myfunc (arg) {
Return (${arg});
}
1. First, I keep getting warnings like
Warning: file /etc/asterisk/extensions.ael, line
2007 Oct 31
4
AEL2 and Callbacks
I am originating a command via the AMI with this...
Action: Login
Username: xxx
Secret: yyy
ACTION: Originate
Async: yes
Timeout: 60000
Exten: callback
Channel: Local/6505551212 at LegA
Callerid: 849120
Context: default
ActionID: 849120
My LegA context:
-----------------------
context LegA {
_X. => {
Dial(SIP/${EXTEN}@Provider);
}
}
And my default context:
2007 Jun 04
1
AEL2 Includes in Macro...
Where's Steve Murphy when you need him? :-)
This doesn't seem to work in AEL2...
Macro foo(arg1) {
.....
Includes {
Hangup;
}
}
The error is: File: /etc/asterisk/extensions.ael, Line 59, Cols: 5-12:
Error: syntax error, unexpected KW_INCLUDES, expecting '}'
The same error does not occur when the includes is in a context.
I need to
2009 Apr 07
1
AEL2, BASE64_DECODE and hexadecimal
Hi,
I'm trying to pass a single carriage return (0x0d in hexa) to Sendtext in an
AEL2 file like this :
SendText(${BASE64_DECODE(DQ==)});
Value sent (8 bytes long) is very strange :
Content-Type: text/plain;charset=UTF-8
Content-Length: 8
?ez?==
Any workaround ?
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2011 Feb 18
2
pbx_ael.so: undefined symbol: ast_compile_ael2
Hello,
trying to load ael module in asterisk ver 1.6.2 got the following:
asterisk*CLI> module load pbx_ael.so
Unable to load module pbx_ael.so
Command 'module load pbx_ael.so' failed.
[Feb 18 11:25:47] WARNING[7412]: loader.c:449 load_dynamic_module: Error
loading module 'pbx_ael.so': /usr/lib/asterisk/modules/pbx_ael.so: undefined
symbol: ast_compile_ael2
[Feb 18 11:25:47]
2010 May 12
1
problems with unicall
Hello,
i'm using asterisk 1.4.9 in fedora 7, i was compiled its with this package:
libpri-1.4.2
asterisk-1.4.9
spandsp-0.0.4
unicall-0.0.5pre1
libmfcr2-0.0.3
libsupertone-0.0.2
libunicall-0.0.3
zaptel-1.4.4
i'm using a E1 pci card with R2 but they not work, when I start the asterisk
its generate this log:
[May 12 08:53:24] WARNING[30814] channel.c: No channel type
2009 May 03
2
Asterisk not starting up due to database problems
When I try and start asterisk I get the following, however I have commented out the data the connections in res_mysql.conf and res_pgsql.conf. I am not sure therefore why I am getting these errors. Do I have to change something else to turn this off?
Thanks
Asterisk 1.4.21.2~dfsg-3, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster at digium.com>
Asterisk
2006 May 30
20
AEL #include
Anyone know if #include works in ael yet?
extensions.ael:
#include "inc/pbx/global.conf"
context test_context {
};
*CLI> ael reload
May 30 13:56:45 NOTICE[8516]: pbx_ael.c:1120 handle_root_token: Unknown root token '#include'
May 30 13:56:45 WARNING[8516]: pbx.c:3758 ast_merge_contexts_and_delete: Requested contexts didn't get merged
2008 Feb 21
3
How to get a clean, basic configuration?
Hello
I'm using a standard Asterisk install with default settings, and when
I run "reload", I see that Asterisk fetches configuration information
from a lot more sources than just my extensions.conf and sip.conf.
For instance:
-- Registered indication country 've'
-- Registered indication country 'za'
-- Setting default indication country to
2011 Dec 26
0
AEL2: How to get rid of "does not end with a return; I will insert one" warnings
Hi,
I'm converting to asterisk 1.8 an existing (and lengthy) dialplan
written in AEL2.
I'm using in many places things like
macro foo {
BlahBlah();
return;
catch h {
BlahBlah();
}
};
How can I safely get rid of "does not end with a return; I will insert
one" warnings with such constructs ?
Regards
2008 Mar 18
0
AEL2 Hint & Parking
I've been reading most of the day and can't seem to find a clear
definition of the syntax for parking lot hints in AEL2. I have tried
all of the following and they either do not light up the line button on
my Snom 300 or give syntax errors:
hint(park/701) 701 => {
ParkedCall(701);
}
hint(park:701) 701 => {
ParkedCall(701);
}
hint(park/701 at parkedcalls) 701 =>
2009 Sep 23
0
DYNAMIC FEATURES, AEL2 - how to use Goto, Gosub or Macro ?
Hello,
I'm using AEL2 (in Asterisk 1.6.1.6) and I can't find a way to successfully
come back into my dialplan.
I've tried things like this (in features.conf) :
toto => #9,peer,Goto,mylocal2,s,1
But typing #9 (from channel SIP/7275, in example bellow) I've got:
-- Feature Found: toto exten: toto
-- Started music on hold, class 'default', on SIP/7275-08b7fbe0
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