[Freeswitch-users] Getting current call count
Ken Rice
krice at freeswitch.org
Sun Feb 15 15:40:19 PST 2009
2/200 is number of sessions per second/MAX number of sessions per second...
If you do a fsctl max_sessions¹ that will show you max number of sessions
Status outputs something like this
API CALL [status()] output:
UP 0 years, 0 days, 17 hours, 18 minutes, 36 seconds, 913 milliseconds, 565
microseconds
1574 session(s) since startup
4 session(s) 0/30
Uptime
Total Number of session(s) since startup
Active session(s) sessions per sec/max sessions per sec
From: Nik Middleton <nik.middleton at noblesolutions.co.uk>
Reply-To: <freeswitch-users at lists.freeswitch.org>
Date: Sun, 15 Feb 2009 22:18:56 -0000
To: <freeswitch-users at lists.freeswitch.org>
Subject: [Freeswitch-users] Getting current call count
Hi guys,
I¹d like to get the number of calls on the system so that I can manage the
load.
>From the cli, I¹ve tried the following:
Show channels
This along with the call detail shows me the correct number of calls
Show calls count
This delivers a value of zero.
I should add that I¹m placing an outbound call from a JavaScript.
If I originate another call within the script and bridge it with the first,
it then shows 1 call
It¹s as if it¹s only counting calls between two end points
Status
Shows correct number of sessions, BUT shows 2/200
(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)
Am I missing something here? Is there another way of doing this?
Regards,
_______________________________________________
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/20090215/969f8e75/attachment-0002.html
More information about the FreeSWITCH-users
mailing list