Установка Asterisk на CentOS

By 2010-08-15 Asterisk, Kadmin

Добавляем репы:

nano /etc/yum.repos.d/centos-asterisk.repo

[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

[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

nano /etc/yum.repos.d/centos-digium.repo

[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

yum install asterisk16 asterisk16-configs asterisk16-voicemail dahdi-linux dahdi-tools libpri

Вот и всё, если нужно прикрутить вебадминку то можно поставить приятный asterisk-gui

yum install asterisk-gui

Asterisk-gui будет доступен на 8088 порту, польователь admin пароль password

или

yum install subversion gcc-c++
svn co http://svn.digium.com/svn/asterisk-gui/branches/2.0 asterisk-gui
cd asterisk-gui
./configure
make
make install
make checkconfig

nano /etc/asterisk/http.conf
enable=yes
bindaddr=0.0.0.0
enablestatic=yes
redirect = / /static/config/cfgbasic.html
nano /etc/asterisk/manager.conf
enabled = yes
webenabled = yes
[admin] secret = 12345
read = system,call,log,verbose,command,agent,config
write = system,call,log,verbose,command,agent,config

Leave a Reply

*