Ok, a warning: I am an Asterisk n00b. Please be gentle.
Have installed Asterisk via apt-get this evening, and attempted to install asterisk-gui. Asterisk is running successfully, but the GUI keeps returning 404 errors:
The requested URL was not found on this server.
Asterisk is confirmed as running, and I am able to call and control it from CLI.
Pages are being accessed from a web browser on the machine which Asterisk was installed.
I cannot for the life of me why this keeps occurring, and would appreciate any assistance to find where I have gone wrong to prevent the config pages from loading.
Details of configuration
[li]Install path: /var/lib/asterisk[/li]
[li]Configuration file path: /etc/asterisk/[/li][/ul]
GUI install instructions used: http://www.asteriskguru.com/tutorials/asterisk_gui.html
Machine is running Apache2, but as the 404 error returns Asterisk server in foot I don’t believe it is getting in the way of things.
make checkconfig advises that everything is configured successfully:
[quote]root@grill:~/asterisk-guiap# make checkconfig
— Checking Asterisk configuration to see if it will support the GUI —
Checking for http.conf: OK
Checking for manager.conf: OK
Checking if HTTP is enabled: OK
Checking if HTTP static support is enabled: OK
Checking if manager is enabled: OK
Checking if manager over HTTP is enabled: OK
— Everything looks good —
GUI should be available at grill:8088/asterisk/static/config/index.html
Note: If you have bindaddr=127.0.0.1 in /etc/asterisk/http.conf
you will only be able to visit it from the local machine.
The login and password should be an entry from /etc/asterisk/manager.conf
which has ‘config’ permission in read and write. For example:
secret = mysecret26568
read = system,call,log,verbose,command,agent,config
write = system,call,log,verbose,command,agent,config
— Good luck! —
http.conf (trimmed to show enabled lines only):
; Whether HTTP/HTTPS interface is enabled or not. Default is no.
; This also affects manager/rawman/mxml access (see manager.conf)
; Address to bind to, both for HTTP and HTTPS. Default is 0.0.0.0
; Port to bind to for HTTP sessions (default is 8088)
; Asterisk Call Management support
; By default asterisk will listen on localhost only.
displaysystemname = yes
enabled = yes
port = 5038
bindaddr = 0.0.0.0
enabled = yes
webenabled = yes
; No access is allowed by default.
; To set a password, create a file in /etc/asterisk/manager.d
; use creative permission games to allow other serivces to create their own