Difference between revisions of "VoIP: Instalasi FreePBX untuk Asterisk"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
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...)  | 
				Onnowpurbo (talk | contribs)   | 
				||
| Line 1: | Line 1: | ||
Instal Software Pendukung  | Instal Software Pendukung  | ||
| − | + |   apt-get install asterisk asterisk-dev asterisk-config asterisk-sounds-main \  | |
| − | + |  asterisk-sounds-extra dahdi gastman asterisk-mysql\  | |
| + |  php5-mysql php-db mysql-server libapache2-mod-php5 php5-gd php-pear sox curl php5-curl apache2  | ||
  sudo a2enmod php5  |   sudo a2enmod php5  | ||
| Line 15: | Line 16: | ||
  ;default_charset = "ISO-8859-1"  |   ;default_charset = "ISO-8859-1"  | ||
  default_charset = "utf8";  |   default_charset = "utf8";  | ||
| + | |||
| + |  upload_max_filesize = 5M  | ||
| + |  max_execution_time = 60  | ||
| + |  max_input_time = 120  | ||
| + |  memory_limit = 32M  | ||
| + | |||
| + | Setup [[database]]  | ||
| + | |||
| + |  # mysql -u root -p  | ||
| + |  Enter password:  | ||
| + |  create database freepbx;  | ||
| + |  grant INSERT,SELECT on root.* to freepbx@localhost;  | ||
| + |  grant ALL on freepbx.* to freepbx@localhost identified by 'freepbx';  | ||
| + |  grant ALL on freepbx.* to freepbx identified by 'freepbx';  | ||
| + |  exit  | ||
| + | |||
Install FreePBX  | Install FreePBX  | ||
Revision as of 14:11, 2 January 2010
Instal Software Pendukung
apt-get install asterisk asterisk-dev asterisk-config asterisk-sounds-main \ asterisk-sounds-extra dahdi gastman asterisk-mysql\ php5-mysql php-db mysql-server libapache2-mod-php5 php5-gd php-pear sox curl php5-curl apache2 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";
upload_max_filesize = 5M max_execution_time = 60 max_input_time = 120 memory_limit = 32M
Setup database
# mysql -u root -p Enter password: create database freepbx; grant INSERT,SELECT on root.* to freepbx@localhost; grant ALL on freepbx.* to freepbx@localhost identified by 'freepbx'; grant ALL on freepbx.* to freepbx identified by 'freepbx'; exit
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