[asterisk-users] zaptel on CENTOS servercd
Lee Jenkins
lee at datatrakpos.com
Sun Jun 3 15:22:57 MST 2007
Khaled Chehab wrote:
> I suffered a lot from installing zaptel 1.4.2 on centos servercd ,Sure there
> is someone did that, Please in need to have the installation procedure step
> by step. Its too urgent for me .
>
> Thanks alot
>
>
These scripts are working pretty well for me. They are based on a
script I found on the wiki.
# Script to download pre reqs for installation
# ==============================================
#!/bin/bash
rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4
yum -y install kernel-source bison openssl-devel
yum -y update
# Use "kernel-devel" instead of "kernel-smp-devel"
# if not a SMP machine
# ========================|==============|
| |
yum -y install gcc kernel kernel-smp-devel bison openssl-devel
shutdown -r now
# end script
# Script to download asterisk, etc and build/install
# ==================================================
#!/bin/bash
rm -f /usr/lib/asterisk/modules/*
cd /usr/src
rm -rf asterisk
wget http://ftp.digium.com/pub/asterisk/releases/asterisk-1.2.18.tar.gz
tar -zxvf asterisk-1.2.18.tar.gz
mv asterisk-1.2.18 asterisk
cd /usr/src
rm -rf zaptel
wget http://ftp.digium.com/pub/zaptel/releases/zaptel-1.2.17.1.tar.gz
tar -zxvf zaptel-1.2.17.1.tar.gz
mv zaptel-1.2.17.1 zaptel
cd /usr/src
rm -rf asterisk-addons
wget
http://ftp.digium.com/pub/asterisk/releases/asterisk-addons-1.2.6.tar.gz
tar -zxvf asterisk-addons-1.2.6.tar.gz
mv asterisk-addons-1.2.6 asterisk-addons
cd /usr/src
rm -rf asterisk-sounds
wget
http://ftp.digium.com/pub/asterisk/releases/asterisk-sounds-1.2.1.tar.gz
tar -zxvf asterisk-sounds-1.2.1.tar.gz
mv asterisk-sounds-1.2.1 asterisk-sounds
cd /usr/src/zaptel
make clean
make install
make config
cd /usr/src/asterisk
make clean
make install
make samples
make config
cd /usr/src/asterisk-addons
make clean
make install
cd /usr/src/asterisk-sounds
make install
--
Warm Regards,
Lee
More information about the asterisk-users
mailing list