[asterisk-users] How does extensions.lua compares to extensions.conf ?

2014-02-12 Thread Olivier
Hello,

How does extensions.lua compares to extensions.conf or extensions.ael on
stability, performance and features ?

Would you recommand  extensions.lua as an easy/easier way to access
memcached, redis or equivalent ?

Thoughs ? Comments ?

Regards
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] How does extensions.lua compares to extensions.conf ?

2014-02-12 Thread Paul Belanger
On Wed, Feb 12, 2014 at 12:50 PM, Olivier  wrote:
> Hello,
>
> How does extensions.lua compares to extensions.conf or extensions.ael on
> stability, performance and features ?
>
> Would you recommand  extensions.lua as an easy/easier way to access
> memcached, redis or equivalent ?
>
> Thoughs ? Comments ?
>
The lack of replies should give you your answer.  Extensions AEL and
LUA don't get much action these days, I'm sure there are a few people
that use them but extensions.conf has way more code coverage from a
testing POV.

Your better off using AGI if you want to leverage redis or memcached.


-- 
Paul Belanger | PolyBeacon, Inc.
Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
Github: https://github.com/pabelanger | Twitter: https://twitter.com/pabelanger

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] How does extensions.lua compares to extensions.conf ?

2014-02-12 Thread George Joseph
On Wed, Feb 12, 2014 at 6:26 PM, Paul Belanger  wrote:

> On Wed, Feb 12, 2014 at 12:50 PM, Olivier  wrote:
> > Hello,
> >
> > How does extensions.lua compares to extensions.conf or extensions.ael on
> > stability, performance and features ?
> >
> > Would you recommand  extensions.lua as an easy/easier way to access
> > memcached, redis or equivalent ?
> >
> > Thoughs ? Comments ?
> >
> The lack of replies should give you your answer.  Extensions AEL and
> LUA don't get much action these days, I'm sure there are a few people
> that use them but extensions.conf has way more code coverage from a
> testing POV.
>
> Your better off using AGI if you want to leverage redis or memcached.
>
> Actually, I use Lua dialplans in several production systems.  Some are
used in conjunction with traditional dialplans and some are the only source
of dialplans.  They've always been rock solid.   I actually find it easier
to configure even a moderately complex dialplan than the traditional
dialplan syntax.
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] How does extensions.lua compares to extensions.conf ?

2014-02-13 Thread Paul Belanger
On Thu, Feb 13, 2014 at 1:04 AM, George Joseph
 wrote:
> On Wed, Feb 12, 2014 at 6:26 PM, Paul Belanger
>  wrote:
>>
>> On Wed, Feb 12, 2014 at 12:50 PM, Olivier  wrote:
>> > Hello,
>> >
>> > How does extensions.lua compares to extensions.conf or extensions.ael on
>> > stability, performance and features ?
>> >
>> > Would you recommand  extensions.lua as an easy/easier way to access
>> > memcached, redis or equivalent ?
>> >
>> > Thoughs ? Comments ?
>> >
>> The lack of replies should give you your answer.  Extensions AEL and
>> LUA don't get much action these days, I'm sure there are a few people
>> that use them but extensions.conf has way more code coverage from a
>> testing POV.
>>
>> Your better off using AGI if you want to leverage redis or memcached.
>>
> Actually, I use Lua dialplans in several production systems.  Some are used
> in conjunction with traditional dialplans and some are the only source of
> dialplans.  They've always been rock solid.   I actually find it easier to
> configure even a moderately complex dialplan than the traditional dialplan
> syntax.
>
Cool, you are in the minor on that one.  My only caution about using
them about be the lack of support if you had issues.

-- 
Paul Belanger | PolyBeacon, Inc.
Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
Github: https://github.com/pabelanger | Twitter: https://twitter.com/pabelanger

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] How does extensions.lua compares to extensions.conf ?

2014-02-13 Thread George Joseph
On Thu, Feb 13, 2014 at 8:39 AM, Paul Belanger  wrote:

> On Thu, Feb 13, 2014 at 1:04 AM, George Joseph
>  wrote:
> > On Wed, Feb 12, 2014 at 6:26 PM, Paul Belanger
> >  wrote:
> >>
> >> On Wed, Feb 12, 2014 at 12:50 PM, Olivier  wrote:
> >> > Hello,
> >> >
> >> > How does extensions.lua compares to extensions.conf or extensions.ael
> on
> >> > stability, performance and features ?
> >> >
> >> > Would you recommand  extensions.lua as an easy/easier way to access
> >> > memcached, redis or equivalent ?
> >> >
> >> > Thoughs ? Comments ?
> >> >
> >> The lack of replies should give you your answer.  Extensions AEL and
> >> LUA don't get much action these days, I'm sure there are a few people
> >> that use them but extensions.conf has way more code coverage from a
> >> testing POV.
> >>
> >> Your better off using AGI if you want to leverage redis or memcached.
> >>
> > Actually, I use Lua dialplans in several production systems.  Some are
> used
> > in conjunction with traditional dialplans and some are the only source of
> > dialplans.  They've always been rock solid.   I actually find it easier
> to
> > configure even a moderately complex dialplan than the traditional
> dialplan
> > syntax.
> >
> Cool, you are in the minor on that one.  My only caution about using
> them about be the lack of support if you had issues.
>
> Yeah, and the other issue is that none of the Asterisk configuration front
ends support it.   If you're already Lua literate though, the samples from
the Wiki can get you started quickly.
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] How does extensions.lua compares to extensions.conf ?

2014-02-13 Thread Steve Edwards

On Wed, 12 Feb 2014, Olivier wrote:

How does extensions.lua compares to extensions.conf or extensions.ael on 
stability, performance and features ?


I'm a 1.2 Luddite, but...

I used AEL for a system a couple of years ago.

Even suffering through some syntactical inconsistencies and parsing bugs 
and a general lack of meaningful error messages when loading the dialplan, 
the result was a much more maintainable system.


It was very refreshing being able to program in a 'real' programming 
language rather than something reminiscent of a deck of punch cards :)


--
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


Re: [asterisk-users] How does extensions.lua compares to extensions.conf ?

2014-02-13 Thread Eric Wieling
We use extensions.conf, AEL, and AGI scripts.Debugging AEL scripts can 
beinteresting, but worth it.   I also like being able to program in a real 
language

Our extensions.conf handles the incoming call initially, an AGI is then run 
which talks to the database and does the heavy lifting.  It sets a bunch of 
channel variables and passes control back to the dialplan, in case something 
custom needs to be done.  An AEL script with a few macros in it does the actual 
dialing and is called after the custom stuff is done.The AEL scripts are 
seldom changed.  

I'm not a fan of dialing from inside AGIs due to a traumatic experience trying 
that back in the 0.65 / 1.2 eras, all of that is handled in the AEL script.

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Steve Edwards
Sent: Thursday, February 13, 2014 8:34 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] How does extensions.lua compares to 
extensions.conf ?

On Wed, 12 Feb 2014, Olivier wrote:

> How does extensions.lua compares to extensions.conf or extensions.ael 
> on stability, performance and features ?

I'm a 1.2 Luddite, but...

I used AEL for a system a couple of years ago.

Even suffering through some syntactical inconsistencies and parsing bugs and a 
general lack of meaningful error messages when loading the dialplan, the result 
was a much more maintainable system.

It was very refreshing being able to program in a 'real' programming language 
rather than something reminiscent of a deck of punch cards :)
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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