ARI Authentication (asterisk)

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

ARI Authentication (asterisk)

Postby nikak27 » Fri Jan 29, 2016 3:21 am

I can't authenticate in ARI from console browser (lynx, elinks)

cat /etc/asterisk/ari.conf :

Code: Select all
[general]
enabled = yes       
pretty = yes   
allowed_origins = *

[sa]
type = user       
read_only = no     
password = test
password_format = plain

cat /etc/asterisk/httpd.conf

Code: Select all
[general]
servername=Asterisk
enabled=yes
bindaddr=0.0.0.0
bindport=8088


and authentication fails when I enter :

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

I also trying to allow connection from my PC : ssh myRealAsteriskIP -L8001:127.0.0.1:8088

but after that I can't connect even to site

Please help me. Thanks :))
nikak27
Newsterisk
 
Posts: 2
Joined: Tue Jan 26, 2016 6:41 am

Re: ARI Authentication (asterisk)

Postby penguinpbx » Tue Feb 02, 2016 12:07 pm

After changing to significantly better passwords (something other than test), you might check out the webenabled option in manager.conf
penguinpbx
Oldsterisk
 
Posts: 79
Joined: Mon Dec 10, 2007 9:31 am
Location: Denver, Colorado, USA


Return to Asterisk Support

Who is online

Users browsing this forum: No registered users and 27 guests