Difference between revisions of "Compile Asterisk di Ubuntu"
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(42 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | Pengalaman menunjukan asterisk softswitch dari hasil compiling tampaknya lebih bagus dari astrisk dari apt-get. Siapkan Ubuntu untuk Compile Software | + | Pengalaman menunjukan [[asterisk]] [[softswitch]] dari hasil compiling tampaknya lebih bagus dari [[astrisk]] dari apt-get. Siapkan [[Ubuntu]] untuk [[Compile]] [[Software]] |
− | + | sudo apt-get install kernel-package libncurses5-dev fakeroot wget \ | |
+ | bzip2 g++ libssl-dev libxml2-dev doxygen | ||
+ | Pastikan sambungan ke [[Internet]] beroperasi karena kita harus download voice untuk asterisk 1.8. | ||
− | Ambil Source Code zaptel, asterisk, asterisk-addons, asterisk-sounds dari situs Asterisk http://www.asterisk.org. | + | Ambil [[Source Code]] zaptel, asterisk, asterisk-addons, asterisk-sounds, dahdi dari situs Asterisk |
− | + | * http://www.asterisk.org | |
+ | * http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/releases/dahdi-linux-complete-2.4.0+2.4.0.tar.gz | ||
+ | * http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.4.11.4.tar.gz | ||
+ | * http://downloads.asterisk.org/pub/telephony/libss7/releases/libss7-1.0.2.tar.gz | ||
+ | * http://downloads.digium.com/pub/asterisk/releases/ | ||
+ | Sementara paket [[software]] mpg123 bisa di ambil di | ||
+ | * http://www.mpg123.de/download.shtml | ||
+ | * http://sourceforge.net/project/showfiles.php?group_id=135704 | ||
+ | * http://sourceforge.net/projects/mpg123/files/ | ||
+ | Copykan seluruh [[source code]] yang terbaru ke folder /usr/local/src/ | ||
− | + | cp asterisk-1.8.0.tar.gz /usr/local/src/ | |
+ | cp libpri-1.4.11.4.tar.gz /usr/local/src | ||
+ | cp asterisk-sounds-1.2.1.tar.gz /usr/local/src/ | ||
+ | cp dahdi-linux-complete-2.4.0+2.4.0.tar.gz /usr/local/src/ | ||
+ | cp libss7-1.0.2.tar.gz /usr/local/src/ | ||
+ | cp mpg123-1.12.5.tar.bz2 /usr/local/src/ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | ==Buka file [[source code]]== | ||
− | + | cd /usr/local/src | |
+ | tar zxvf asterisk-1.8.0.tar.gz | ||
+ | tar zxvf libpri-1.4.11.4.tar.gz | ||
+ | tar zxvf asterisk-sounds-1.2.1.tar.gz | ||
+ | tar jxvf mpg123-1.12.5.tar.bz2 | ||
+ | tar zxvf dahdi-linux-complete-2.4.0+2.4.0.tar.gz | ||
+ | tar zxvf libss7-1.0.2.tar.gz | ||
− | + | ==Compile MPG123== | |
− | |||
− | |||
− | |||
− | |||
− | |||
+ | cd /usr/local/src/mpg123-1.12.5/ | ||
+ | ./configure | ||
+ | make | ||
+ | make install | ||
+ | ==Compile Libpri== | ||
+ | cd /usr/local/src/libpri-1.4.11.4/ | ||
+ | make all | ||
+ | make install | ||
− | Compile | + | ==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 | ||
+ | ==Compile asterisk addons== | ||
− | + | Obsolate di Asterisk 1.8 | |
− | + | cd /usr/local/src/asterisk-addons-1.6.2.1 | |
− | + | ./configure | |
− | + | make | |
− | + | make install | |
+ | make samples | ||
− | |||
− | |||
− | Compile | + | ==Compile LibSS7== |
− | + | Lakukan sesudah compile DAHDI sebelum compile asterisk | |
− | |||
− | |||
− | |||
− | |||
+ | cd /usr/local/src/libss7-1.0.2/ | ||
+ | make | ||
+ | make install | ||
− | + | ==Install asterisk sound== | |
− | + | Obsolate di asterisk 1.8 | |
− | |||
− | |||
− | |||
− | |||
+ | cd /usr/local/src/asterisk-sounds-1.2.1 | ||
+ | make install | ||
− | |||
− | + | ==Compile [[asterisk]]== | |
− | |||
+ | * Pastikan tersambung ke [[Internet]] untuk download sound | ||
+ | |||
+ | cd /usr/local/src/asterisk-1.8.0 | ||
+ | ./configure | ||
+ | make menuselect | ||
+ | make all | ||
+ | make | ||
+ | make install | ||
+ | make samples | ||
+ | |||
+ | WARNING! Pada saat menuselect jangan pilih iLPC karena akan meyulitkan saat compiling. | ||
+ | Jika anda ingin menginstalasi dokumentasi program, install | ||
+ | |||
+ | apt-get install doxygen | ||
+ | make progdocs | ||
==Pranala Menarik== | ==Pranala Menarik== | ||
+ | * [[VoIP: Asterisk Demo User]] | ||
+ | * [[VoIP: Asterisk Demo Dial Plan]] | ||
* [[Asterisk Softswitch]] | * [[Asterisk Softswitch]] | ||
* [[VoIP]] | * [[VoIP]] | ||
+ | * [[Linux Howto]] |
Latest revision as of 14:46, 8 December 2010
Pengalaman menunjukan asterisk softswitch dari hasil compiling tampaknya lebih bagus dari astrisk dari apt-get. Siapkan Ubuntu untuk Compile Software
sudo apt-get install kernel-package libncurses5-dev fakeroot wget \ bzip2 g++ libssl-dev libxml2-dev doxygen
Pastikan sambungan ke Internet beroperasi karena kita harus download voice untuk asterisk 1.8.
Ambil Source Code zaptel, asterisk, asterisk-addons, asterisk-sounds, dahdi dari situs Asterisk
- http://www.asterisk.org
- http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/releases/dahdi-linux-complete-2.4.0+2.4.0.tar.gz
- http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.4.11.4.tar.gz
- http://downloads.asterisk.org/pub/telephony/libss7/releases/libss7-1.0.2.tar.gz
- http://downloads.digium.com/pub/asterisk/releases/
Sementara paket software mpg123 bisa di ambil di
- http://www.mpg123.de/download.shtml
- http://sourceforge.net/project/showfiles.php?group_id=135704
- http://sourceforge.net/projects/mpg123/files/
Copykan seluruh source code yang terbaru ke folder /usr/local/src/
cp asterisk-1.8.0.tar.gz /usr/local/src/ cp libpri-1.4.11.4.tar.gz /usr/local/src cp asterisk-sounds-1.2.1.tar.gz /usr/local/src/ cp dahdi-linux-complete-2.4.0+2.4.0.tar.gz /usr/local/src/ cp libss7-1.0.2.tar.gz /usr/local/src/ cp mpg123-1.12.5.tar.bz2 /usr/local/src/
Buka file source code
cd /usr/local/src tar zxvf asterisk-1.8.0.tar.gz tar zxvf libpri-1.4.11.4.tar.gz tar zxvf asterisk-sounds-1.2.1.tar.gz tar jxvf mpg123-1.12.5.tar.bz2 tar zxvf dahdi-linux-complete-2.4.0+2.4.0.tar.gz tar zxvf libss7-1.0.2.tar.gz
Compile MPG123
cd /usr/local/src/mpg123-1.12.5/ ./configure make make install
Compile Libpri
cd /usr/local/src/libpri-1.4.11.4/ 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
Compile asterisk addons
Obsolate di Asterisk 1.8
cd /usr/local/src/asterisk-addons-1.6.2.1 ./configure make make install make samples
Compile LibSS7
Lakukan sesudah compile DAHDI sebelum compile asterisk
cd /usr/local/src/libss7-1.0.2/ make make install
Install asterisk sound
Obsolate di asterisk 1.8
cd /usr/local/src/asterisk-sounds-1.2.1 make install
Compile asterisk
- Pastikan tersambung ke Internet untuk download sound
cd /usr/local/src/asterisk-1.8.0 ./configure make menuselect make all make make install make samples
WARNING! Pada saat menuselect jangan pilih iLPC karena akan meyulitkan saat compiling. Jika anda ingin menginstalasi dokumentasi program, install
apt-get install doxygen make progdocs