RoIP: Compile Asterisk app rpt

From OnnoWiki
Revision as of 15:15, 11 June 2014 by Onnowpurbo (talk | contribs) (New page: ==Instalasi== * Instalasi Ubuntu 13.04 64bit * Siapkan aplikasi pendukung sudo apt-get install kernel-package libncurses5-dev fakeroot wget \ bzip2 g++ libssl-dev libxml2-dev doxygen ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Instalasi

  • Instalasi Ubuntu 13.04 64bit
  • Siapkan aplikasi pendukung
sudo apt-get install kernel-package libncurses5-dev fakeroot wget \
bzip2 g++ libssl-dev libxml2-dev doxygen
  • Perbaiki locale
sudo locale-gen id_ID.UTF-8
  • Download source code
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11-current.tar.gz
wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.4-current.tar.gz
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz
  • Copy ke /usr/local/src
cp asterisk-11-current.tar.gz /usr/local/src/
cp dahdi-linux-complete-current.tar.gz /usr/local/src/
cp libpri-1.4-current.tar.gz /usr/local/src/
  • Buka source code
cd /usr/local/src/
tar zxvf asterisk-11-current.tar.gz
tar zxvf dahdi-linux-complete-current.tar.gz 
tar zxvf libpri-1.4-current.tar.gz
  • Compile dahdi. Pastikan PC kita tersambung ke Internet karena membutuhkan akses untuk download firmware.
cd /usr/local/src/dahdi-linux-complete-2.9.1.1+2.9.1
make 
make install
make config
  • Compile libpri
cd /usr/local/src/libpri-1.4.14/
make all
make install


  • Compile Asterisk. Pastikan tersambung ke Internet untuk download sound
apt-get install sqlite3 libsqlite3-dev
cd /usr/local/src/asterisk-11.10.0/
./configure
make menuselect

Default asterisk 11 nampaknya tidak ada app_rpt. Tidak ada di menuselect asterisk 11.


make all
make
make install
make samples

Cara yang tidak di sarankan

Instalasi dengan apt-get

Instalasi Asterisk

apt-get i