Подскажите пожалуйста, есть rest api, а как к нему подключиться ?
https://wiki.asterisk.org/wiki/display/AST/Asterisk+17+Asterisk+REST+APIв http.conf
enabled=yes
bindaddr=
0.0.0.0bindport=8088
prefix=asterisk
ari.conf
[general]
enabled = yes
pretty = yes
allowed_origins = *
[asterisk]
type = user
read_only = no
password = asterisk
Вызываю и получаю 404:
[root@5fc8d714186c /]# curl -u asterisk:asterisk
http://127.0.0.1:8088/asterisk/ping<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<hr />
<address>asterisk</address>
</body></html>