Displaying 20 results from an estimated 300 matches similar to: "Question on AEL2 string comparisons"
2013 Jul 24
2
What is my syntax error here?
I have thsi code in a dial plan. The purpose of which is to set
distinctive ring tones for internal and transferred calls.
exten => _.,1,Noop(CALLERID_ALL=${CALLERID(all)})
exten => _.,n,Set(CallerIDNum=${CALLERID(num)})
; This just shows a list of interesting variables and their values
; Comment it out when finished debugging
;include => macro-dumpvars
;exten =>
2013 Jul 03
1
Custom dial plan for internal transfers of external calls
Arch = x86_64
OS = CentOS-6.4 (freepbx)
Asterisk = 11.4.0
FreePBX = 2.11.0.2
We use Snom870 handsets with firmware v.8.7.3.19.
I am trying to develop a custom dial plan to invoke a distinctive
ring-tone when an external call is transferred internally. Based on
an earlier solution I discovered I am attempting this:
[from-internal]
include => set-alert-if-local
[from-internal-original]
2013 Jul 16
0
Help with decyphering DND status
Arch x86_64
OS CentOS-6.4 (freepbx)
Asterisk 11.4
FreePBX 2.11.0.4
Snom870 with FW-8.7.4.8
What I am attempting to do is to set a different background colour for
the BLF vkeys when a station is set to DND. This is supposedly
accomplished through this setting in the phones provisioning file:
<vkey_blue perm="RW">
DND
Blue.on
Blue.pickup
Blue.park
Blue.message
</vkey_blue>
2012 Jan 25
3
Executing Script after MixMonitor is called
Hello Guys,
I am trying to convert files that are .wac to mp3 after mixmonitor command is called but it doesnt execute the command, I tried the command in terminal it worked, any help please ... below is my dial plan
exten=6500,n,Set(MIXMONITOR_EXEC=&& nice -n 19 /usr/local/bin/lame -b 8 -t -F -m m --bitwidth 8 --quiet "/var/spool/asterisk/monitor/${CALLFILENAME}.wav"
2012 Dec 19
1
Dialplan - working out when users answer
Hey guys,
I've got a part of my dialplan that dials multiple people:
exten => direct,n,Dial(${QUEUEEXTS},${RINGTIME})
Multiple extensions are in the ${QUEUEEXTS} from an external script - e.g. SIP/100&SIP/101&SIP/105 etc
This works great, however I want to see if I can find a way to work out (and run an AGI script) when the call is picked up by someone.
Thanks all!
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
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 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 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 *
****************************
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 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
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
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:
2007 Jan 26
2
Hello Everybody, my problem with voicemail.conf
Hello everybody i am Ashish here.
i am new to this mailing list.
so dont know rules and regulation, just trying to post my problem of
voicemail.conf
Actuallt right now i am using Asterisk 1.2 on my LAN environment.
i am able to call all my extension very nicely.
Right now i am trying to deploying voicemail facility for all
extensions, so if anybody is not present, then he/she can leave
message,
2008 Sep 10
3
Newbie AEL2: Syntax for Hint
I am struggling to find out how to code hint in AEL2.
I did hint(Custom:light1) and it keeps complaining about the : (colon).
It works fine for SIP device like hint(SIP/439).
Anyone who has tried it before?
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 =>
2009 Sep 23
0
DYNAMIC FEATURES, AEL2 - how to use Goto, Gosub or Macro ?
Hello,
I'm using AEL2 (in Asterisk 1.6.1.6) and I can't find a way to successfully
come back into my dialplan.
I've tried things like this (in features.conf) :
toto => #9,peer,Goto,mylocal2,s,1
But typing #9 (from channel SIP/7275, in example bellow) I've got:
-- Feature Found: toto exten: toto
-- Started music on hold, class 'default', on SIP/7275-08b7fbe0
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
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