[Freeswitch-users] An extension with a javascript action can handle multiple concurrent calls?
Sergey Okhapkin
sos at sokhapkin.dyndns.org
Wed Jun 8 19:40:45 MSD 2011
To me lua frequently crashes when multiple channels call lua interpreter at
the same time. Even with trivial lua script which calls single select
statement using dbh.
On Wednesday 08 June 2011, Michael Collins wrote:
> Yes, you'll have one js instance for each call. JS does not scale very
> well, but if you want the ability to scale a lot then you should use Lua.
>
> -MC
>
> On Wed, Jun 8, 2011 at 8:30 AM, Yungwei Chen <yungwei at resolvity.com> wrote:
> > Hi,
> >
> > I'm wondering if the following extension can handle multiple concurrent
> > calls. Thanks.
> >
> > <extension name="test">
> >
> > <condition field="destination_number" expression="^9912$">
> >
> > <action application="answer"/>
> > <action application="javascript" data="test.js"/>
> >
> > </condition>
> >
> > </extension>
> >
> > _______________________________________________
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
More information about the FreeSWITCH-users
mailing list