Hi, I had earlier posted some small php scripts that I use to personally monitor the running calls on the GK. However, when 2.2.5 was released, an update in the socket handling code caused the script to malfunction which has been outlined in other threads in the list. With 2.2.6 a fix has been issued, but that fixes the problem for the localhost, but not from a remote host. I've rewritten the script that polls that running calls data to be run on the system that is running the GK. This script gets the output, and parses it into a text file containing a single line for each call. I'm attaching a copy of the script here for anybody out there wishing to use it. The script does the following: 1. It checks if the config in memory is lost, and issues a reload command. 2. It parses the output and writes them into a file the $path variable at the top. 3. Disconnects all calls that are over 7200 seconds. Regards HASSAAN
Attachment:
get_gknow.php
Description: Binary data
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________________ Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users Homepage: http://www.gnugk.org/