similar to: DYNAMIC FEATURES, AEL2 - how to use Goto, Gosub or Macro ?

Displaying 20 results from an estimated 2000 matches similar to: "DYNAMIC FEATURES, AEL2 - how to use Goto, Gosub or Macro ?"

2009 Jul 20
0
No subject
in which Dial originally occurred, but for an unknown reason, it can't find the appropriate hook to keep on. Do you have any working sample ? Regards --0016e646050485a6cf0474456758 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,<br><br>I&#39;m using AEL2 (in Asterisk 1.6.1.6) and I can&#39;t find= a way to successfully
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
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
2008 Dec 05
1
Gosubs broken since r160626 (1.6.0 SVN) ?
Hi all, I've just upgraded to latest 1.6.0 SVN from a few days ago and my Gosubs have stopped working. This is from the verbose logs: -- Executing [03333407271 at incoming-aaisp:4] GotoIf("IAX2/aaisp-3802", "1?5:7") in new stack -- Goto (incoming-aaisp,03333407271,5) -- Executing [03333407271 at incoming-aaisp:5] Gosub("IAX2/aaisp-3802",
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
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 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 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 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
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
2019 Oct 15
4
clarification on gosub, macros and AEL
>>> Nobody has any information or opinions on any of this? Personally, I don't think MACROS are going anywhere any time soon, so I have not bothered looking into a substitution. As for ael; I've never used it. Doug
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
2009 Apr 29
1
Replacement of Macro() with Gosub()
Hi, Is there some more thorough documentation of this change that has happened in 1.6? The upgrade.txt and changes.txt files mention it, but I have already seen details of this change that do not appear to be documented except in conversations on the mailing list... 1) It appears that it is no longer legal to have: [macro-contaxtA] ...stuff... [contextA] ...stuff... Is this true? Or have I
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 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 * ****************************
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:
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
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 =>