1. Brekeke Product Name and version: SIP SERVER 2.4.3.9/286
2. Java version: 1.6.0_16
3. OS type and the version: Windows 2003 / 5.2
4. UA (phone), gateway or other hardware/software involved:
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :
6. Your problem:
I am trying to get the session list from the Command prompt to execute certain tasks, but I am getting time out every time. I know the command works as I have used on a different server successfully, but for some reason it does not work on this one. Could someone please shed some light on why this java command is not working ? Below the output of the command:
C:\>java -classpath "\Program Files\Brekeke\proxy\webapps\proxy\WEB-INF\lib\ondosip.jar" svctl localhost sessionlist
Management tool for Brekeke's telephony server
error: time out.
Getting Sessions List
Moderator: Brekeke Support Team
Go to SIP Server's [Configuration] > [Advanced] page.
add "sipadmin.cmd.hosts.allow" with your PC's IP address.
For example:
sipadmin.cmd.hosts.allow=172.16.1.1
or
sipadmin.cmd.hosts.allow=172.+
(It can accept Regular expression.)
Push the [Save] button.
Access
http://<WEB_ADDESSS>/proxy/cmd?cmd=<COMMAND>
For example
http://172.16.14.10:8080/proxy/cmd?cmd=sessionlist
add "sipadmin.cmd.hosts.allow" with your PC's IP address.
For example:
sipadmin.cmd.hosts.allow=172.16.1.1
or
sipadmin.cmd.hosts.allow=172.+
(It can accept Regular expression.)
Push the [Save] button.
Access
http://<WEB_ADDESSS>/proxy/cmd?cmd=<COMMAND>
For example
http://172.16.14.10:8080/proxy/cmd?cmd=sessionlist
Thanks for your responses, I also realized I am not using the standard port 5060 on this server, so after adding the port it worked fine from the command prompt.
The command I used was:
C:\>java -classpath "\Program Files\Brekeke\proxy\webapps\proxy\WEB-INF\lib\ondosip.jar" svctl localhost:5160 sessionlist
The command I used was:
C:\>java -classpath "\Program Files\Brekeke\proxy\webapps\proxy\WEB-INF\lib\ondosip.jar" svctl localhost:5160 sessionlist