Zaptel Install from Scratch

Redfone

Joined
Jul 12, 2007
Messages
177
Likes
0
Points
0
#1
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
 

lek

Guest
#2
Thanks for your post redfone.
 

starkiller

Joined
May 29, 2007
Messages
16
Likes
0
Points
0
#3
Thanks, now I can try OSLEC!
 

starkiller

Joined
May 29, 2007
Messages
16
Likes
0
Points
0
#4
WOOHOO!
That kicked the echo problem I had with my x100p from x100p.com and it works perfectly.
 

saleh

Joined
Apr 18, 2007
Messages
249
Likes
0
Points
0
#5
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
 

muurman

Joined
Aug 1, 2007
Messages
6
Likes
0
Points
0
#6
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
 

muurman

Joined
Aug 1, 2007
Messages
6
Likes
0
Points
0
#7
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
 

muurman

Joined
Aug 1, 2007
Messages
6
Likes
0
Points
0
#8
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
 

muurman

Joined
Aug 1, 2007
Messages
6
Likes
0
Points
0
#9
I got the zaptel and misdn installed and started. but when i do asterisk -vvvr and misdn show channels thsi doesn't work.
 

starkiller

Joined
May 29, 2007
Messages
16
Likes
0
Points
0
#10
I will get that this weekend Saleh
 

vaporjet

Joined
Aug 7, 2007
Messages
8
Likes
0
Points
0
#11
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
 

starkiller

Joined
May 29, 2007
Messages
16
Likes
0
Points
0
#12
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
 

saleh

Joined
Apr 18, 2007
Messages
249
Likes
0
Points
0
#13
Thanks for the info starkiller.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top