Zaptel installation

From Kolmisoft Wiki
Jump to navigationJump to search

Debian

Guide: http://www.voip-info.org/tiki-index.php?page=Asterisk+Linux+Debian

ZAPTEL_VER="1.4.11"
apt-get install linux-headers-`uname -r` bison openssl libssl-dev libeditline0 libeditline-dev libedit-dev libnewt-dev




If you get something like:

Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package linux-headers-2.6.xx.xx

Do:

apt-get update
apt-get install aptitude
aptitude -f --with-recommends dist-upgrade

After some downloads/installation, reboot your computer and rerun previous apt-get command.




cd /usr/src
wget http://support.red-fone.com/downloads/zaptel/zaptel-1.4.11.tar.gz
tar xzvf zaptel-"$ZAPTEL_VER".tar.gz
ln -s /usr/src/zaptel-"$ZAPTEL_VER" /usr/src/zaptel
cd /usr/src/zaptel
make clean
./configure
make
make install
make config
ztcfg -vvv


Centos 5

Guide: http://www.voip-info.org/wiki/view/CentOS+5+and+Asterisk+1.4.x+installation

NOTE: if there are several CPU's on the server issue:

yum install kernel-smp-devel


ZAPTEL_VER="1.4.11" 
yum -y install gcc gcc-c++ kernel-devel bison openssl-devel libtermcap-devel ncurses-devel doxygen
cd /usr/src
wget http://downloads.digium.com/pub/zaptel/zaptel-"$ZAPTEL_VER".tar.gz 
tar xzvf zaptel-"$ZAPTEL_VER".tar.gz 
ln -s /usr/src/zaptel-"$ZAPTEL_VER" /usr/src/zaptel
cd /usr/src/zaptel
make clean 
./configure 
make 
make install 
make config
#edit /etc/zaptel
chkconfig zaptel on 
service zaptel start
ztcfg -vvv