28 Temmuz 2012 Cumartesi

Centos 6 and Asterisk

Asterisk can be installed with Add/Remove Software. But when I did so and started it with the command;

service asterisk start

I wanted to use the Graphical User Interface of Asterisk and surprisingly!! dumped into trouble again..

Asterisk Gui also can be loaded by add/remove. Time to configure..

1) /etc/asterisk/http.conf

enabled=yes
bindaddr=0.0.0.0
bindport=8088
enablestatic=yes
redirect = / /static/config/index.html


2) /etc/asterisk/manager.conf

[general]
enabled = yes
webenabled = yes


[administrator]
secret = password
allow=0.0.0.0/0.0.0.0
read = system,call,log,verbose,command,agent,user,config
write = system,call,log,verbose,command,agent,user,config

3) From wiki.asterisk ;
chown -R asterisk:asterisk /etc/asterisk/ /var/lib/asterisk /usr/share/asterisk
chmod 644 /etc/asterisk/*

and

ls /var/lib/asterisk/static-http/config && rm -rf /usr/share/asterisk/static-http && ln -s /var/lib/asterisk/static-http /usr/share/asterisk/static-http
And finally got asterisk's web interface..

Hiç yorum yok:

Yorum Gönder