Asterisk 1.8 + FreePBX 2.9

By 2010-11-03 Asterisk, CentOS, Kadmin

Ставим на CentOS 5.5 64 Добавляем репы, если их ещё нет:

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 asterisk18

Берём FreePBX

svn co http://www.freepbx.org/v2/svn/freepbx/trunk freepbx

cd freepbx

Создадим базы для FreePBX (это можно сделать и с помощью phpmyadmin)

mysqladmin create asterisk
mysqladmin create asteriskcdrdb
mysql asterisk < SQL/newinstall.sql
mysql asteriskcdrdb < SQL/cdr_mysql_table.sql
mysql
GRANT ALL PRIVILEGES ON asteriskcdrdb.* TO asteriskuser@localhost IDENTIFIED BY ‘паролик’;
GRANT ALL PRIVILEGES ON asterisk.* TO asteriskuser@localhost IDENTIFIED BY ‘паролик’;
flush privileges;

Ставим FreePBX

./install_amp –username=asteriskuser –password=паролик

Идем http://айпиадрес/admin
asteriskuser
паролик

Leave a Reply

*