Difference between revisions of "User:Sarujih"
Line 60: | Line 60: | ||
'''LIBPRI''' (Jika Anda memiliki/akan memiliki hardware fisik kartu E1/T1/J1/ISDN) | '''LIBPRI''' (Jika Anda memiliki/akan memiliki hardware fisik kartu E1/T1/J1/ISDN) | ||
+ | |||
+ | Download,ekstrak,bangun dan install: | ||
+ | |||
+ | cd /usr/src | ||
+ | wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.4-current.tar.gz | ||
+ | tar xvfz libpri-1.4-current.tar.gz | ||
+ | cd libpri-* | ||
+ | make && make install | ||
+ | |||
+ | pjproject (Jika Anda perlu PJSIP, atau tidak) | ||
+ | |||
+ | Download,ekstrak,bangun dan install: | ||
+ | |||
+ | cd /usr/src/ | ||
+ | git clone https://github.com/asterisk/pjproject.git | ||
+ | cd pjproject | ||
+ | ./configure --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr | ||
+ | make dep && make && make install |
Revision as of 11:52, 30 July 2015
Installasi asterisk
Pastikan DNS server bekerja dan terhubung ke internet.
Update apt, upgrade system, instalasi dependesi dan reboot system, dengan perintah sebagai berikut:
sudo apt-get update; sudo apt-get upgrade -y; sudo apt-get dist-upgrade -y; sudo apt-get install -y build-essential git-core pkg-config subversion libjansson-dev sqlite autoconf automake libtool libxml2-dev libncurses5-dev unixodbc unixodbc-dev libasound2-dev libogg-dev libvorbis-dev libneon27-dev libsrtp0-dev libspandsp-dev libmyodbc uuid uuid-dev sqlite3 libsqlite3-dev libgnutls-dev;sudo shutdown -r now
Jangan lupa password root system Anda.
Selesai restart, login sebagai root pada system Anda, sehingga sudo tidak perlu dijalankan setiap kali;
sudo -i
Opsional syarat install Asterisk
Google Voice;
Membuat file libgnutls bekerja :
vi /usr/bin/libgnutls-config
Masukan file berikut;
- !/bin/bash
if [ "$1" == "--version" ]; then pkg-config --modversion gnutls else pkg-config $1 gnutls fi
Simpan dan keluar, buat file tersebut executable:
chmod +x /usr/bin/libgnutls-config
Download,ekstrak,bangun dan install iksemel:
cd /usr/src wget https://iksemel.googlecode.com/files/iksemel-1.4.tar.gz tar xvf iksemel-1.4.tar.gz cd iksemel-* ./configure make && make install
DAHDI (Jika Anda memiliki/akan mememiliki hardware fisik)
Download,ekstrak,bangun dan install:
cd /usr/src wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz tar xvfz dahdi-linux-complete-current.tar.gz cd dahdi-linux-complete-* make all && make install && make config
Anda akan melihat pesan seperti “Can’t read private key”. Ini dapat diabaikan.
Reboot system Anda dan login kembali sebagai root.
LIBPRI (Jika Anda memiliki/akan memiliki hardware fisik kartu E1/T1/J1/ISDN)
Download,ekstrak,bangun dan install:
cd /usr/src wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.4-current.tar.gz tar xvfz libpri-1.4-current.tar.gz cd libpri-* make && make install
pjproject (Jika Anda perlu PJSIP, atau tidak)
Download,ekstrak,bangun dan install:
cd /usr/src/ git clone https://github.com/asterisk/pjproject.git cd pjproject ./configure --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr make dep && make && make install