similar to: AEL and };

Displaying 20 results from an estimated 8000 matches similar to: "AEL and };"

2009 Jan 08
4
AEL question: testing channel variables
Hi! I use the following condition: if (${FOOBAR}=YES) { ... } The problem is, that if FOOBAR is not defined at all Asterisk generates a warning: WARNING[11982]: ast_expr2.fl:407 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected '=', expecting $end; Input: =YES Of course I could use the following code, but this bloats up the code: if (${EXISTS(${FOOBAR})}) {
2009 Mar 04
5
AEL2: If-then-else not permitted in Switch-Case
I just want to confirm but it seems that if-then-else is not permitted in case structure. It was not really documented but it seems to be the case. Can anyone confirm? switch(${DIALSTATUS}) { case NOANSWER: { // if-then-else not permitted If (${ael-var} = 1) { Playback(beep);
2008 Dec 29
1
AEL: how to check if variable is defined
Hi! I use an "if" condition in extensions.ael to check if a channel variable is defined and if defined I add a certain header: context toNormaleRufe { _X. => { if (${NUMBER}) { SIPAddHeader(X-NUMBER: ${NUMBER}); }; ... }; This works fine, except NUMBER starts with the + sign. I tried using quotes but if
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
2009 Mar 06
5
work around the 64 pickupgroups limit
Hi! What are the typical ways to work around the 64 groups limit? thanks klaus
2006 Oct 13
2
AEL Question
Hi, all. I'm making my first foray into AEL. I'm starting with a simple macro, but I've already encountered an odd behaviour. I'm wondering if someone can shed some insight: Asterisk 1.2.9.1 macro newPlaceCallPSTN { s => { TIMEOUT(absolute)=7200; NoOp(Analog Out List: ${ANALOGOUT}); ChanIsAvail(${ANALOGOUT}); NoOp(Available Out List:
2006 May 11
3
sangoma A102 installation question
Hi! I've went through the READMEs and could not answer this question: During installation, the Setup program asks: Would you like update/upgrade wanpipe drivers? (y/n) For a pure Asterisk TDM installation - is it required to patch the kernel or is this only when using the sangoma cards as WAN router? regards klaus
2009 Jan 14
8
evaluate SIP response codes in dialplan
Hi! Is it somehow possible to evaluate the SIP response code inside the dialplan? I have an Asterisk server which forwards requests to various PSTN gateways with SIP. If the Dial() attempt is not successful I want to differ at least these 3 options: - called destination is busy (486): e.g. activate auto-redial - called destination does not exist, unassigned number (404) - gateway is broken,
2009 Feb 24
7
multiple asterisks in a server
Hi all, Is it possible to install more than 1 asterisk in a single server? If yes, what do I need to set and take care? Rgds, ango
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
2009 Nov 10
2
looking for an Asterisk supervision (status viewer) tool
Hi! I am looking for a tool (application or webinterface) which shows me the current status of an Asterisk server, e.g.: - Status of the SIP peers (registered/offline) - current incoming and outgoing calls - start-time, numbers, some history - history (calls stopped in the last 15 minutes, who hang up?) - should be possible to link those calls to the relevant SIP peers -
2010 Sep 22
5
http://www.asterisk.org/downloads naming schema
Hi! Since some time the download of the newest Asterisk does not contains the version number anymore, but is just called "asterisk-1.4-current.tar.gz" This gives me a tarball where I do not know the version without looking into the tarball. Thus, IMO it would be very useful to switch back to old schema war the download contained the version number. Thanks Klaus
2009 Jul 10
1
Kate AEL syntax ?
Hi, Is there something available to add AEL2 syntax highlighting support to Kate ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090710/10576943/attachment.htm
2009 Jun 08
3
T.38 pass-through 488 handling problem
Hi! I have the following problem with Asterisk 1.4.23: ATA w/ T.38 Asterisk ATA w/o T.38 --------INVITE--------> --------INVITE--------> <-------200OK---------- <-------200OK---------- --------ACK-----------> --------ACK-----------> --------INVITE
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
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 Feb 25
3
Asterisk with Internet connectivity
Hi! I have a setup with Asterisk in front of a PBX connected with ISDN to the PSTN and to the PBX. This Asterisk (a old 1.2 instance) is doing ENUM for outgoing calls and allows incoming calls per SIP. Recently the IP connectivity for this location was down the whole telephony was down too - not even incoming calls did work. This is really strange as incoming calls from PSTN are routed
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
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