send Numbers of "Active Calls" to a PHP-Page

Discuss any topic about Brekeke PBX.

Moderator: Brekeke Support Team

Post Reply
thomas_schwab
Posts: 2
Joined: Sat Dec 04, 2010 7:26 am

send Numbers of "Active Calls" to a PHP-Page

Post by thomas_schwab »

1. Brekeke Product Name and version:
Brekeke SIP Server for Brekeke PBX, Version 2.4.7.0
2. Java version:
n/a
3. OS type and the version:
Windows 2008
4. UA (phone), gateway or other hardware/software involved:
Siemens Openstage 60 SIP and Schneider Intercom SIP- "Phone"

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :

6. Your problem:
We use this Brekeke SIP Server to connect the door station. i will get the picture of the camera which is located in the door station and display the Picture on the screen of the Openstage 60.
Is there a easy way to get the number-pairs "active calls" out of the software. For example, what i need is a "public" version of the "Call Status" Page of Brekeke PBX, or a way to send this two numbers as paramters to a php file??

Thanks
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

lakeview
Posts: 319
Joined: Thu Nov 15, 2007 11:54 am
Location: Florida

Post by lakeview »

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/gate?bean=sipadmin.command.Command&cmd=sessionlist
For example
http://172.16.14.10:8080/proxy/gate?bea ... essionlist
thomas_schwab
Posts: 2
Joined: Sat Dec 04, 2010 7:26 am

Post by thomas_schwab »

Wow, it works :)

My "Accesspage" is a bit different to your solution, but it wasn't a real problem..
Thanks a lot!
lakeview
Posts: 319
Joined: Thu Nov 15, 2007 11:54 am
Location: Florida

Post by lakeview »

Also you can access...
http://<WEB_ADDESSS>/proxy/cmd?cmd=<COMMAND>

For example
http://172.16.14.10:8080/proxy/cmd?cmd=sessionlist
Post Reply