Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
SIP Server automatic refresh
Author Message
noiptel
Brekeke Talented


Joined: 22 Feb 2010
Posts: 68
Location: USA

PostPosted: Sun Nov 28, 2010 12:35 pm    Post subject: SIP Server automatic refresh Reply with quote

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
View user's profile
taitan
Brekeke Master Guru


Joined: 15 Mar 2008
Posts: 237

PostPosted: Mon Nov 29, 2010 6:26 pm    Post subject: Reply with quote

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
View user's profile
noiptel
Brekeke Talented


Joined: 22 Feb 2010
Posts: 68
Location: USA

PostPosted: Tue Nov 30, 2010 12:42 pm    Post subject: Reply with quote

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
View user's profile
taitan
Brekeke Master Guru


Joined: 15 Mar 2008
Posts: 237

PostPosted: Wed Dec 01, 2010 10:26 am    Post subject: Reply with quote

search "auto mouse clicker" on Google.
there are several tools.
Back to top
View user's profile
voipwell.com
Partner PBX


Joined: 20 Sep 2005
Posts: 528
Location: Tannersville, Pennsylvania

PostPosted: Wed Dec 01, 2010 11:24 am    Post subject: Reply with quote

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
View user's profile
taitan
Brekeke Master Guru


Joined: 15 Mar 2008
Posts: 237

PostPosted: Wed Dec 01, 2010 7:36 pm    Post subject: Reply with quote

it is coool!
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1