INSTALL FAX MODULE + ASTERISK OR REMOVE ASTERISK ON SLES 11 SP 1 / CENTOS 5.5, 5.3


Berikut adalah library yang harus di install jika ingin mengirim fax via asterisk

yum -y install libtiff libtiff-devel ghostscript enscript ImageMagick

yum -y install gd gd-devel jasper jasper-devel libjpeg libjpeg-devel libexif libmng

yum install autoconf automake gcc-c++ git libjpeg-devel libtool make ncurses-devel bison bison-devel

Urutan penginstalan yang benar (menurut hasil testigannku beberapa kali di site client)
tiff
spandsp
cmake
agt-ast-addons

Jika tidak berurutan maka akan terjadi error sbb
require libtiff libtiff-devel dan ketika di cari paket2ya tak kunjung ketemu juga:)

 ###########INSTALL FAX##################

cd /home/ecentrix/installer/fax-module/

mail:/home/ecentrix/fax-module # ls -l
total 8384
-rw-r–r– 1 root root 68144 Jun 19 2009 agx-ast-addons-1.4.17.5.tar.bz2
-rw-r–r– 1 root root 5436543 Nov 4 2010 cmake-2.8.3.tar.gz
-rw-r–r– 1 root root 1709515 Aug 25 2010 spandsp-0.0.4pre16.tgz.gz
-rw-r–r– 1 root root 1336295 Mar 30 2007 tiff-3.8.2.tar.gz

tar -zxvf spandsp-0.0.4pre16.tgz.gz -C /usr/src
tar -zxvf cmake-2.8.3.tar.gz -C /usr/src/
tar -xjvf agx-ast-addons-1.4.17.5.tar.bz2 -C /usr/src
tar -zxvf tiff-3.8.2.tar.gz -d /usr/src/

cd /usr/src/tiff-3.8.2/
./configure –prefix=/usr
make
make install

cd /usr/src/cmake-2.8.3/
./configure –prefix=/usr
gmake
make install

cd /usr/src/spandsp-0.0.4/
./configure –prefix=/usr
make
make install

cd /usr/src/agx-ast-addons/
./build.sh

hasil

[root@locserver209 ~]# asterisk -r
Asterisk 1.4.35, Copyright (C) 1999 – 2010 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.
=========================================================================
Connected to Asterisk 1.4.35 currently running on locserver209 (pid = 4696)
Verbosity is at least 3
locserver209*CLI> show modules like fax
Module Description Use Count
app_rxfax.so Trivial FAX Receive Application 0
app_nv_faxdetect.so Newman’s fax detection application 0
app_txfax.so Trivial FAX Transmit Application 0
3 modules loaded
The ‘show modules like’ command is deprecated and will be removed in a future release. Please use ‘module show like’ instead.
locserver209*CLI> show modules like fax
Module Description Use Count
app_rxfax.so Trivial FAX Receive Application 0
app_nv_faxdetect.so Newman’s fax detection application 0
app_txfax.so Trivial FAX Transmit Application 0
3 modules loaded

==================================================================================
Bagaimana cara remove sebelum melakukan upgrade ke yang terbaru?

Pastikan membackup semua file2 penting seperti /etct/asterisk , /var/lib/sound dsb

Pastikan service asterisk sudah off (mati)

killall -9 safe_asterisk
killall -9 asterisk
cd /usr/src/asterisk-1.4.23
make uninstall
make uninstall-all
Sesudah ok, maka install asterisk terbaru anda.
cd /usr/src/asterisk-terbaru
./configure –prefix=/usr
make
make install
make sample
make config
restart asterisk
Jika menggunakan tentunya ada dahdi dan wanpipe, cara remove asterisk agak sedikit berbeda, cara sbb:
Non-Aktifkan module dahdi
lsmod | grep dahdi | awk ‘{print $4}’
wctc4xxp
wctdm24xxp,wcte12xp
xpp,dahdi_transcode,wcb4xxp,wctdm,wcfxo,wctdm24xxp,wcte11xp,wct1xxp,wcte12xp,dahdi_voicebus,wct4xxp
wctdm24xxp,dahdi
modprobe -r wctc4xxp
modrobe  -r wctdm24xxp
modprobe -r wcte12xp
dst
Lakukan instalasi asterisk terbaru sama seperti diatas
Advertisements

One thought on “INSTALL FAX MODULE + ASTERISK OR REMOVE ASTERISK ON SLES 11 SP 1 / CENTOS 5.5, 5.3

  1. iqbal purnama December 12, 2011 at 2:37 am Reply

    Great turorial guys!!! tq for all…good jobs men

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

shisdew

Listens until think alike

moses.spaceku@yahoo.com / voip ipbx

Hosted PBX, IP-PBX SOHO/ CALL CENTER, VOICE GATEWAY, VOICE CARD, COST EFECTIVE SOLUTIONS (LCR), GSM/CDMA GATEWAY

%d bloggers like this: