-----Original Message----- From: "Oleg Ustinov" <Oleg.Ustinov@xxxxxxxxxx> To: <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx> Date: Thu, 15 Apr 2004 21:51:38 +0200 Subject: RE: Re: Disconnect Call in PHPGNUgkStatus v0.5 Hello guys, I tried this thing for managing gnugk over http/https and really liked. Here is my contribution - It's not clean yet (lack of free time, sorry...), however IT's WAY bertter than the version I download from some site. The original version had many bugs - it was suitable only in situation when gnugk doesn't receive any requests and doesn't send any status msgs... If you tried you should have seen some of this problems... first suggestion is to switch to non blocking socks and set execution timeout.... In my script you only need to adapt tree lines at the top: HOST, PORT and the name of the script. It supports unregistrations/call drops in the most simple way - please if you find it usefull take this design into the main release. Sessions support/security features are up to the user , etc etc etc.... If used with mod_ssl I find it may have future. PS. Sorry if my comments are late if I used an outdated version > > Hi, > > I think PHP works correct for shown all parameters. > For disconnect I get correct link - ....?callnum=12345 > > like this: > http://80.86.179.111/test/vcalls.php?callnum=1381 > > But happened nothing... Just reload as so, as ?callnum=1381 not exist :-( > > > > -----Original Message----- > From: openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx > [mailto:openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Ap.Muthu > Sent: Thursday, April 15, 2004 9:25 PM > To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx > Subject: Re: Disconnect Call in PHPGNUgkStatus v0.5 > > Hi Oleg, > > The disconnect call takes place in vcalls.php. > Please see that the 2 instances of "192.168.1.1" are replaced with your gk > IP and you have access to your GK port. > Do you see the html code of the element you click to disconnect a call? > Please provide the HTML source segment of the page as displayed. > Line 96: > if ($callnum) DisconnectCall("192.168.1.1", $callnum); Line 117: > GetCurrentCalls("192.168.1.1"); > > You can also go to telnet://gkip:7000 and issue the command:- > printcurrentcalls and get the callnumber n you want to disconnect. > Then issue the command:- > DisconnectCall n > where n is callnumber above. > Then see if the call is disconnected and what message comes and if it > tallies with that in dereg.inc.php's portion of the DisconnectCall function. > > It is also possible that you do not support superglobals in your PHP.INI > file. The callnumber is transferred by a variable put into the URL and it > must be got (_GET) from the commandline. > > if ($callnum) DisconnectCall("192.168.1.1", $callnum); > > may be replaced with > > if (isset($callnum)) DisconnectCall("192.168.1.1", $callnum); > > or maybe make it as:- > > $callnum = $_REQUEST['callnum']; > if ($callnum) DisconnectCall("192.168.1.1", $callnum); > > Regards, > Ap.Muthu > > > > > > On Behalf Of Oleg Ustinov > > Sent: Jueves, 15 de Abril de 2004 06:40 a.m. > > Subject: RE: Re: PHPgnugkstatus v0.5 released > > > > Hi, > > > > I think the problem is other > > I can not disconnect call, reload config or deregister alias. > > If I click on the link to disconnectcall - it is not happened, just > > site reload. > > > > I use last Apache and PHP 4.2.2 > > It seems that ?callnum=12345 is not accepted > > > > Where that problem could be? > > > > Oleg > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial > presented by Daniel Robbins, President and CEO of GenToo technologies. Learn > everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > _______________________________________________________ > > List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx > Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 > Homepage: http://www.gnugk.org/ > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > _______________________________________________________ > > List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx > Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 > Homepage: http://www.gnugk.org/ >
Attachment:
config.php
Description: Binary data