Asterisk Voip

Step by step Install FreePBX



# Step 1:

Download package and create database

cd /usr/src
wget http://asteriskvoipsystem.org/downloads/freepbx-2.8.1.tar.gz
tar zxf freepbx-2.8.1.tar.gz
cd freepbx-2.8.1
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 asterisk@localhost IDENTIFIED BY ‘changepassword’;
GRANT ALL PRIVILEGES ON asterisk.* TO asterisk@localhost IDENTIFIED BY ‘changepassword’;
flush privileges;
\q
pear channel-update pear.php.net
pear install DB MDB2 MDB2#mysql
mkdir -p /var/lib/asterisk/run
#Fix Asterisk Music On Hold
ln -s /var/lib/asterisk/moh /var/lib/asterisk/mohmp3
# Step 2:

Install FreePBX

 cd /usr/src/freepbx-2.8.1
./install_amp
setenforce 0
#Username asterisk Password changepassword
#Change httpd apache user to asterisk
chmod 777 /etc/amportal.conf
cd /var/lib/asterisk
chown -R asterisk:asterisk *
chmod -R 777 *
cd /var/www/html
chown -R asterisk:asterisk *
chmod -R 777 *
chown -R asterisk:asterisk /var/lib/php/session
chown -R asterisk:asterisk /var/spool/asterisk/*
# Step 3: Edit Asterisk IAX2 Settings Add Other Options in FreePBX
calltokenoptional = 0.0.0.0/0.0.0.0
maxcallnumbers = 16382
requirecalltoken = no



Title Post: Step by step Install FreePBX
Rating:
5/5 5

: We on G+

Thanks for read this post.

Post a Comment

 
Return to top of page Copyright © 2013