RE: Re: Disconnect Call in PHPGNUgkStatus v0.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux