[Freeswitch-users] help with mod_conference stability

Michael Collins msc at freeswitch.org
Thu May 14 09:58:30 PDT 2009


Javascript has it's own issues. Tony wrote FreeSWITCH, including the
dialplan parser. The less you can use JS, especially in a high-volume
environment, the better. The happy medium is to use Lua. It is small,
lightweight, easy, and designed to be embedded. Tony has had 3000 Lua
session up simultaneously with no issues. I guarantee you that JS would have
a meltdown at a fraction of that volume...

-MC

On Thu, May 14, 2009 at 9:32 AM, Mike Fedyk <mfedyk at mikefedyk.com> wrote:

> Why is initiating a conference from a dial plan entry better than
> directly from an internal script?  Is there a page that details what
> is and isn't script abuse?
>
> On 5/5/09, Anthony Minessale <anthony.minessale at gmail.com> wrote:
> > You should rule out the network problems first, which sound more likely.
> >
> > you can reduce the overuse of JS if you transfer the call to a regular
> > extension with a dynamic regex.
> >
> > session.execute("transfer", "conf-xyz");
> >
> > then make a regex in your xml dialplan to pick up ^conf-(.*) and execute
> > conference $1
> >
> >
> > On Tue, May 5, 2009 at 9:48 AM, Stephen Crosby <stevecrozz at gmail.com>
> wrote:
> >
> >> Forgot to add that my OS is Ubuntu 8.04LTS (hardy heron).
> >>
> >> --Stephen
> >>
> >>
> >> On Tue, May 5, 2009 at 7:42 AM, Stephen Crosby
> >> <stevecrozz at gmail.com>wrote:
> >>
> >>> I know I'm not on svn trunk, but this is a production server and it's
> >>> just
> >>> not feasible to update it constantly. I can update it though if you
> think
> >>> I
> >>> need to. I am routing callers to the conference app with javascript
> like
> >>> this:
> >>> session.execute("conference", xyz);
> >>> Can you tell me more about the problems I could have?
> >>>
> >>> The machine running freeswitch has 1024MB memory and I'm not sure about
> >>> the CPU since its a VPS.
> >>>
> >>> --Stephen
> >>>
> >>> On Tue, May 5, 2009 at 3:49 AM, Brian West <brian at freeswitch.org>
> wrote:
> >>>
> >>>> First off you're not on SVN trunk secondly Are you executing the
> >>>> conference app inside your js file?  If so then there could be the
> >>>> problem!
> >>>>  You have also forgotten to include anything about Distro, OS, CPU and
> >>>> Memory.
> >>>> /b
> >>>>
> >>>> On May 5, 2009, at 12:12 AM, Stephen Crosby wrote:
> >>>>
> >>>> We had our first big issues with our freeswitch system today. During
> at
> >>>> least 2 conferences, audio became jittery and there were three
> occasions
> >>>> where everyone was dropped from a conference. Even so, conference
> >>>> recording
> >>>> was not interrupted, and the freeswitch debug log doesn't show
> anything
> >>>> unusual.
> >>>>
> >>>> Our hardware monitoring software doesn't show any kind of unusual
> >>>> resources usage, and our web host claims there were no outages during
> >>>> the
> >>>> time when we were experiencing problems.
> >>>>
> >>>> We're currently running revision 12259.
> >>>>
> >>>> How should I proceed in diagnosing this issue?
> >>>>
> >>>> --Stephen
> >>>>
> >>>>
> >>>>   Brian West
> >>>> brian at freeswitch.org
> >>>>
> >>>> -- Meet us at ClueCon!  http://www.cluecon.com
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> 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
> >>>>
> >>>>
> >>>
> >>
> >> _______________________________________________
> >> 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
> >>
> >>
> >
> >
> > --
> > Anthony Minessale II
> >
> > FreeSWITCH http://www.freeswitch.org/
> > ClueCon http://www.cluecon.com/
> >
> > AIM: anthm
> > MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com><
> MSN%3Aanthony_minessale at hotmail.com<MSN%253Aanthony_minessale at hotmail.com>
> >
> > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> <PAYPAL%3Aanthony.minessale at gmail.com<PAYPAL%253Aanthony.minessale at gmail.com>
> >
> > IRC: irc.freenode.net #freeswitch
> >
> > FreeSWITCH Developer Conference
> > sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org><
> sip%3A888 at conference.freeswitch.org<sip%253A888 at conference.freeswitch.org>
> >
> > iax:guest at conference.freeswitch.org/888
> > googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> <googletalk%3Aconf%2B888 at conference.freeswitch.org<googletalk%253Aconf%252B888 at conference.freeswitch.org>
> >
> > pstn:213-799-1400
> >
>
> --
> Sent from my mobile device
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090514/8f68549e/attachment-0001.html 


More information about the Freeswitch-users mailing list