Hi,
i follow a guide from asterisk which can be found here asterisk.org/applications/pbx
Now, use the text editor of your choice to create a new file named “centos-asterisk.repo” in the “/etc/yum.repos.d” folder. Add the following text to the file:
[asterisk-tested]
name=CentOS-$releasever - Asterisk - Tested
baseurl=http://packages.asterisk.org/centos/$releasever/tested/$basearch/
enabled=0
gpgcheck=0
#gpgkey=http://packages.asterisk.org/RPM-GPG-KEY-Digium[/color]
[asterisk-current]
name=CentOS-$releasever - Asterisk - Current
baseurl=http://packages.asterisk.org/centos/$releasever/current/$basearch/
enabled=1
gpgcheck=0
#gpgkey=http://packages.asterisk.org/RPM-GPG-KEY-Digium
Save the new file and create another named “centos-digium.repo” and insert the following text:
[digium-tested]
name=CentOS-$releasever - Digium - Tested
baseurl=http://packages.digium.com/centos/$releasever/tested/$basearch/
enabled=0
gpgcheck=0
#gpgkey=http://packages.digium.com/RPM-GPG-KEY-Digium
[digium-current]
name=CentOS-$releasever - Digium - Current
baseurl=http://packages.digium.com/centos/$releasever/current/$basearch/
enabled=1
gpgcheck=0
#gpgkey=http://packages.digium.com/RPM-GPG-KEY-Digium
Now you should be ready to install Asterisk. To start the installation, open a terminal window and type the following:
[root@localhost~]# yum install asterisk16 asterisk16-configs asterisk16-voicemail dahdi-linux dahdi-tools libpri
Then i’m going to enable http.conf and manager.conf
manager.conf
enabled = yes
webenabled = yes
[admin]
secret = admin
read = system,call,log,verbose,command,agent,user,config
write = system,call,log,verbose,command,agent,user,config
http.conf
enabled=yes
enablestatic=yes
bindaddr=0.0.0.0
Then i configure asterisk auto startup [root@localhost~]# chkconfig asterisk on
after restart the system, i access
localhost:8088/asterisk/static/c … basic.html
localhost:8088/static/config/cfgbasic.html
IP:8088/asterisk/static/config/cfgbasic.html
IP:8088/static/config/cfgbasic.html
it’s return 404 Page not found…
Regards,
Ryan Goh