What's new

asterisk-gui problem

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

vyacheslafff

New Around Here
Hi all
I know, my question not about asus routers and Merlin firmware exactly, but maybe anybody knows a solution...
Intro:
Router Asus RT-N66U with 3.0.0.4.374.32 Merlin's FW build.
Entware has been setup correctly (via built-in script entware-setup.sh, no errors)
Asterisk 1.8 with GUI module setup without errors also (via command
Code:
opkg update
opkg install asterisk18 asterisk-gui
)
Also I created 2 config-files, manager.conf
Code:
[general]
enabled = yes
webenabled = yes
port = 5038
bindaddr = 127.0.0.1
[admin]
secret = 123
read = system,call,log,verbose,agent,user,config,dtmf,reporting,cdr,dialplan
write = system,call,agent,user,config,command,reporting,originate

and http.conf
Code:
[general]
enabled = yes
enablestatic = yes
bindaddr = 0.0.0.0
redirect = /opt/var/lib/asterisk/static-http/
prefix = asterisk

[post_mappings]
backups = /opt/var/lib/asterisk/gui-backups/
moh = /opt/lib/asterisk/moh
Both files in /opt/etc/asterisk folder

after command
Code:
asterisk start
I see asterisk process is running

Then I put in my browser an address
http://RouterIP:8088/asterisk/static/config/index.html
Enter credentials, then restart an asterisk service and got an endless loop - when I try to login in asterisk webpage I always get an error
"Checking write permission for GUI folder"

Could anybody advice me something?

P.S. Of course, I recursively changed permissions to 0777 for folders /tmp/mnt/sda1/entware/etc/asterisk/ and /tmp/mnt/sda1/entware/lib/asterisk/
 
Here is minimal configuration to get asterisk-gui working.

1. Install necessary packages:
Code:
$ opkg install asterisk18 asterisk-gui asterisk18-app-system asterisk18-chan-local

2. Edit configs according README:
Code:
$ cat /opt/etc/asterisk/http.conf
[general]
enabled = yes
enablestatic = yes

$ cat /opt/etc/asterisk/manager.conf
...
[general]
enabled = yes
webenabled = yes
...
[admin]
secret = P@ssw0rd
read = system,call,log,verbose,command,agent,config,read,write,originate
write = system,call,log,verbose,command,agent,config,read,write,originate

3. Run asterisk and open following web page:
Code:
http://www.asusnetwork.net:8088/static/config/index.html
with credentials admin/P@ssw0rd.
 
Great thanks, ryzhov_al
after installation asterisk18-app-system and asterisk18-chan-local packages GUI is work
I didnt change a config-files (my files was satisfied a minimal requirements)
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Members online

Top