Hi there, I'm very pleased to announce the immediate availability of PyGNUGK v1.00 PyGNUGK is both a command line tool, a CGI script, and a set of Python classes available as a Python module, which can connect to GNU Gatekeeper's status port and return informations about what's there. It can currently report the list of registered endpoints and ongoing calls, but more features will be added in the future. The report can currently be made either in plain text or in XML format. PyGNUGK is available under the terms of the GNU General Public License from : http://cortex.unice.fr/~jerome/pygnugk/ Command line usage : $ pygnugk [--xml] [gkhost] [gkport] * --xml gives an XML report, otherwise plain text is assumed. * gkhost defaults to 'localhost'. * gkport defaults to '7000'. CGI usage : Copy the pygnugk command line tool from /usr/bin to /usr/lib/cgi-bin or create a symlink there. From your web browser all of these are allowed : http://yourserver/cgi-bin/pygnugk?host=gkhost&port=gkport http://yourserver/cgi-bin/pygnugk?host=gkhost&port=gkport&format=xml http://yourserver/cgi-bin/pygnugk This one defaults to 'localhost', port '7000' and format 'plain' Python module usage : --- CUT --- from gnugklib import gnugk gk = gnugk.GNUGK(host="localhost", port=7000) # Complete XML output (will grab endpoints and calls automatically) : print gk.xml() # Complete text output : endpoints = gk.getEndPoints() for endpoint in endpoints : print endpoint for call in gk.getCalls() : print call # outputs only first endpoint as XML (works with calls too) if endpoints : print endpoints[0].xml() --- CUT --- Comments, bug reports, patches, flames, etc... are VERY welcome. bye Jerome Alet ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________________ Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users Homepage: http://www.gnugk.org/