similar to: AEL Variable Warning Messages

Displaying 20 results from an estimated 700 matches similar to: "AEL Variable Warning Messages"

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 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
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
2012 Jan 05
1
STOP loading extensions.ael
How do I stop loading extensions.ael dial plan? I'm only using extension.conf. -- Joseph
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
2015 May 12
1
AEL keyword IfTime with variable on time range
Sorry, I forget to tell I tried, but not works. *Context:* context ivr_temp2 { s => { Proceeding(); str_time_01 = '06:00-12:00|*|*|*'; // Manh? ifTime (${str_time_01}) { Playback(ura/bom_dia); } } } The error is showed on "ael reload". *Console errors:* rs0000sr304*CLI> ael reload Command 'ael reload' failed.
2008 Jun 02
2
ast_compile_ael2: Warning: file /etc/asterisk/extensions.ael, line 932-932: Empty Extension!
On starting Asterisk (1.4) I get a whole bunch of WARNING[5858]: pbx_ael.c:4040 ast_compile_ael2: Warning: file /etc/asterisk/extensions.ael, line 932-932: Empty Extension! I find it a bit disturbing that this message has a level of WARNING (instead of NOTICE maybe) because the extensions in question are empty on purpose. The only reason they exist are the hints. hint(SIP/3000) 3000 => {}
2015 May 12
2
AEL keyword IfTime with variable on time range
Hi It's possible using a variable in the iftime keyword argument? E.g: context text { s => { timerange = '06:00-12:00|*|*|*'; ifTime(${timerange} { Playback(ivr/goodbye); } } } thanks [image: Sua Foto] <rafaelsnsa at gmail.com>Rafael S. SaraivaPorto Alegre - RS | Mobile: (51) 8174-7956 <http://br.linkedin.com/pub/rafael-saraiva/52/aab/230>
2007 Aug 31
1
AEL missing in recent 1.2 releases?
Greetings list, I've just been upgrading one of our servers from 1.2.17 to 1.2.21.1-r1, and noticed that it's not picking up any of my macros written in AEL. Upon further examination, it looks like pbx_ael is missing. Is this a deliberate change, or is this something I need to address in the pre-compile configuration? Regards, Chris -- C.M. Bagnall, Director, Minotaur I.T. Limited For
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
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 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
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
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
2006 Nov 16
2
installing asterisk for Ubuntu Synaptic
I have an Ubuntu system and went into Synaptic and checked asterisk for installation. Once installed, I started it with /usr/sbin/asterisk -vvvgc and got the following output with several errors and notices. Do I need to do more or are these ok? I expected to have some conf files in /etc/asterisk but there is nothing there. Thanks! Created by Mark Spencer <markster@digium.com>
2008 Dec 31
2
Troubles with AEL
Hi, I'm migrating some macro from extension.conf format to AEL and they are some things i don't understand, and some i don't evan know how to get them working. Example: Doing this "queueMemberList=${QUEUE_MEMBER_LIST(queue)};" won't make any warning message, however the resulting variable value won't be the expected one (a string) but some kind of
2010 Jun 25
5
Is there a default dial plan that is not in extention.conf?
Hi, I have a trivial peace of dialplan for exten 100. I try to change it to _1XX and the asterisk act according to a different (Default??) dial plan and not the one I want? Is that possible? Where is the other dialplan sits? In my extention.conf I can't see something that look like what asterisk is dialing. How can I trace\debug my dialplan? Thanks, Eyal -------------- next part
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") {