search for: ael2

Displaying 20 results from an estimated 43 matches for "ael2".

Did you mean: ael
2006 Jan 13
2
AEL2 -- The Future --
...ose 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 at: http://www.voip-info.org/wiki/view/AEL+Example+Snippets Then, sit down and rewrite your extension.conf to /etc/asterisk/extensions.ael2 Use "utils/aelparse -n" to check your file. Get rid of all the synt...
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: "'http://svn.dig...
2006 Nov 16
1
AEL2 Confusion
I just downloaded and installed asterisk-1.2.13 Reading http://www.voip-info.org/wiki/view/Asterisk+AEL2 says I should be using AEL2, but what's downloaded is pbx_ael not pbx_ael2 as expected. Where and how do I get current release of AEL2 - Is there some 'How To' somewhere? TIA Bart
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 =&g...
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 pointing out problems. Mostly, it seems to silently ignore problems. But I have a better idea. I w...
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?
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 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: unre...
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 li...
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....
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: http://lists.digium.com/piper...
2007 Oct 31
4
AEL2 and Callbacks
...[29795]: pbx.c:2450 __ast_pbx_run: Channel 'Local/16505551212 at LegA-f707,1' sent into invalid extension 's' in context 'default', but no invalid handler Uhm, why? I have a default context with a callback extension. Of course I have no explicit priority 1 though... this is AEL2.... What's it complaining for? Doug. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.d...
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 equ...
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 => { ParkedCall(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...
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
2006 Nov 01
0
AEL2 - CUT function usage
Hi, In Asterisk 1.2.7, my AEL code looks like this: macro callForwardHunt(numargs,numlist,typelist,ttr) { for(x=1;${x}<${numargs}+1;x=${x}+1) { CUT(number=numlist,-,${x}); CUT(type=typelist,-,${x}); NoOp(${number}); NoOp(${type}); Dial(${type}${number},${ttr}); }; }; In Asterisk
2010 Apr 02
1
Gosub replacement within AEL2 dialplans
Hello, When reloading a diaplan (asterisk 1.6.1.X), I can see in console : [Apr 2 09:02:00] WARNING[2217]: ael/pval.c:2522 check_pval_item: Warning: file /etc/asterisk/extensions.ael, line 621-621: application call to Gosub affects flow of control, and needs to be re-written using AEL if, while, goto, etc. keywords instead! What is then the recommended substitution for Gosub() application
2013 Jul 03
2
Question on AEL2 string comparisons
I have this code in a dial plan: exten => _417XX,n,GotoIf($["${CALLERID(num)}" > "SIP/41799"]?notfromlocal) exten => _417XX,n,GotoIf($["${CALLERID(num)}" < "SIP/41700"]?notfromlocal) The value of "${CALLERID(num)}" appears to be "SIP/41712-00000181" -- Executing [41720 at from-internal:5]
2007 May 08
3
MYSQL Query --> PAGE
I have all my SIP users in a realtime database. I would like to use MySQL command to query the database and use the results from the query to page all the phones found in the query. The results from the MySQL query will be multiple rows of extension: Something like: mysql> Select extension from sip where extension like '6%' 6001 6002 6003 ex.... I need to put all the results into a