Difference between revisions of "Zaptel installation"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 6: Line 6:


  apt-get install linux-headers-`uname -r` bison openssl libssl-dev libeditline0 libeditline-dev libedit-dev libnewt-dev
  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
Rerun previous apt-get command
----


  cd /usr/src
  cd /usr/src

Revision as of 13:17, 22 January 2008

Debian

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

ZAPTEL_VER="1.4.7.1"
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

Rerun previous apt-get command


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
ztcfg -vvv


Centos 5

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


ZAPTEL_VER="1.4.7.1" 
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