Difference between revisions of "Zaptel installation"
From Kolmisoft Wiki
Jump to navigationJump to search
Line 3: | Line 3: | ||
Guide: http://www.voip-info.org/tiki-index.php?page=Asterisk+Linux+Debian | Guide: http://www.voip-info.org/tiki-index.php?page=Asterisk+Linux+Debian | ||
ZAPTEL_VER="1.4. | ZAPTEL_VER="1.4.11" | ||
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 | ||
Line 56: | Line 56: | ||
---- | ---- | ||
ZAPTEL_VER="1.4. | ZAPTEL_VER="1.4.11" | ||
yum -y install gcc gcc-c++ kernel-devel bison openssl-devel libtermcap-devel ncurses-devel doxygen | yum -y install gcc gcc-c++ kernel-devel bison openssl-devel libtermcap-devel ncurses-devel doxygen |
Revision as of 12:01, 20 January 2010
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://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
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