linux - ARI Authentication (asterisk) -


i can't authenticate in ari console browser (lynx, elinks)

cat /etc/asterisk/ari.conf :

[general] enabled = yes        pretty = yes     allowed_origins = *   [sa] type = user         read_only = no      password = test  password_format = plain 

cat /etc/asterisk/httpd.conf

[general] servername=asterisk enabled=yes bindaddr=0.0.0.0 bindport=8088` 

and authentication fails when enter :

elinks http://localhost:8088/ari/api-docs/resources.json username : sa passwd : test

i trying allow connection pc : ssh myrealasteriskip -l8001:127.0.0.1:8088

but after can't connect site

please me. :))

it mistake replaced bindaddr=0.0.0.0 bindaddr=127.0.0.1 , worked))


Comments