Difference between revisions of "Compile Asterisk di Ubuntu"

From OnnoWiki
Jump to navigation Jump to search
Line 12: Line 12:
  
 
  # cp zaptel-1.4.9.2.tar.gz /usr/local/src/
 
  # cp zaptel-1.4.9.2.tar.gz /usr/local/src/
  # cp asterisk-1.6.0-beta5.tar.gz /usr/local/src/
+
  # cp asterisk-1.6.0-beta7.1.tar.gz /usr/local/src/
 
  # cp asterisk-addons-1.6.0-beta2.tar.gz /usr/local/src/
 
  # cp asterisk-addons-1.6.0-beta2.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/
Line 23: Line 23:
 
  # cd /usr/local/src
 
  # cd /usr/local/src
 
  # tar zxvf zaptel-1.4.9.2.tar.gz
 
  # tar zxvf zaptel-1.4.9.2.tar.gz
  # tar zxvf asterisk-1.6.0-beta5.tar.gz  
+
  # tar zxvf asterisk-1.6.0-beta7.1.tar.gz  
 
  # tar zxvf asterisk-addons-1.6.0-beta2.tar.gz  
 
  # tar zxvf asterisk-addons-1.6.0-beta2.tar.gz  
 
  # tar zxvf asterisk-sounds-1.2.1.tar.gz  
 
  # tar zxvf asterisk-sounds-1.2.1.tar.gz  
Line 53: Line 53:
 
Compile asterisk
 
Compile asterisk
  
  # cd /usr/local/src/asterisk-1.6.0-beta5
+
  # cd /usr/local/src/asterisk-1.6.0-beta7.1
 
  # ./configure
 
  # ./configure
 
  # make
 
  # make

Revision as of 08:27, 31 March 2008

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++ 


Ambil Source Code zaptel, asterisk, asterisk-addons, asterisk-sounds dari situs Asterisk http://www.asterisk.org. Sementara paket software mpg123 bisa di ambil di http://www.mpg123.de/download.shtml atau di http://sourceforge.net/project/showfiles.php?group_id=135704


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

# cp zaptel-1.4.9.2.tar.gz /usr/local/src/
# cp asterisk-1.6.0-beta7.1.tar.gz /usr/local/src/
# cp asterisk-addons-1.6.0-beta2.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 zaptel-1.4.9.2.tar.gz
# tar zxvf asterisk-1.6.0-beta7.1.tar.gz 
# tar zxvf asterisk-addons-1.6.0-beta2.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 zaptel

#  cd /usr/local/src/zaptel-1.4.9.2
# ./configure
# make
# make install

Siap-siap sambungan ke Internet karena zaptel akan mengambil firmware yang dibutuhkan untuk card zaptel. Zaptel hanya kita butuhkan terutama untuk conference. Jika kita tidak melakukan conference, zaptel tidak perlu di install.


Compile asterisk

# cd /usr/local/src/asterisk-1.6.0-beta7.1
# ./configure
# make
# make install
# make samples


Compile asterisk addons

# cd /usr/local/src/asterisk-addons-1.6.0-beta2
# ./configure
# make
# make install
# make samples


Install asterisk sound

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


Pranala Menarik