Forums Read-only archive

System Tools Command via URL

3 posts · Brekeke PBX Forum

katamanczuk Original post
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
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
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