<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] Getting current call count</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>2/200 is number of sessions per second/MAX number of sessions per second...<BR>
<BR>
If you do a ‘fsctl max_sessions’ that will show you max number of sessions<BR>
<BR>
<BR>
Status outputs something like this<BR>
<BR>
API CALL [status()] output:<BR>
UP 0 years, 0 days, 17 hours, 18 minutes, 36 seconds, 913 milliseconds, 565 microseconds<BR>
1574 session(s) since startup<BR>
4 session(s) 0/30<BR>
<BR>
Uptime<BR>
Total Number of session(s) since startup<BR>
Active session(s) sessions per sec/max sessions per sec<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"><B>From: </B>Nik Middleton <nik.middleton@noblesolutions.co.uk><BR>
<B>Reply-To: </B><freeswitch-users@lists.freeswitch.org><BR>
<B>Date: </B>Sun, 15 Feb 2009 22:18:56 -0000<BR>
<B>To: </B><freeswitch-users@lists.freeswitch.org><BR>
<B>Subject: </B>[Freeswitch-users] Getting current call count<BR>
<BR>
</SPAN></FONT><FONT FACE="Arial"><SPAN STYLE='font-size:10pt'>Hi guys,<BR>
<BR>
I’d like to get the number of calls on the system so that I can manage the load.<BR>
<BR>
>From the cli, I’ve tried the following:<BR>
<BR>
Show channels<BR>
<BR>
This along with the call detail shows me the correct number of calls<BR>
<BR>
Show calls count<BR>
<BR>
This delivers a value of zero.<BR>
<BR>
I should add that I’m placing an outbound call from a JavaScript.<BR>
<BR>
If I originate another call within the script and bridge it with the first, it then shows 1 call<BR>
<BR>
It’s as if it’s only counting calls between two end points <BR>
<BR>
Status<BR>
<BR>
Shows correct number of sessions, BUT… shows 2/200 <BR>
<BR>
(200 is the value set in call setups/sec. I’ve set maximum calls to 1000, so I’m hoping that this is a typo)<BR>
<BR>
Am I missing something here? Is there another way of doing this?<BR>
<BR>
Regards,<BR>
</SPAN></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
Freeswitch-users mailing list<BR>
Freeswitch-users@lists.freeswitch.org<BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>