Author |
Message |
noiptel Brekeke Talented
Joined: 22 Feb 2010 Posts: 68
Location: USA
|
Posted: Sun Nov 28, 2010 12:35 pm Post subject: SIP Server automatic refresh |
|
|
1. Brekeke Product Name and version: Version 2.4.3.9 Advanced
2. Java version:
3. OS type and the version:
4. UA (phone), gateway or other hardware/software involved:
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :
6. Your problem:
Is there a way to have the "Active Sessions" page "Refresh" every 10 seconds?
Is there a way to extend the "Login Session Timeout" or remove it?
Thanks. |
|
Back to top |
|
taitan Brekeke Master Guru
Joined: 15 Mar 2008 Posts: 237
|
Posted: Mon Nov 29, 2010 6:26 pm Post subject: |
|
|
Are you using Windows? Execute the following in the command line.
java -cp "C:\Program Files\Brekeke\proxy\webapps\proxy\WEB-INF\lib\ondosip.jar" svctl localhost sessionlist
> Is there a way to extend the "Login Session Timeout" or remove it?
open "WEB-INF/web.xml " file and update the <session-timeout> value. |
|
Back to top |
|
noiptel Brekeke Talented
Joined: 22 Feb 2010 Posts: 68
Location: USA
|
Posted: Tue Nov 30, 2010 12:42 pm Post subject: |
|
|
Thank you, we were able to change the session timeout.
How can we configure automatic refresh for the "Active Session" page? We would like for for page to automatically refresh every 10 seconds. |
|
Back to top |
|
taitan Brekeke Master Guru
Joined: 15 Mar 2008 Posts: 237
|
Posted: Wed Dec 01, 2010 10:26 am Post subject: |
|
|
search "auto mouse clicker" on Google.
there are several tools. |
|
Back to top |
|
voipwell.com Partner PBX
Joined: 20 Sep 2005 Posts: 528
Location: Tannersville, Pennsylvania
|
Posted: Wed Dec 01, 2010 11:24 am Post subject: |
|
|
You can use internet explorer with the following script in windows to refresh your screen every 10 seconds.
Just create a text file called MonitorSessions.vbs and paste the code below into it after putting your servers ip address in to the http path.
Save the file and execute it and it will refresh every 10 seconds.
On Error Resume Next
Set objExplorer = CreateObject("InternetExplorer.Application")
objExplorer.Navigate "http://YourPBXIPAddressGoesHere:28080/pbx/gate?bean=sipadmin.web.SessionList&act=false"
objExplorer.Visible = 1
Wscript.Sleep 5000
Set objDoc = objExplorer.Document
Do While True
Wscript.Sleep 10000
objDoc.Location.Reload(True)
If Err <> 0 Then
Wscript.Quit
End If
Loop |
|
Back to top |
|
taitan Brekeke Master Guru
Joined: 15 Mar 2008 Posts: 237
|
Posted: Wed Dec 01, 2010 7:36 pm Post subject: |
|
|
it is coool! |
|
Back to top |
|
|