Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Any reason to *not* use AEL? (Also, MixMonitor q)

Goto page 1, 2  Next
 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
jaymoore at accu-com.com
Guest





PostPosted: Tue Jun 03, 2008 8:21 am    Post subject: [asterisk-users] Any reason to *not* use AEL? (Also, MixMoni Reply with quote

I am building a new Asterisk server here at the office, and I'm
wondering if there are any downsides to creating my dialplan with AEL.
It seems more intuitive (to me), but I'm not sure if there are any
pitfalls I need to be aware of first.

We use this for internal extensions, 8 pots lines, and our answering
service which gets about 500 incoming calls a day down our T1.

Also, one more quick question too: Currently I'm using MixMonitor to
record incoming calls. The problem, however, is once calls are
transferred, recording stops. Is it possible to keep recording after a
call is transferred, and if so, how?

Thanks in advance,
Jay
Back to top
eric at fnords.org
Guest





PostPosted: Tue Jun 03, 2008 8:41 am    Post subject: [asterisk-users] Any reason to *not* use AEL? (Also, MixMoni Reply with quote

AEL in 1.4 was the first version of AEL that most people consider
"stable". Since not many people uses AEL, you won't get nearly as much
(if any) community support compared to if you are using the non-AEL syntax.

Jay Moore wrote:
Quote:
I am building a new Asterisk server here at the office, and I'm
wondering if there are any downsides to creating my dialplan with AEL.
It seems more intuitive (to me), but I'm not sure if there are any
pitfalls I need to be aware of first.

We use this for internal extensions, 8 pots lines, and our answering
service which gets about 500 incoming calls a day down our T1.

Also, one more quick question too: Currently I'm using MixMonitor to
record incoming calls. The problem, however, is once calls are
transferred, recording stops. Is it possible to keep recording after a
call is transferred, and if so, how?
Back to top
sherwood.mcgowan at gm...
Guest





PostPosted: Tue Jun 03, 2008 9:03 am    Post subject: [asterisk-users] Any reason to *not* use AEL? (Also, MixMoni Reply with quote

Jay Moore wrote:
Quote:
I am building a new Asterisk server here at the office, and I'm
wondering if there are any downsides to creating my dialplan with AEL.
It seems more intuitive (to me), but I'm not sure if there are any
pitfalls I need to be aware of first.

We use this for internal extensions, 8 pots lines, and our answering
service which gets about 500 incoming calls a day down our T1.

Also, one more quick question too: Currently I'm using MixMonitor to
record incoming calls. The problem, however, is once calls are
transferred, recording stops. Is it possible to keep recording after a
call is transferred, and if so, how?

Thanks in advance,
Jay

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

I use AEL in almost everything I do and work a lot with Steve Murphy to
work out any issues I have found with it. In Asterisk 1.4 AEL is VERY
solid. The only thing you need to watch for is falling into some basic
"traps" like calling ${EXTEN} from within a switch (the AEL compiler
uses sw-xxxx extensions for case instances). In order to easier see
what the compiler puts out, I asked Steve to add the -w option to
AELPARSE which writes a file (extensions.conf.aeldump) which is . much
easier to read than doing a "dialplan show [context]".

Anyway, I'll be more than happy to help with any issues you may have
with AEL. I'm even working on writing a little book or at least series
of articles on AEL
--
Sherwood McGowan
VoIP / Telecom Solutions
sherwood.mcgowan at gmail.com
Back to top
sherwood.mcgowan at gm...
Guest





PostPosted: Tue Jun 03, 2008 9:11 am    Post subject: [asterisk-users] Any reason to *not* use AEL? (Also, MixMoni Reply with quote

Jay Moore wrote:
Quote:
I am building a new Asterisk server here at the office, and I'm
wondering if there are any downsides to creating my dialplan with AEL.
It seems more intuitive (to me), but I'm not sure if there are any
pitfalls I need to be aware of first.

We use this for internal extensions, 8 pots lines, and our answering
service which gets about 500 incoming calls a day down our T1.

Also, one more quick question too: Currently I'm using MixMonitor to
record incoming calls. The problem, however, is once calls are
transferred, recording stops. Is it possible to keep recording after a
call is transferred, and if so, how?

Thanks in advance,
Jay

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

Also, quick note, you can't continue the recording, however you can
record a new file upon transfer

--
Sherwood McGowan
VoIP / Telecom Solutions
sherwood.mcgowan at gmail.com
Back to top
mkezys at gmail.com
Guest





PostPosted: Tue Jun 03, 2008 9:26 am    Post subject: [asterisk-users] Any reason to *not* use AEL? (Also, MixMoni Reply with quote

Does Asterisk Realtime support AEL?



Regards,

Mindaugas Kezys

http://www.kolmisoft.com



From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Gonzalo Servat
Sent: Tuesday, June 03, 2008 5:07 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Any reason to *not* use AEL? (Also, MixMonitor
q)



On Tue, Jun 3, 2008 at 10:41 AM, Eric Wieling <eric at fnords.org> wrote:

AEL in 1.4 was the first version of AEL that most people consider
"stable". Since not many people uses AEL, you won't get nearly as much
(if any) community support compared to if you are using the non-AEL syntax.
Really? Why would anyone want to write a dialplan using the old
extensions.conf syntax? That sort of syntax personally drove me nuts (and
real messy). I've got my entire dialplan on AEL (using Asterisk 1.6.0).


- Gonzalo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080603/39d438b9/attachment.htm
Back to top
atis at iq-labs.net
Guest





PostPosted: Tue Jun 03, 2008 9:30 am    Post subject: [asterisk-users] Any reason to *not* use AEL? (Also, MixMoni Reply with quote

On Tue, Jun 3, 2008 at 5:03 PM, Sherwood McGowan
<sherwood.mcgowan at gmail.com> wrote:
Quote:
Jay Moore wrote:
Quote:
I am building a new Asterisk server here at the office, and I'm
wondering if there are any downsides to creating my dialplan with AEL.
It seems more intuitive (to me), but I'm not sure if there are any
pitfalls I need to be aware of first.

We use this for internal extensions, 8 pots lines, and our answering
service which gets about 500 incoming calls a day down our T1.

Also, one more quick question too: Currently I'm using MixMonitor to
record incoming calls. The problem, however, is once calls are
transferred, recording stops. Is it possible to keep recording after a
call is transferred, and if so, how?

Look for __TRANSFER_CONTEXT variable.

Quote:
Quote:

Thanks in advance,
Jay

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

I use AEL in almost everything I do and work a lot with Steve Murphy to
work out any issues I have found with it. In Asterisk 1.4 AEL is VERY
solid. The only thing you need to watch for is falling into some basic
"traps" like calling ${EXTEN} from within a switch (the AEL compiler
uses sw-xxxx extensions for case instances). In order to easier see
what the compiler puts out, I asked Steve to add the -w option to
AELPARSE which writes a file (extensions.conf.aeldump) which is . much
easier to read than doing a "dialplan show [context]".

This has been fixed in latest versions of 1.4

Generally AEL is good and nice, I haven't yet been using it alone, I
use aelparse in dump mode to create extensions.conf. This allows me to
check any warnings/errors before actually loading anything in
asterisk. However I plan to switch into pure AEL later.

However there's one suggestion - avoid using "macro" syntax if you
plan to use the same macros from Realtime or AGI. I recently tested
that with 1.6 and it's behavior is changed - so you'll have to change
your AGI and Realtime generation scripts in order for this to work
with 1.6. As developers replied to me, this kind of usage is just "not
supported". Generally - avoid assumptions that dump generated from
AELparse will work on other versions.

Btw, you can also use combination of both, have some part of dialplan
in extensions.conf file and some in AEL.

Regards,
Atis

--
Atis Lezdins,
VoIP Project Manager / Developer,
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835
Back to top
sherwood.mcgowan at gm...
Guest





PostPosted: Tue Jun 03, 2008 9:33 am    Post subject: [asterisk-users] Any reason to *not* use AEL? (Also, MixMoni Reply with quote

Mindaugas Kezys wrote:
Quote:

Does Asterisk Realtime support AEL?



Regards,

Mindaugas Kezys

http://www.kolmisoft.com



*From:* asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] *On Behalf Of
*Gonzalo Servat
*Sent:* Tuesday, June 03, 2008 5:07 PM
*To:* Asterisk Users Mailing List - Non-Commercial Discussion
*Subject:* Re: [asterisk-users] Any reason to *not* use AEL? (Also,
MixMonitor q)



On Tue, Jun 3, 2008 at 10:41 AM, Eric Wieling <eric at fnords.org
<mailto:eric at fnords.org>> wrote:

AEL in 1.4 was the first version of AEL that most people consider
"stable". Since not many people uses AEL, you won't get nearly as
much
(if any) community support compared to if you are using the
non-AEL syntax.


Really? Why would anyone want to write a dialplan using the old
extensions.conf syntax? That sort of syntax personally drove me nuts
(and real messy). I've got my entire dialplan on AEL (using Asterisk
1.6.0).


- Gonzalo

------------------------------------------------------------------------

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Not sure what you mean, but if you mean realtime dialplan, then no, you
can't use AEL for that. However, we might wish to see if Murf knows if
this can be done.

--
Sherwood McGowan
VoIP / Telecom Solutions
sherwood.mcgowan at gmail.com
Back to top
tilghman at mail.jeffa...
Guest





PostPosted: Tue Jun 03, 2008 9:35 am    Post subject: [asterisk-users] Any reason to *not* use AEL? (Also, MixMoni Reply with quote

On Tuesday 03 June 2008 09:03:16 Sherwood McGowan wrote:
Quote:
The only thing you need to watch for is falling into some basic
"traps" like calling ${EXTEN} from within a switch (the AEL compiler
uses sw-xxxx extensions for case instances).

This should already be solved in the latest release. The extension will
be saved in an alternate variable, and references to ${EXTEN} below
a switch will be converted to use that alternate variable.

--
Tilghman
Back to top
dagmoller at yahoo.com.br
Guest





PostPosted: Tue Jun 03, 2008 9:50 am    Post subject: [asterisk-users] Any reason to *not* use AEL? (Also, MixMoni Reply with quote

my entire dialplan is in AEL.

Diego Aguirre
Infodag - Inform?tica
FWD#: 459696
EnumLookup#: +55 21 8138-2710
DUNDi-br#: 21 8138-2710

Jay Moore escreveu:
Quote:
I am building a new Asterisk server here at the office, and I'm
wondering if there are any downsides to creating my dialplan with AEL.
It seems more intuitive (to me), but I'm not sure if there are any
pitfalls I need to be aware of first.

We use this for internal extensions, 8 pots lines, and our answering
service which gets about 500 incoming calls a day down our T1.

Also, one more quick question too: Currently I'm using MixMonitor to
record incoming calls. The problem, however, is once calls are
transferred, recording stops. Is it possible to keep recording after a
call is transferred, and if so, how?

Thanks in advance,
Jay

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Tue Jun 03, 2008 10:11 am    Post subject: [asterisk-users] Any reason to *not* use AEL? (Also, MixMoni Reply with quote

On Tue, Jun 03, 2008 at 09:03:16AM -0500, Sherwood McGowan wrote:

Quote:
In order to easier see
what the compiler puts out, I asked Steve to add the -w option to
AELPARSE which writes a file (extensions.conf.aeldump) which is . much
easier to read than doing a "dialplan show [context]".

So do you think that it would be nice to have Asterisk dump the dialplan
in extensions.conf format? e.g. if there were a command such as
'dialplan dump [context]'?

This would allow you to dump the dialplan from a running asterisk using
'asterisk -rx', which is now actually more reliable.

extensions.conf does not show the extra "source" column that 'dialplan show'
has.

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Back to top
sherwood.mcgowan at gm...
Guest





PostPosted: Tue Jun 03, 2008 10:23 am    Post subject: [asterisk-users] Any reason to *not* use AEL? (Also, MixMoni Reply with quote

Tilghman Lesher wrote:
Quote:
On Tuesday 03 June 2008 09:03:16 Sherwood McGowan wrote:

Quote:
The only thing you need to watch for is falling into some basic
"traps" like calling ${EXTEN} from within a switch (the AEL compiler
uses sw-xxxx extensions for case instances).


This should already be solved in the latest release. The extension will
be saved in an alternate variable, and references to ${EXTEN} below
a switch will be converted to use that alternate variable.


Actually, no they're not converted to the alternate variable. Guess I
should contact Murf, because now that I think of it I had mentioned this
to Murf before I think.

--
Sherwood McGowan
VoIP / Telecom Solutions
sherwood.mcgowan at gmail.com
Back to top
atis at iq-labs.net
Guest





PostPosted: Tue Jun 03, 2008 10:44 am    Post subject: [asterisk-users] Any reason to *not* use AEL? (Also, MixMoni Reply with quote

On Tue, Jun 3, 2008 at 6:23 PM, Sherwood McGowan
<sherwood.mcgowan at gmail.com> wrote:
Quote:
Tilghman Lesher wrote:
Quote:
On Tuesday 03 June 2008 09:03:16 Sherwood McGowan wrote:

Quote:
The only thing you need to watch for is falling into some basic
"traps" like calling ${EXTEN} from within a switch (the AEL compiler
uses sw-xxxx extensions for case instances).


This should already be solved in the latest release. The extension will
be saved in an alternate variable, and references to ${EXTEN} below
a switch will be converted to use that alternate variable.


Actually, no they're not converted to the alternate variable. Guess I
should contact Murf, because now that I think of it I had mentioned this
to Murf before I think.


They are on 1.4.19, but this works invisible to user:

exten => _X.,76,Set(~~EXTEN~~=${EXTEN})
exten => _X.,77,Goto(sw-98-${DIALSTATUS}|10)
exten => _X.,78,NoOp(Finish switch-if-if-local_dial-95-97-9Cool
exten => _X.,79,Goto(103)

Regards,
Atis

--
Atis Lezdins,
VoIP Project Manager / Developer,
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835
Back to top
aklists at mixdown.ca
Guest





PostPosted: Tue Jun 03, 2008 11:05 am    Post subject: [asterisk-users] Any reason to *not* use AEL? (Also, MixMoni Reply with quote

On June 3, 2008 09:21:48 am Jay Moore wrote:
Quote:
I am building a new Asterisk server here at the office, and I'm
wondering if there are any downsides to creating my dialplan with AEL.
It seems more intuitive (to me), but I'm not sure if there are any
pitfalls I need to be aware of first.

Community support is the big one. Personally I think AEL's a solution looking
for a problem. Ask Leif Madsen about what he can make a standard dialplan
do. Smile

-A.
Back to top
eric at fnords.org
Guest





PostPosted: Tue Jun 03, 2008 11:52 am    Post subject: [asterisk-users] Any reason to *not* use AEL? (Also, MixMoni Reply with quote

Andrew Kohlsmith (lists) wrote:
Quote:
On June 3, 2008 09:21:48 am Jay Moore wrote:
Quote:
I am building a new Asterisk server here at the office, and I'm
wondering if there are any downsides to creating my dialplan with AEL.
It seems more intuitive (to me), but I'm not sure if there are any
pitfalls I need to be aware of first.

Community support is the big one. Personally I think AEL's a solution looking
for a problem. Ask Leif Madsen about what he can make a standard dialplan
do. Smile

Oh, I think AEL is a great idea. I expect we will start migrating our
macros into AEL when we upgrade to 1.6 (maybe 6 mo - 1 yr from now).
I'll start with our extensive, spaghetti code macros. I doubt we will
ever migrate *everything* to AEL, no need to with the way we have our
extensions.conf setup. i.e. Set channel variables, run macro.

--
Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS,
T-1, PRI, Frame Relay, Linux, and network design. Based near
Birmingham, AL. Now accepting clients worldwide.
Back to top
sherwood.mcgowan at gm...
Guest





PostPosted: Tue Jun 03, 2008 11:59 am    Post subject: [asterisk-users] Any reason to *not* use AEL? (Also, MixMoni Reply with quote

Atis Lezdins wrote:
Quote:
On Tue, Jun 3, 2008 at 6:23 PM, Sherwood McGowan
<sherwood.mcgowan at gmail.com> wrote:

Quote:
Tilghman Lesher wrote:

Quote:
On Tuesday 03 June 2008 09:03:16 Sherwood McGowan wrote:


Quote:
The only thing you need to watch for is falling into some basic
"traps" like calling ${EXTEN} from within a switch (the AEL compiler
uses sw-xxxx extensions for case instances).


This should already be solved in the latest release. The extension will
be saved in an alternate variable, and references to ${EXTEN} below
a switch will be converted to use that alternate variable.



Actually, no they're not converted to the alternate variable. Guess I
should contact Murf, because now that I think of it I had mentioned this
to Murf before I think.



They are on 1.4.19, but this works invisible to user:

exten => _X.,76,Set(~~EXTEN~~=${EXTEN})
exten => _X.,77,Goto(sw-98-${DIALSTATUS}|10)
exten => _X.,78,NoOp(Finish switch-if-if-local_dial-95-97-9Cool
exten => _X.,79,Goto(103)

Regards,
Atis


Yes, but if you call ${EXTEN} within the switch, it does not (at least
on my Asterisk 1.4.20 system) jump transparently to ${~~EXTEN~~} it
still attempts to use ${EXTEN}.

[new_test]
exten => _X.,1,Goto(sw-24-${CHANNEL}|10)
exten => _X.,2,NoOp(Finish switch-new_test-24)
exten => _sw-24-.,10,Goto(${EXTEN}|tests)
exten => sw-24-,10,Goto(sw-24-.|10)

AEL Code:
context new_test {
_X. => {
switch(${CHANNEL}) {
default:
jump ${EXTEN},tests;
}
}
}

--
Sherwood McGowan
VoIP / Telecom Solutions
sherwood.mcgowan at gmail.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services