Difference between revisions of "Zaptel installation"

From Kolmisoft Wiki
Jump to navigationJump to search
 
(6 intermediate revisions by the same user not shown)
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.7.1"
  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


----
----


If you get something like:
If you get something like:
Line 21: Line 23:
  aptitude -f --with-recommends dist-upgrade
  aptitude -f --with-recommends dist-upgrade


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


----
----


  cd /usr/src
  cd /usr/src
  wget http://downloads.digium.com/pub/zaptel/zaptel-"$ZAPTEL_VER".tar.gz
  wget http://support.red-fone.com/downloads/zaptel/zaptel-1.4.11.tar.gz
  tar xzvf zaptel-"$ZAPTEL_VER".tar.gz
  tar xzvf zaptel-"$ZAPTEL_VER".tar.gz


Line 42: Line 46:


<br>
<br>
==Centos 5==
==Centos 5==


Guide: http://www.voip-info.org/wiki/view/CentOS+5+and+Asterisk+1.4.x+installation
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.7.1"  
  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

Latest revision as of 10:18, 11 May 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://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