Zaptel Install from Scratch

Joined
Jul 12, 2007
Messages
177
Points
0
A quick how-to for installing zaptel from scratch.

Platform;
Elastix-0.8.4
kernel: 2.6.18-8.el5 (i686,i386)

1. Install kernel-sources;
Yum was not pulling down the kernel sources so we grab them from the repository and install.
Code:
# cd /usr/src
# wget http://mirror.centos.org/centos/5/os/i386/CentOS/kernel-devel-2.6.18-8.el5.i686.rpm

# rpm -ivh kernel-devel-2.6.18-8.el5.i686.rpm
2. Grab the version of zaptel you wish to install from asterisk.org. Should probably be a 1.4.x variant;
Download, untar, configure, build
Code:
# wget http://ftp.digium.com/pub/zaptel/releases/zaptel-1.4.3.tar.gz
# tar -xzvf zaptel-1.4.3.tar.gz
# cd zaptel-1.4.3
# ./configure
# make clean
# make
# make install
If everything installed OK you should be able to run 'genzaptelconfig' to confirm zaptel and related modules are installed properly.

To confirm the version you just installed is loading properly check dmesg;
Code:
# dmesg | grep Zaptel
Zaptel Version: 1.4.3
Zaptel Echo Canceller: MG2
Good Luck,
Redfone Support<br><br>Post edited by: Redfone, at: 2007/07/13 16:21
 
Joined
May 29, 2007
Messages
16
Points
0
WOOHOO!
That kicked the echo problem I had with my x100p from x100p.com and it works perfectly.
 
Joined
Apr 18, 2007
Messages
249
Points
0
Dear starkiller,
can you please post a quick how-to for installing zaptel with the Open Source Line Echo Canceller (OSLEC) in the forums.



Thanks,
Saleh
 
Joined
Aug 1, 2007
Messages
6
Points
0
Redfone said:
2. Grab the version of zaptel you wish to install from asterisk.org. Should probably be a 1.4.x variant;
Download, untar, configure, build
Code:
# wget [url=http://ftp.digium.com/pub/zaptel/releases/zaptel-1.4.3.tar.gz]http://ftp.digium.com/pub/zaptel/releas ... 4.3.tar.gz[/url]
# tar -xzvf zaptel-1.4.3.tar.gz
# cd zaptel-1.4.3
# ./configure
# make clean
[/quote]
afther this i get .../build no such file or directory and then error 2
 
Joined
Aug 1, 2007
Messages
6
Points
0
Redfone said:
2. Grab the version of zaptel you wish to install from asterisk.org. Should probably be a 1.4.x variant;
Download, untar, configure, build
Code:
# wget [url=http://ftp.digium.com/pub/zaptel/releases/zaptel-1.4.3.tar.gz]http://ftp.digium.com/pub/zaptel/releas ... 4.3.tar.gz[/url]
# tar -xzvf zaptel-1.4.3.tar.gz
# cd zaptel-1.4.3
# ./configure
# make clean
[/quote]
afther this i get .../build no such file or directory and then error 2
 
Joined
Aug 1, 2007
Messages
6
Points
0
Redfone said:
2. Grab the version of zaptel you wish to install from asterisk.org. Should probably be a 1.4.x variant;
Download, untar, configure, build
Code:
# wget [url=http://ftp.digium.com/pub/zaptel/releases/zaptel-1.4.3.tar.gz]http://ftp.digium.com/pub/zaptel/releas ... 4.3.tar.gz[/url]
# tar -xzvf zaptel-1.4.3.tar.gz
# cd zaptel-1.4.3
# ./configure
# make clean
[/quote]
afther this i get .../build no such file or directory and then error 2
 
Joined
Aug 1, 2007
Messages
6
Points
0
I got the zaptel and misdn installed and started. but when i do asterisk -vvvr and misdn show channels thsi doesn't work.
 
Joined
Aug 7, 2007
Messages
8
Points
0
afther this i get .../build no such file or directory and then error 2
Look in /boot/grub/grub.conf

Make sure your default is booting to the correct kernel version that matches the kernel-devel you have installed.

Code:
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title CentOS (2.6.18-8.1.8.el5)
	root (hd0,0)
	kernel /vmlinuz-2.6.18-8.1.8.el5 ro root=LABEL=/1
	initrd /initrd-2.6.18-8.1.8.el5.img
title CentOS (2.6.18-8.el5xen)
	root (hd0,0)
	kernel /xen.gz-2.6.18-8.el5 
	module /vmlinuz-2.6.18-8.el5xen ro root=LABEL=/1
	module /initrd-2.6.18-8.el5xen.img
title CentOS-base (2.6.18-8.el5)
	root (hd0,0)
	kernel /vmlinuz-2.6.18-8.el5 ro root=LABEL=/1
	initrd /initrd-2.6.18-8.el5.img
<br><br>Post edited by: vaporjet, at: 2007/08/08 04:00
 
Joined
May 29, 2007
Messages
16
Points
0
Code:
    1  zttool
    2  genzaptelconf 
    3  yum -y update
    4  yum -y update
    5  wget http://mirror.centos.org/centos/5/os/i386/CentOS/kernel-devel-2.6.18-8.el5.i686.rpm
    6  wget http://ftp.digium.com/pub/zaptel/releases/zaptel-1.4.4.tar.gz
    7  wget http://www.rowetel.com/ucasterisk/downloads/oslec-0.1.tar.gz
    8  zttool
    9  cat /etc/asterisk/zapata.conf
   10  ls
   11  tar xvfz oslec-0.1.tar.gz 
   12  tar xvfz zaptel-1.4.4.tar.gz 
   13  ls
   14  rpm --install kernel-devel-2.6.18-8.el5.i686.rpm 
   15  ls /usr/src/
   16  ls
   17  cd oslec-0.1
   18  ls
   19  make
   20  ls
   21  cd kernel/
   22  ls
   23  wget http://svn.rowetel.com/software/oslec/trunk/kernel/zaptel-1.4.4.patch
   24  ls
   25  cd ..
   26  ls
   27  cd ..
   28  cd zaptel-1.4.4
   29  patch < ../oslec-0.1/kernel/zaptel-1.4.4.patch 
   30  ls
   31  ./configure && make clean && make && make install
   32  ./configure && make clean && make && make install
   33  lsmod
   34  depmod -a
   35 reboot
<br><br>Post edited by: starkiller, at: 2007/08/08 06:30
 

Members online

No members online now.

Forum statistics

Threads
30,992
Messages
131,106
Members
17,716
Latest member
Orbit114
Top