similar to: AEL, 1.6, CUT and commas

Displaying 20 results from an estimated 20000 matches similar to: "AEL, 1.6, CUT and commas"

2009 Dec 03
0
AEL, 1.6, CUT and commas [SOLVED]
2009/12/3 Olivier <oza-4h07 at myamail.com> > Hello, > > How can you parse a comma separated list using function CUT and AEL ? > > I've tried but it displays error message (though is seems to find the > correct value) : > > STRING=101,102 > VAL=${CUT(STRING,\,,1)}; > NoOp(VAL is ${VAL}); > > Cheers > Sorry for the noise but I mixed up with another
2008 Nov 05
1
AEL NoOp not working
Hi, I've new to http://www.voip-info.org/wiki/view/Asterisk+AEL2 I'm using NoOp and Verbose functions inside extensions.ael. Strangely, NoOp is not printing anything in Asterisk console while Verbose is working. Am I missing something obvious ? Cheers -------------- next part -------------- An HTML attachment was scrubbed... URL:
2009 Jul 09
1
OT - How to indent AEL file
Hi, As my extensions.ael is becoming quite long (3000 lines), I'm wondering if existing indentation tools such as vim, indent, ... could improve its formatting (split long lines into several ones, align {}, ..) Has anyone tried ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL:
2009 Mar 11
4
Are .call files working with extensions.ael ?
Hello, With an extensions.ael enabled system, I keep getting whatever I change into my "astup.call" file : [Mar 12 00:13:56] WARNING[2538]: pbx_spool.c:267 apply_outgoing: At least one of app or extension (or keyword message/pdu) must be specified, along with tech and dest in file /var/spool/asterisk/outgoing/astup.call [Mar 12 00:13:56] WARNING[2538]: pbx_spool.c:457 scan_service:
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
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
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
2012 Nov 27
0
AEL syntax consistency
How consistent has the syntax for extensions.ael been from version to version? extensions.conf has annoyed me in this regard. i.e.: commas to pipes, pipes back to commas, macro to gosub, etc etc.
2008 Nov 07
0
AEL NoOp not working [SOLVED]
2008/11/6 Steve Murphy <murf at digium.com> > On Thu, 2008-11-06 at 13:55 +0100, Olivier wrote: > > > > > Yes, you're right : NoOp needs verbosity of 3 and above. > > Thanks for helping. > > > > The surprising thing is that AEL Verbose prints output whatever the > > verbosity level is (even with 0). > > Would you qualify this as normal ?
2009 Oct 06
0
What happened to MACRO_EXTEN in AEL macros since 1.6?
Hi! Since 1.6, when using AEL, macros are implemented using Gosub(). Is there workaround to have MACRO_EXTEN also in this case? regards Klaus PS: I know I could use something like context fromSip { 11 => &myMacro(${EXTEN}) } macro myMacro(MACRO_EXTEN) { } but isn't there some workaround to achieve compatibility with 1.4?
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 >
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
2009 Dec 17
6
Feature Request: GotoIfTimeWithOffset
Hi, When I was testing an IVR, I realized I miss a function I would call GotoIfTimeWithOffset. Today, this IVR is using function AEL GotoIfTime in several places. The problem is if it's 11pm at the moment I'm testing this IVR, I can't nicely test the 9am or 2pm branch. GotoIfTimeWithOffset would get 2 incoming arguments : - the first is a time range (just like GotoIfTime), - the
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
2008 Nov 27
5
Any 1.6 SendFAX example ?
Hi, Do you have any example showing how to use SendFAX ? I can see several examples of ReceiveFAX but not a single one showing SendFAX. Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081127/b41ca08b/attachment.htm
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() {
2008 Dec 17
1
ael queue gosub already has PBX structure??
Hello, I want that after client and queue member call would be established, cmd queue runs some 'procedures' . So I am using cmd Queue option 'gosub'. This is my example of ael : context QUEUE { _X. => { Ringing(); Wait(4); Answer(); Queue(${Queue},wr,,,60,,,check-record); Hangup(); }; }; macro check-record() {
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