Hi.
Can someone point me in the right direction in order to make work API requests from a remote server.
Now i can run request from the console with curl and http://localhost/api.
Bu t i need to make request from a remote server to the PBX’s IP. Something like : http://192.168.20.3/api.
Thanks!
Can someone point me in the right direction in order to make work API requests from a remote server.
Now i can run request from the console with curl and http://localhost/api.
Bu t i need to make request from a remote server to the PBX’s IP. Something like : http://192.168.20.3/api.
Thanks!
3 Answers
Hi.
In case anyone has the same problem, i finally made it work through the CompletePBX console…
ADMIN — Admin — Application Access — Whitelist.
I added the remote server IP address and started to work!.
Regards,
Ricardo
In case anyone has the same problem, i finally made it work through the CompletePBX console…
ADMIN — Admin — Application Access — Whitelist.
I added the remote server IP address and started to work!.
Regards,
Ricardo
Hi Ricardo,
You can also register an application key which can be used from any IP
Contact me on support@xorcom.com, in case help needed
Hi Eyal.
Is there a way to restrict the access to a command in some way?.
I need a user only to get access to the http://localhost/api/cdr but not to any other command
Thanks!
Is there a way to restrict the access to a command in some way?.
I need a user only to get access to the http://localhost/api/cdr but not to any other command
Thanks!
Please login or Register to submit your answer