Difference between revisions of "RoIP: Instalasi"

From OnnoWiki
Jump to navigation Jump to search
Line 25: Line 25:
 
  tar zxvf dahdi-linux-complete-current.tar.gz  
 
  tar zxvf dahdi-linux-complete-current.tar.gz  
 
  tar zxvf libpri-1.4-current.tar.gz
 
  tar zxvf libpri-1.4-current.tar.gz
 +
 +
* Compile libpri
 +
 +
cd /usr/local/src/libpri-1.4.14/
 +
make all
 +
make install
 +
 +
* Compile dahdi. Pastikan PC kita tersambung ke Internet karena membutuhkan akses untuk download firmware.
 +
 +
cd /usr/local/src/dahdi-linux-complete-2.4.0+2.4.0/
 +
make
 +
make install
 +
make config
  
 
==Cara yang tidak di sarankan==
 
==Cara yang tidak di sarankan==

Revision as of 17:53, 9 June 2014

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
  • 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 libpri
cd /usr/local/src/libpri-1.4.14/
make all
make install
  • Compile dahdi. Pastikan PC kita tersambung ke Internet karena membutuhkan akses untuk download firmware.
cd /usr/local/src/dahdi-linux-complete-2.4.0+2.4.0/
make 
make install
make config

Cara yang tidak di sarankan

Instalasi dengan apt-get

Instalasi Asterisk

apt-get install asterisk

ternyata tidak ada usbradio.conf & rptr.conf & rpt.conf di /etc/asterisk