Hi,
As given below you can telnet to 7000 port (status port). You can type in 'help' after you telnet and you'll be provided with a list of commands (you can also type '?' and the current registrations are displayed). A simple way i feel could be to use an Expect script. I think you can use spawn telnet $ipaddress $port (ip address = gnugk machine's ip address, port =7000) and then u can send in send"?\r".
Hope this helps.....
All the best.
Venkat
-----Original Message-----
From: openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx
[mailto:openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx]On Behalf Of vasix
Sent: Wednesday, October 27, 2004 11:35 AM
To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx; Santanu Bhattacharya
Subject: Re: list of online names
Hi
you can connect to status (7000 I think) port via telnet with a perl script
(mrat is a good choice or you can make your own script), run a "show current
calls" or something like this with the script, then you parse the result in
perl/cgi and show it via apache server
if you find a simple solution tell me too
Vasix
On Wednesday 27 October 2004 05:55, Santanu Bhattacharya wrote:
> hello friends,
>
> i am using gnugk-2.0.8. i would like the gatekeeper to give me a list
> of names of the users who are online at the moment.
>
> can such a list be found in the code? can someone please advice on
> whether such a list can be made from which part of the code?
>
> eagerly waiting for a reply. my deadline is nearing!!
>
> thanks in advance..
>
> cheers,
> Santanu Bhattacharya
> Student, National University of Singapore
> Singapore
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
>
> _______________________________________________________
>
> List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
> Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
> Homepage: http://www.gnugk.org/
--
Vasile MITREA
Netpoint Technical Support
20, Dr. Panait Iatropol st.
Bucharest, Romania
Telefon: +40 21 4116277 / +40 724 377061
Telefax: +40 21 4116285
e-mail: mailto:vasile.mitrea@xxxxxxxxxxx
homepage: http://www.netpoint.ro
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________________
List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/