System Tools Command via URL

Discuss any topic about Brekeke PBX.

Moderator: Brekeke Support Team

Post Reply
katamanczuk
Posts: 3
Joined: Tue Jun 15, 2021 2:31 am

System Tools Command via URL

Post by katamanczuk »

1. Brekeke Product Name and Version:
Brekeke PBX, Version 3.10.3.0, Pro Evaluation

2. Java version:
9.0.1

3. OS type and the version:
Windows 2012

4. UA (phone), gateway or other hardware/software involved:
n/a

5. Your problem:
How can i use commands, for example 'reglist', through url? On SIP Server it works when i call url like this
http://<Server-IP:Port>/sip/cmd?cmd=reglist

Unfortunately on PBX it doesn't work. When i call this url
http://<Server-IP:Port>/pbx/cmd?cmd=reglist

i receave 404 Page Not Found.
llucy
Posts: 52
Joined: Fri Jan 31, 2014 1:08 am

Post by llucy »

Hi katamanczuk,

You need to add the target parameter like below,

http://<Server-IP:Port>/pbx/cmd?cmd=reglist?target=proxy

You also need to set [Valid client IP Pattern] at PBX > Options page to allow the remote IP address.

Lucy
katamanczuk
Posts: 3
Joined: Tue Jun 15, 2021 2:31 am

Post by katamanczuk »

Hi llucy,

thanks for your answer. I added parameter target as you suggested but it didn't solve the problem. Of course i have changed '?' to '&' because it is secound parameter in query url.

I'v also allowed connection from my ip address.
Probably there is a missing part after /pbx/


http://<Server-IP:Port>/pbx/<missing part>/cmd?cmd=reglist&target=proxy
Post Reply