Brekeke Forum Index » Brekeke PBX Forum

Post new topic   Reply to topic
System Tools Command via URL
Author Message
katamanczuk
Brekeke Newbie


Joined: 15 Jun 2021
Posts: 3

PostPosted: Thu Jun 17, 2021 12:07 am    Post subject: System Tools Command via URL Reply with quote

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.
Back to top
View user's profile
llucy
Brekeke Talented


Joined: 31 Jan 2014
Posts: 52

PostPosted: Mon Jun 21, 2021 12:22 pm    Post subject: Reply with quote

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
Back to top
View user's profile
katamanczuk
Brekeke Newbie


Joined: 15 Jun 2021
Posts: 3

PostPosted: Thu Jun 24, 2021 4:46 am    Post subject: Reply with quote

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
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