similar to: Including files in AEL file

Displaying 20 results from an estimated 100000 matches similar to: "Including files in AEL file"

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
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
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() {
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
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
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
2007 Mar 09
2
AEL #include file
Hi, Does anyone know how to include a file in AEL using the #include "filename" syntax in .conf files? Regards, Philipp -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk? -> http://www.das-asterisk-buch.de Gesch?ftsf?hrer: Stefan Wintermeyer Handelsregister: Neuwied B
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:
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
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 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:
2006 Mar 28
0
Can realtime extensions be used within AEL contexts?
Can realtime extensions be used within AEL contexts? I've tried without success. Also did some Googling and looking around on the Wiki, but couldn't find much. Thanks, Mike Clark
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:
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
2008 Jan 17
3
AEL includes?
How do I include a file (not a context) in AEL? #include "filename" returns an error. Thanks, Jay
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
2008 Oct 06
1
AEL and swap from macros to contexts
Hi, according to discussion on asterisk IRC, where people said, that macros will be depracated, I tried to migrate from macros to contexts and Gosub but if I try to use gosub in extensions.ael, ael compiler complains, that I shouln't use Gosub app, but I can't find ael keyword, that will be Gosub equivalent, or can I ignore this ael warnings? thanks PJ LOG: lev:3 file:pval.c
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
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") {
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