Re: [Openh323gk-users] auto-refresh for Web Directory in PHP with Calls in progress

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

 



with the following script, the vcalls.php will automatially refresh very 5 second. it maybe useful for monitoring the gnuGK.
 
 
<SCRIPT>
<!--
/*
Auto Refresh Page with Time script

*/
var limit="0:5"
if (document.images){
var parselimit=limit.split(":")
parselimit=parselimit[0]*60+parselimit[1]*1
}
function beginrefresh(){
if (!document.images)
return
if (parselimit==1)
window.location.reload()
else{
parselimit-=1
curmin=Math.floor(parselimit/60)
cursec=parselimit%60
if (curmin!=0)
curtime=curmin+" minutes and "+cursec+" bis zum Neuladen der Seite!"
else
curtime=cursec+" my voip network!"
window.status=curtime
setTimeout("beginrefresh()",1000)
}
}
window.>//-->
</SCRIPT>
 


Zygmuntowicz Michal <m.zygmuntowicz@onet.pl> wrote:
----- Original Message -----
From: "Ap.Muthu"
Sent: Tuesday, August 26, 2003 6:10 PM
Subject: [Openh323gk-users] Web Directory in PHP with Calls in progress


> Further to Rob Fowler's PHP version of the GNUgk status, I modified it for
> elegance and added a Calls in Progress feature.

Maybe the functions could be yet more parametrized to accept:
gkaddress,statusport [defualt 7000],username [default none],password [default none],limit [default 50], offset
[default 0]
?

where 'limit' would be desired number of calls to be displayed and 'offset' would be an index
of fist call to be displayed?

Maybe and tags could be assigned some class, so it would be enough
to just include some stylesheet to get the table formatted in a customized way?

---
Michal Zygmuntowicz



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
List: Openh323gk-users@lists.sourceforge.net
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/



Post your free ad now! Yahoo! Canada Personals

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

  Powered by Linux