Re: [Freeswitch-users] Estimating Call Capacity

2009-10-28 Thread Cliff Wells
Hi Shelby,

Thanks!  That's pretty useful.   I also note that this same info is
available from the CLI, although I was curious as to what some of the
numbers indicated:

UP 0 years, 13 days, 19 hours, 25 minutes, 48 seconds, 887 milliseconds, 975 
microseconds
529509 session(s) since startup
26 session(s) 0/30
1000 session(s) max

Specifically, 26 sessions 0/30... I take it this means there are 26
current sessions, but I'm unsure of what the "0/30" means.

Cliff


On Tue, 2009-10-27 at 15:19 -0500, Shelby Ramsey wrote:
> Cliff,
> 
> Try using xml_rpc ... status or show channels will give you what you need.
> 
> SDR
> 
> Cliff Wells wrote:
> > A little off-topic, but since call-capacity is the subject, what are
> > people using to analyze their CDR's to discover this?   I'm handling
> > about 30k calls per day but have only a bandwidth-based guesstimate of
> > the peak number of concurrent calls I'm handling.
> >
> > If there's an open source solution, I'd appreciate a pointer.
> >
> > Regards,
> > Cliff
> >
> > On Mon, 2009-10-26 at 18:01 -0400, Eliot Gable wrote:
> >   
> >> Although, FYI, I just benchmarked mod_xml_curl on a separate web app
> >> server from FS with FS on a Dell R710 with their current best
> >> processor option (Intel Xeon X5570 @2.93GHz with 8-cores total) and 32
> >> GB memory. The web app server is less than half the power of the R710.
> >> I maxed the web app server at 300 calls per second (both setting up
> >> and tearing down) and the R710 running FS was 65% idle. No audio was
> >> being proxied through FS, though. If I were running the web app server
> >> on an equivalent R710, they probably would have been on-par with each
> >> other in performance. Extrapolating, I expect that in such a case I
> >> should be able to get at least 650 CPS out of FS, though for
> >> production I would probably limit it to 400 CPS or less so I leave
> >> room for miscellaneous tasks. I maxed out the R710 at over 16,000
> >> simultaneous calls (again, no audio proxying) but the only reason I
> >> couldn't do more was because I hit some sort of thread creation limit
> >> in Linux. There was about 17 GB of memory used for this many calls.
> >> This should give you some ballpark idea of what you can accomplish
> >> with FS.
> >>
> >> At some point, I will track down and resolve the thread creation
> >> issue, at which time I believe call limits will be limited either by a
> >> complex combination of available memory, the speed of the processor,
> >> the cost of thread context switching, calls per second setup rate, and
> >> call duration.
> >>
> >> --
> >> Eliot Gable
> >>
> >> 
> >>> -Original Message-
> >>>
> >>> From: freeswitch-users-boun...@lists.freeswitch.org 
> >>> [mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of 
> >>> Giovanni Maruzzelli
> >>>
> >>> Sent: Monday, October 26, 2009 4:56 PM
> >>>
> >>> To: freeswitch-users@lists.freeswitch.org
> >>>
> >>> Subject: Re: [Freeswitch-users] Estimating Call Capacity
> >>>
> >>>
> >>>
> >>> On Mon, Oct 26, 2009 at 9:28 PM, Vinuth Madinur
> >>>
> >>>  wrote:
> >>>
> >>>   
> >>>> Here are a few benchmarks that I had stumbled upon.
> >>>> 
> >>>> http://wiki.voiceworks.pl/display/~pawel/FreeSwitch+performance+on+SUN+x2200+M2
> >>>> 
> >>>
> >>> Please remember NO benchmarks are endorsed by the FS community or
> >>>
> >>> developers, because there are just too many variables, and a simple
> >>>
> >>> figure is just useful for marketing hype, not for real dimensioning.
> >>>
> >>>
> >>>
> >>> You MUST do your own benchmarking, so you get an idea about how to
> >>>
> >>> dimension for your own use case and hardware.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>   
> >>>> Thanks,
> >>>> 
> >>>> Vinuth.
> >>>> 
> >>>> On Tue, Oct 27, 2009 at 1:43 AM, Brian West  wrote:
> >>>> 
> >>>>> I highly doubt it... You can wait for someon

Re: [Freeswitch-users] Estimating Call Capacity

2009-10-28 Thread Cliff Wells
That's really nice looking software.   Thanks for the pointer.

Cliff


On Tue, 2009-10-27 at 16:06 -0400, Gregory Boehnlein wrote:
> I'm fond of Vqmanager from ManagEngine. It is a passive SIP monitor. I.E.
> you mirror the ports that your FS or Asterisk boxes, and VQmanager sniffs
> the mirrors, tracking all sorts of good data.
> 
> You can install it on a Centos box, and get a free trial.
> 
> http://www.manageengine.com/products/vqmanager/index.html
> 
> What is really cool is that it actually monitors the RTP/RTCP as well as all
> of the SIP headers and archives the calls, so you can look at calls from
> several days ago and see EXACTLY what happened on them. I have used this
> extensively to pinpoint bad Level 3 and X/O media gateways.. Much better
> than trying to sniff packets in real-time and MAYBE catch a problem..
> 
> I've also used it to find/fix several SIP issues w/ odd endpoints.. Very
> easy to see..
> 
> > -Original Message-
> > From: freeswitch-users-boun...@lists.freeswitch.org [mailto:freeswitch-
> > users-boun...@lists.freeswitch.org] On Behalf Of Cliff Wells
> > Sent: Tuesday, October 27, 2009 3:52 PM
> > To: freeswitch-users@lists.freeswitch.org
> > Subject: Re: [Freeswitch-users] Estimating Call Capacity
> > 
> > A little off-topic, but since call-capacity is the subject, what are
> > people using to analyze their CDR's to discover this?   I'm handling
> > about 30k calls per day but have only a bandwidth-based guesstimate of
> > the peak number of concurrent calls I'm handling.
> > 
> > If there's an open source solution, I'd appreciate a pointer.
> > 
> > Regards,
> > Cliff
> > 
> > On Mon, 2009-10-26 at 18:01 -0400, Eliot Gable wrote:
> > > Although, FYI, I just benchmarked mod_xml_curl on a separate web app
> > > server from FS with FS on a Dell R710 with their current best
> > > processor option (Intel Xeon X5570 @2.93GHz with 8-cores total) and
> > 32
> > > GB memory. The web app server is less than half the power of the
> > R710.
> > > I maxed the web app server at 300 calls per second (both setting up
> > > and tearing down) and the R710 running FS was 65% idle. No audio was
> > > being proxied through FS, though. If I were running the web app
> > server
> > > on an equivalent R710, they probably would have been on-par with each
> > > other in performance. Extrapolating, I expect that in such a case I
> > > should be able to get at least 650 CPS out of FS, though for
> > > production I would probably limit it to 400 CPS or less so I leave
> > > room for miscellaneous tasks. I maxed out the R710 at over 16,000
> > > simultaneous calls (again, no audio proxying) but the only reason I
> > > couldn't do more was because I hit some sort of thread creation limit
> > > in Linux. There was about 17 GB of memory used for this many calls.
> > > This should give you some ballpark idea of what you can accomplish
> > > with FS.
> > >
> > > At some point, I will track down and resolve the thread creation
> > > issue, at which time I believe call limits will be limited either by
> > a
> > > complex combination of available memory, the speed of the processor,
> > > the cost of thread context switching, calls per second setup rate,
> > and
> > > call duration.
> > >
> > > --
> > > Eliot Gable
> > >
> > > > -Original Message-
> > > >
> > > > From: freeswitch-users-boun...@lists.freeswitch.org
> > [mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of
> > Giovanni Maruzzelli
> > > >
> > > > Sent: Monday, October 26, 2009 4:56 PM
> > > >
> > > > To: freeswitch-users@lists.freeswitch.org
> > > >
> > > > Subject: Re: [Freeswitch-users] Estimating Call Capacity
> > > >
> > > >
> > > >
> > > > On Mon, Oct 26, 2009 at 9:28 PM, Vinuth Madinur
> > > >
> > > >  wrote:
> > > >
> > > > > Here are a few benchmarks that I had stumbled upon.
> > > >
> > > > >
> > http://wiki.voiceworks.pl/display/~pawel/FreeSwitch+performance+on+SUN+
> > x2200+M2
> > > >
> > > >
> > > >
> > > > Please remember NO benchmarks are endorsed by the FS community or
> > > >
> > > > developers, because there are just too many variables, and a simple
> > > >
> 

Re: [Freeswitch-users] Estimating Call Capacity

2009-10-27 Thread Cliff Wells
A little off-topic, but since call-capacity is the subject, what are
people using to analyze their CDR's to discover this?   I'm handling
about 30k calls per day but have only a bandwidth-based guesstimate of
the peak number of concurrent calls I'm handling.

If there's an open source solution, I'd appreciate a pointer.

Regards,
Cliff

On Mon, 2009-10-26 at 18:01 -0400, Eliot Gable wrote:
> Although, FYI, I just benchmarked mod_xml_curl on a separate web app
> server from FS with FS on a Dell R710 with their current best
> processor option (Intel Xeon X5570 @2.93GHz with 8-cores total) and 32
> GB memory. The web app server is less than half the power of the R710.
> I maxed the web app server at 300 calls per second (both setting up
> and tearing down) and the R710 running FS was 65% idle. No audio was
> being proxied through FS, though. If I were running the web app server
> on an equivalent R710, they probably would have been on-par with each
> other in performance. Extrapolating, I expect that in such a case I
> should be able to get at least 650 CPS out of FS, though for
> production I would probably limit it to 400 CPS or less so I leave
> room for miscellaneous tasks. I maxed out the R710 at over 16,000
> simultaneous calls (again, no audio proxying) but the only reason I
> couldn't do more was because I hit some sort of thread creation limit
> in Linux. There was about 17 GB of memory used for this many calls.
> This should give you some ballpark idea of what you can accomplish
> with FS.
> 
> At some point, I will track down and resolve the thread creation
> issue, at which time I believe call limits will be limited either by a
> complex combination of available memory, the speed of the processor,
> the cost of thread context switching, calls per second setup rate, and
> call duration.
> 
> --
> Eliot Gable
> 
> > -Original Message-
> >
> > From: freeswitch-users-boun...@lists.freeswitch.org 
> > [mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of 
> > Giovanni Maruzzelli
> >
> > Sent: Monday, October 26, 2009 4:56 PM
> >
> > To: freeswitch-users@lists.freeswitch.org
> >
> > Subject: Re: [Freeswitch-users] Estimating Call Capacity
> >
> >
> >
> > On Mon, Oct 26, 2009 at 9:28 PM, Vinuth Madinur
> >
> >  wrote:
> >
> > > Here are a few benchmarks that I had stumbled upon.
> >
> > > http://wiki.voiceworks.pl/display/~pawel/FreeSwitch+performance+on+SUN+x2200+M2
> >
> >
> >
> > Please remember NO benchmarks are endorsed by the FS community or
> >
> > developers, because there are just too many variables, and a simple
> >
> > figure is just useful for marketing hype, not for real dimensioning.
> >
> >
> >
> > You MUST do your own benchmarking, so you get an idea about how to
> >
> > dimension for your own use case and hardware.
> >
> >
> >
> >
> >
> > > Thanks,
> >
> > > Vinuth.
> >
> > >
> >
> > > On Tue, Oct 27, 2009 at 1:43 AM, Brian West  wrote:
> >
> > >>
> >
> > >> I highly doubt it... You can wait for someone to post their results
> >
> > >> but in the end you'll have to do your own load testing because not
> >
> > >> everyone's numbers will jive with your use case.  Which is the reason
> >
> > >> the project never posts or endorses a set call count.
> >
> > >>
> >
> > >> /b
> >
> > >>
> >
> > >> On Oct 26, 2009, at 2:50 PM, Ujjval Karihaloo wrote:
> >
> > >>
> >
> > >> > Are there any benchmarking test results available publicly?
> >
> > >> > 
> >
> > >>
> >
> > >>
> >
> > >> ___
> >
> > >> FreeSWITCH-users mailing list
> >
> > >> FreeSWITCH-users@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@lists.freeswitch.org
> >
> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >
> > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> >
> > > http://www.freeswitch.org
> >
> > >
> >
> > >
> >
> >
> >
> >
> >
> >
> >
> > --
> >
> > Sincerely,
> >
> >
> >
> > Giovanni Maruzzelli
> >
> > Cell : +39-347-2665618
> >
> >
> >
> > ___
> >
> > FreeSWITCH-users mailing list
> >
> > FreeSWITCH-users@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@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-- 
http://www.google.com/sea

Re: [Freeswitch-users] rdnis variable from Lua

2009-05-11 Thread Cliff Wells
I found a workaround, but it'd be nice to actually have the RDN easily
accessible from Lua:

calling_number = session:getVariable ( "sip_h_Diversion" )
_, _, calling_number = string.find ( calling_number, "sip:(%d+)@" )


Cliff

On Mon, 2009-05-11 at 17:22 -0700, Cliff Wells wrote:
> Hi,
> 
> I can see the RDN in the log file, but don't know how to retrieve it
> from a Lua script.
> 
> Regards,
> Cliff
> 
> 
> ___
> Freeswitch-users mailing list
> Freeswitch-users@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@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] rdnis variable from Lua

2009-05-11 Thread Cliff Wells
Hi,

I can see the RDN in the log file, but don't know how to retrieve it
from a Lua script.

Regards,
Cliff


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Compact, fanless appliance?

2009-04-29 Thread Cliff Wells
On Wed, 2009-04-29 at 04:47 -0700, Fred-145 wrote:
> 
> EdPimentl wrote:
> > Here is a list of the resources posted on this thread
> 
> After giving it more thoughts, I got to the conclusion that I'd rather a
> stand-alone miniPC that can take a PCI card with a riser, instead of a
> really tiny box that relies on an external box to connect to a PSTN line.
> 
> Mini-box offers a $120 kit that includes an Intel D945GCLF mobo and a
> pico-PSU. All it misses, is RAM and some mass storage.
> 
> Does someone know if there's some kind of CompactFlash that can connect to
> an IDE port? That would save space + noise.

http://www.google.com/products?q=ide+to+compact+flash&scoring=p


Regards,
Cliff


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org