Brekeke Forum Index » Brekeke PBX Forum

Post new topic   Reply to topic
send Numbers of "Active Calls" to a PHP-Page
Author Message
thomas_schwab
Brekeke Newbie


Joined: 04 Dec 2010
Posts: 2

PostPosted: Sat Dec 04, 2010 8:35 am    Post subject: send Numbers of "Active Calls" to a PHP-Page Reply with quote

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/networkpatterns.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
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Mon Dec 06, 2010 10:48 am    Post subject: Reply with quote

can pal meet your need?
http://www.brekeke.com/download/download_pal.php
Back to top
View user's profile
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Mon Dec 06, 2010 12:21 pm    Post subject: Reply with quote

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?bean=sipadmin.command.Command&cmd=sessionlist
Back to top
View user's profile
thomas_schwab
Brekeke Newbie


Joined: 04 Dec 2010
Posts: 2

PostPosted: Tue Dec 07, 2010 1:56 am    Post subject: Reply with quote

Wow, it works Smile

My "Accesspage" is a bit different to your solution, but it wasn't a real problem..
Thanks a lot!
Back to top
View user's profile
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Wed Dec 15, 2010 12:54 pm    Post subject: Reply with quote

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

For example
http://172.16.14.10:8080/proxy/cmd?cmd=sessionlist
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke PBX Forum All times are GMT - 7 Hours
Page 1 of 1