VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
nik.middleton at noble... Guest
|
Posted: Sun Feb 15, 2009 5:23 pm Post 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, |
|
Back to top |
|
|
krice at freeswitch.org Guest
|
Posted: Sun Feb 15, 2009 6:42 pm Post subject: [Freeswitch-users] Getting current call count |
|
|
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@noblesolutions.co.uk> Reply-To: <freeswitch-users@lists.freeswitch.org> Date: Sun, 15 Feb 2009 22:18:56 -0000 To: <freeswitch-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|