Difference between revisions of "Compile Asterisk di Ubuntu"

From OnnoWiki
Jump to navigation Jump to search
Line 18: Line 18:
  
 
  cp dahdi-linux-2.2.0.2.tar.gz /usr/local/src/
 
  cp dahdi-linux-2.2.0.2.tar.gz /usr/local/src/
  cp asterisk-1.6.2.5.tar.gz  /usr/local/src/
+
  cp asterisk-1.6.2.6.tar.gz  /usr/local/src/
 
  cp libpri-1.4.10.2.tar.gz /usr/local/src
 
  cp libpri-1.4.10.2.tar.gz /usr/local/src
  cp asterisk-addons-1.6.0-beta2.tar.gz /usr/local/src/
+
  cp asterisk-addons-1.6.2.1.tar.gz /usr/local/src/
 
  cp asterisk-sounds-1.2.1.tar.gz /usr/local/src/
 
  cp asterisk-sounds-1.2.1.tar.gz /usr/local/src/
 
  cp mpg123-1.3.1.tar.bz2 /usr/local/src/
 
  cp mpg123-1.3.1.tar.bz2 /usr/local/src/
Line 30: Line 30:
 
  cd /usr/local/src
 
  cd /usr/local/src
 
  tar zxvf dahdi-linux-2.2.0.2.tar.gz  
 
  tar zxvf dahdi-linux-2.2.0.2.tar.gz  
  tar zxvf asterisk-1.6.2.5.tar.gz
+
  tar zxvf asterisk-1.6.2.6.tar.gz
 
  tar zxvf libpri-1.4.10.2.tar.gz
 
  tar zxvf libpri-1.4.10.2.tar.gz
  tar zxvf asterisk-addons-1.6.0-beta2.tar.gz  
+
  tar zxvf asterisk-addons-1.6.2.1.tar.gz  
 
  tar zxvf asterisk-sounds-1.2.1.tar.gz  
 
  tar zxvf asterisk-sounds-1.2.1.tar.gz  
 
  tar jxvf mpg123-1.3.1.tar.bz2  
 
  tar jxvf mpg123-1.3.1.tar.bz2  
Line 54: Line 54:
 
Compile [[asterisk]]
 
Compile [[asterisk]]
  
  cd /usr/local/src/asterisk-1.6.2.5
+
  cd /usr/local/src/asterisk-1.6.2.6
 
  ./configure
 
  ./configure
 
  make all
 
  make all
Line 70: Line 70:
 
Compile asterisk addons
 
Compile asterisk addons
  
  cd /usr/local/src/asterisk-addons-1.6.0-beta2
+
  cd /usr/local/src/asterisk-addons-1.6.2.1
 
  ./configure
 
  ./configure
 
  make
 
  make

Revision as of 11:48, 19 April 2010

Pengalaman menunjukan asterisk softswitch dari hasil compiling tampaknya lebih bagus dari astrisk dari apt-get. Siapkan Ubuntu untuk Compile Software

# apt-get install kernel-package libncurses5-dev fakeroot wget \
bzip2 g++ libssl-dev libxml2-dev


Ambil Source Code zaptel, asterisk, asterisk-addons, asterisk-sounds dari situs Asterisk

Sementara paket software mpg123 bisa di ambil di


Copykan seluruh source code yang terbaru ke folder /usr/local/src/

cp dahdi-linux-2.2.0.2.tar.gz /usr/local/src/
cp asterisk-1.6.2.6.tar.gz  /usr/local/src/
cp libpri-1.4.10.2.tar.gz /usr/local/src
cp asterisk-addons-1.6.2.1.tar.gz /usr/local/src/
cp asterisk-sounds-1.2.1.tar.gz /usr/local/src/
cp mpg123-1.3.1.tar.bz2 /usr/local/src/


Buka file source code

cd /usr/local/src
tar zxvf dahdi-linux-2.2.0.2.tar.gz 
tar zxvf asterisk-1.6.2.6.tar.gz
tar zxvf libpri-1.4.10.2.tar.gz
tar zxvf asterisk-addons-1.6.2.1.tar.gz 
tar zxvf asterisk-sounds-1.2.1.tar.gz 
tar jxvf mpg123-1.3.1.tar.bz2 

Compile MPG123

cd /usr/local/src/mpg123-1.3.1
./configure
make
make install

Compile DAHDI. Pastikan PC kita tersambung ke Internet karena membutuhkan akses untuk download firmware.

cd /usr/local/src/dahdi-linux-2.2.0.2
make 
make install
cd /usr/local/src/

Compile asterisk

cd /usr/local/src/asterisk-1.6.2.6
./configure
make all
make
make install
make samples

Jika anda ingin menginstalasi dokumentasi program, install

apt-get install doxygen
make progdocs


Compile asterisk addons

cd /usr/local/src/asterisk-addons-1.6.2.1
./configure
make
make install
make samples


Install asterisk sound

cd /usr/local/src/asterisk-sounds-1.2.1
make install


Pranala Menarik