Connect to the socket and subscribe to the heartbeat. The heartbeat event fires every 20 seconds and contains the session count. On Tue, Apr 28, 2009 at 21:19, Ron McCarthy <ronmccar@gmail.com> wrote:
will hitting it every 10 or 20 seconds hurt performance / eat a lot of CPU?
Only reason id like to hit every second so I could get some sort of attempt on the call setups and call transactions.
Has anyone even done anything like this before?
Thanks
On Tue, Apr 28, 2009 at 7:16 PM, Brian West <brian@freeswitch.org> wrote:
every second is way too high of a resolution. 10 seconds 20 seconds are more sane! /b On Apr 28, 2009, at 9:11 PM, Ron McCarthy wrote:
lso, if I have to make some custom plugin that montiors output the of show channels /show calls via one of the API's, anyway we can get a realtime stream so I don't have to query it every second to get correct data?
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
_______________________________________________ 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
-- Shannon