Quantcast
Channel: FreePBX Community Forums - Latest posts
Viewing all articles
Browse latest Browse all 226921

Ari - rest api

$
0
0

Want to connect an external BRM system to Asterisk and get channel/recording information.

http_custom.conf:

[general]
servername={redacted}
enabled=yes
bindaddr=127.0.0.1
bindport=8080
enable_status=yes

ari_general_custom.conf:

[general]
enabled = yes
pretty = yes
allowed_origins = *

ari_additional_custom.conf

[{redacted}]
type=user
password={redacted}
password_format=plain
read_only=yes

Output of “http show status”:
{redacted}*CLI>http show status

HTTP Server Status:
Prefix:
Server: Asterisk/13.38.1
Server Enabled and Bound to [::]:8088
HTTPS Server Enabled and Bound to [::]:8089

Enabled URI’s:
/httpstatus => Asterisk HTTP General Status
/ari/… => Asterisk RESTful API
/ws => Asterisk HTTP WebSocket

Enabled Redirects:
None.

Any reason it’s not binding to the port I’ve configured in http_custom.conf? Haven’t tried connecting yet but I’m worried now my user isn’t configured either.


Viewing all articles
Browse latest Browse all 226921

Trending Articles