VoIP: Instalasi FreePBX untuk Asterisk

From OnnoWiki
Revision as of 11:27, 2 January 2010 by Onnowpurbo (talk | contribs) (New page: Instal Software Pendukung sudo apt-get install asterisk asterisk-mysql php5-mysql php-db mysql-server \ libapache2-mod-php5 php5-gd php-pear php-pear-DB sox curl sudo a2enmod php5 Ed...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Instal Software Pendukung

sudo apt-get install asterisk asterisk-mysql php5-mysql php-db mysql-server \
libapache2-mod-php5 php5-gd php-pear php-pear-DB sox curl 
sudo a2enmod php5

Edit /etc/php5/apache2/php.ini

vi /etc/php5/apache2/php.ini

Modifikasi supaya

; PHP's built-in default is text/html
default_mimetype = "text/html"
;default_charset = "ISO-8859-1"
default_charset = "utf8";

Install FreePBX

cd /usr/src/freepbx
sudo ./install_amp

Perubahan agar FreePBX bisa bekerja dengan Asterisk di Ubuntu

AMPBIN=/var/lib/asterisk/bin
ASTAGIDIR=/usr/share/asterisk/agi-bin
AMPWEBROOT=/var/www/freepbx
FOPWEBROOT=/var/www/freepbx/panel

Pastikan FreePBX bisa mengakses Asterisk

sudo adduser www-data asterisk
sudo apache2ctl graceful


Referensi

Pranala Menarik