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 ?
Hi,
I'm converting an existing dialplan written in AEL2 to Asterisk 1.8.
While at it, I'm trying to get rid of some AEL2 warnings messages that
used to clutter my console when loading AEL scripts.
Specifically, my dialplan includes this simple text assignment :
prefix1=FooBar = ;
It produces
2009/4/8 Tilghman Lesher tilgh...@mail.jeffandtilghman.com
On Tuesday 07 April 2009 23:38:08 Olivier wrote:
2009/4/7 Mark Michelson mmichel...@digium.com
Philipp Kempgen wrote:
BTW (developer's question) is there a reason why SendText() resp.
sendtext_exec() refuses to send
On Thursday 09 April 2009 04:28:16 Olivier wrote:
2009/4/8 Tilghman Lesher tilgh...@mail.jeffandtilghman.com
On Tuesday 07 April 2009 23:38:08 Olivier wrote:
2009/4/7 Mark Michelson mmichel...@digium.com
Philipp Kempgen wrote:
BTW (developer's question) is there a reason why
On Thursday 09 April 2009 10:14:12 Tilghman Lesher wrote:
On Thursday 09 April 2009 04:28:16 Olivier wrote:
2009/4/8 Tilghman Lesher tilgh...@mail.jeffandtilghman.com
On Tuesday 07 April 2009 23:38:08 Olivier wrote:
2009/4/7 Mark Michelson mmichel...@digium.com
Philipp Kempgen
On Tuesday 07 April 2009 23:38:08 Olivier wrote:
2009/4/7 Mark Michelson mmichel...@digium.com
Philipp Kempgen wrote:
BTW (developer's question) is there a reason why SendText() resp.
sendtext_exec() refuses to send zero-length data?
I can't point to any specific reason. I assume
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
Olivier schrieb:
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?==
I doubt you will find a
2009/4/7 Philipp Kempgen philipp.kemp...@amooma.de
Olivier schrieb:
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:
Olivier schrieb:
2009/4/7 Philipp Kempgen philipp.kemp...@amooma.de
Olivier schrieb:
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:
Philipp Kempgen wrote:
Olivier schrieb:
2009/4/7 Philipp Kempgen philipp.kemp...@amooma.de
Olivier schrieb:
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 :
2009/4/7 Mark Michelson mmichel...@digium.com
Philipp Kempgen wrote:
Olivier schrieb:
2009/4/7 Philipp Kempgen philipp.kemp...@amooma.de
Olivier schrieb:
I'm trying to pass a single carriage return (0x0d in hexa) to Sendtext
in
an
AEL2 file like this :
Lee, John (Sydney) schrieb:
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:
{
//
Lee, John (Sydney) schrieb:
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:
{
//
Klaus Darilion schrieb:
Lee, John (Sydney) schrieb:
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:
Courier mail server at exa.billmerriam.com schrieb:
This is a delivery status notification from exa.billmerriam.com,
running the Courier mail server, version 0.54.1.
The original message was received on Wed, 04 Mar 2009 09:10:55 -0500
from localhost (localhost [127.0.0.1])
Philipp Kempgen wrote:
Courier mail server at exa.billmerriam.com schrieb:
This is a delivery status notification from exa.billmerriam.com,
running the Courier mail server, version 0.54.1.
The original message was received on Wed, 04 Mar 2009 09:10:55 -0500
from localhost (localhost
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?
No, if-then-else works fine inside a case statement. See inline
comments.
switch(${DIALSTATUS})
{
case
, Bradley
Sent: Thursday, 5 March 2009 9:12 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] 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
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
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);
}
Douglas Garstang wrote:
I am originating a command via the AMI with this...
Doug,
Were you ever able to resolve this? If so, could you share what the
issue was?
Thanks,
Sean
___
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Douglas Garstang wrote:
I am originating a command via the AMI with this...
Action: Login
Username: xxx
Secret: yyy
ACTION: Originate
Async: yes
Timeout: 6
Exten: callback
Channel: Local/[EMAIL PROTECTED]
Callerid: 849120
Context: default
ActionID: 849120
My LegA context:
- Original Message
From: Richard Lyman [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com
Sent: Thursday, November 1, 2007 8:47:28 AM
Subject: Re: [asterisk-users] AEL2 and Callbacks
Douglas Garstang wrote:
I am originating
, November 1, 2007 8:47:28 AM
Subject: Re: [asterisk-users] AEL2 and Callbacks
Douglas Garstang wrote:
I am originating a command via the AMI with this...
Action: Login
Username: xxx
Secret: yyy
ACTION: Originate
Async: yes
Timeout: 6
Exten: callback
Channel: Local/[EMAIL
I am originating a command via the AMI with this...
Action: Login
Username: xxx
Secret: yyy
ACTION: Originate
Async: yes
Timeout: 6
Exten: callback
Channel: Local/[EMAIL PROTECTED]
Callerid: 849120
Context: default
ActionID: 849120
My LegA context:
---
context LegA {
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
What do you get if you do dialplan show default?
- --
Kind Regards,
Matt Riddell
Director
___
http://www.venturevoip.com (Great new VoIP end to end solution)
http://www.venturevoip.com/news.php (Daily
Original Message
Subject: Re:[asterisk-users] AEL2 Syntax Highlighting
From: Tzafrir Cohen [EMAIL PROTECTED]
To: asterisk-users@lists.digium.com
Date: 13/10/2007 05:24 a.m.
On Fri, Oct 12, 2007 at 05:24:29PM -0500, Perssy Llamosas wrote:
Hi,
I am looking for a syntax
On Mon, 2007-10-15 at 11:42 -0500, Perssy Llamosas wrote:
Original Message
Subject: Re:[asterisk-users] AEL2 Syntax Highlighting
From: Tzafrir Cohen [EMAIL PROTECTED]
To: asterisk-users@lists.digium.com
Date: 13/10/2007 05:24 a.m.
On Fri, Oct 12, 2007 at 05:24:29PM -0500
On Fri, Oct 12, 2007 at 05:24:29PM -0500, Perssy Llamosas wrote:
Hi,
I am looking for a syntax highlighter for AEL2. Google is not helping,
so I thought you guys could help me.
I found this vim syntax highlighter for AEL but it doesn't help if you
want to code in AEL2:
Hi,
I am looking for a syntax highlighter for AEL2. Google is not helping,
so I thought you guys could help me.
I found this vim syntax highlighter for AEL but it doesn't help if you
want to code in AEL2:
http://vim.sourceforge.net/scripts/script.php?script_id=1900
Cheers,
PLL.
On Mon, 2007-06-04 at 09:19 -0700, Douglas Garstang wrote:
Where’s Steve Murphy when you need him? J
I'm right here! :)
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:
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
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
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
AEL2 is will be in 1.4
AEL2 is not in 1.2.x
The Wiki was wrong.
Bart Fisher wrote:
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
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:
Nevermind, seems scp'ing the source directory over didn't do me any
good.
On Fri, 2006-11-03 at 09:25 -0600, Aaron Daniel wrote:
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.
Hi,
In Asterisk 1.2.7, my AEL code looks like this:
macro callForwardHunt(numargs,numlist,typelist,ttr)
{
for(x=1;${x}${numargs}+1;x=${x}+1)
{
CUT(number=numlist,-,${x});
CUT(type=typelist,-,${x});
NoOp(${number});
Hi,
I am using Asterisk 1.2.12.1 + the AEL2 patch.
If I use a variable instead of the extension itself, an incoming call cannot
be connected.
${ID-FST1} = Dial(SIP/gs|15|r); == NON ok
sip debug shows :
Looking for 6674262730 in interne (domain 192.168.1.14)
SIP/2.0 404 Not Found
Is
Is it just me or am I seeing more AEL2 code in people's examples? Could
it be that AEL2 is starting to finally catch on?
SKM
-AEL2 Fanatic, Potato Eater, and General Lurker
___
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users
Rushowr wrote:
Is it just me or am I seeing more AEL2 code in people's examples? Could
If you're a C programmer, then yes. But, if you're like me, with very
little programming skills; no. AEL to me, is too much like looking at C
code.
Doug
-- Ben Franklin quote: Those who would give
Asterisk 1.4 beta2.
My top level /etc/asterisk/extensions.ael has the following two lines:
#include include/syst/extensions.ael
#include include/btck/extensions.ael
Here is the console output on Asterisk load.
app_system.so = (Generic System() application)
[Oct 4 15:48:15] NOTICE[1143]:
I want to try AEL2.
This page: http://voip-info.org/wiki/view/Asterisk+AEL2
gives instructions to generate a patch from subversion:
svn diff http://svn.digium.com/svn/asterisk/branches/1.2
http://svn.digium.com/svn/asterisk/team/murf/AEL2-1.2 AEL.patch
My doubt is: is branches/1.2 the
I'm trying to patch the Asterisk 1.2 source to support AEL2 as follows:
svn checkout http://svn.digium.com/svn/asterisk/branches/1.2
cd 1.2
svn diff http://svn.digium.com/svn/asterisk/branches/1.2
http://svn.digium.com/svn/asterisk/team/murf/AEL2-1.2 AEL.patch
patch -p0 AEL.patch
make install
- Douglas Garstang [EMAIL PROTECTED] wrote:
context new_pbx_betty_start {
_X. = {
for (x=0; ${x} 3; x=${x} + 1) {
Verbose(x is ${x} !);
}
};
}
Here's the output.
The var x never gets incremented! Is this a bug?
The
context new_pbx_betty_start {
_X. = {
for (x=0; ${x} 3; x=${x} + 1) {
Verbose(x is ${x} !);
}
};
}
I would have to see the output of show dialplan new_pbx_betty_start to
know exactly what is going on. However, I'm guessing that
12:24 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Cc:
Subject: RE: [asterisk-users] AEL2 Looping
context new_pbx_betty_start {
_X. = {
for (x=0; ${x} 3; x=${x} + 1
: Saturday, July 29, 2006 6:58 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion; Asterisk Users
Mailing List - Non-Commercial Discussion
Subject: RE: [asterisk-users] AEL2 Looping
I actually did get it to work, by removing _all_ spaces from the for line...
for (x=0;${x}3;x=${x}+1
I was just experimenting with AEL2, and tried to use a for loop as per the
example.
Here's what I have.
context new_pbx_betty_start {
_X. = {
for (x=0; ${x} 3; x=${x} + 1) {
Verbose(x is ${x} !);
}
};
}
Here's the output.
The var x
Hello All ,
On Fri, 9 Jun 2006, Gonzalo Servat wrote:
On 6/9/06, Joshua Colp [EMAIL PROTECTED] wrote:
[..snip..]
I'd just like to note that AEL2 was brought over into Asterisk trunk
(what will become 1.4) and the old AEL removed. That's where most
development is taking place on 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
Replying to myself here... I got the latest 1.2 head via svn. Did a patch
diff'ed it to latest AEL2 (as described at:
http://voip-info.org/wiki/view/Asterisk+AEL2
Patched it. All went fine. On compile I get the following error
pbx_ael2.c: In function `check_goto':
pbx_ael2.c:1063: parse
Hi Doug,
On 6/9/06, Doug Crompton [EMAIL PROTECTED] wrote:
Replying to myself here... I got the latest 1.2 head via svn. Did a patch
diff'ed it to latest AEL2 (as described at:
http://voip-info.org/wiki/view/Asterisk+AEL2
Patched it. All went fine. On compile I get the following error
Gonzalo Servat wrote:
Hi Doug,
On 6/9/06, Doug Crompton [EMAIL PROTECTED] wrote:
Replying to myself here... I got the latest 1.2 head via svn. Did a patch
diff'ed it to latest AEL2 (as described at:
http://voip-info.org/wiki/view/Asterisk+AEL2
Patched it. All went fine. On compile I get the
On 6/9/06, Joshua Colp [EMAIL PROTECTED] wrote:
[..snip..]
I'd just like to note that AEL2 was brought over into Asterisk trunk
(what will become 1.4) and the old AEL removed. That's where most
development is taking place on AEL2, and why you don't see patches on
the bug tracker.
Hi Joshua,
#include
functionality, but lose cid in the dialplan. Hmmm.
-Original Message-
From: Julian Lyndon-Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 31, 2006 1:21 PM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] AEL2 and CID
Does anyone know how to get CID working
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] 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
. Hmmm.
-Original Message-
From: Julian Lyndon-Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 31, 2006 1:21 PM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] AEL2 and CID
Does anyone know how to get CID working in AEL2 ?
In extensions.conf you can do:
exten = 111
: [Asterisk-Users] 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
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
-Users] 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
PROTECTED]
Sent: Wednesday, May 31, 2006 1:21 PM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] 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
.
-Original Message-
From: Julian Lyndon-Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 31, 2006 1:21 PM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] AEL2 and CID
Does anyone know how to get CID working in AEL2 ?
In extensions.conf you can do:
exten = 111/666,1
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
, January 13, 2006 9:54 AM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] 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
Douglas Garstang wrote:
Does ael support #include statements yet?
Based on http://www.voip-info.org/wiki/view/Asterisk+AEL2:
To reload extensions.ael2, the following command can be issued at the CLI.
*CLI ael2 reload
Is there any way to perform a reload in asterisk and reload
On Fri, 2006-01-13 at 10:24 -0700, Douglas Garstang wrote:
Does ael support #include statements yet?
Is there any way to perform a reload in asterisk and reload extensions.ael?
If both of these aren't available yet, then AEL isn't ready for real-world
use.
Doug.
Doug--
Good news,
On Fri, 2006-01-13 at 11:42 -0700, Steve Murphy wrote:
to reload,
ael2 reload
ael1 supported that too, the file inclusion was a really nice feature to
add, something I felt was fundamentally missing from ael1.
I like the syntax checker too, so you dont check by potentially breaking
a
On Fri, 2006-01-13 at 10:24 -0700, Douglas Garstang wrote:
Does ael support #include statements yet?
Is there any way to perform a reload in asterisk and reload extensions.ael?
If both of these aren't available yet, then AEL isn't ready for real-world
use.
Doug.
Oh, and one more thing
70 matches
Mail list logo