Installing Sangoma 4 port fxo card into Xorcom Rapid
1) nano /etc/apt/source.list
a) add
deb http://http.us.debian.org/debian stable main contrib non-free
2) apt-get update;uname -a;
3) apt-cache search kernel-headers | grep [linux version number obtained from step 2]
4) apt-get install kernel-headers-2.6.8-2-686
5) cd /usr/src
6) wget http://ftp.digium.com/pub/zaptel/releases/zaptel-1.2.5.tar.gz
7) mv zaptel-1.2.5.tar.gz zaptel.tar.gz
8) apt-get install unp bzip2
9) unp zaptel.tar.gz
10)wget ftp://ftp.sangoma.com/linux/current_wanpipe/wanpipe-beta4-2.3.4.tgz
11) unp wanpipe-beta4-2.3.4.tgz
12) cd wanpipe
13) apt-get install g++
14) apt-get install ncurses-base libncurses5-dev libncurses5 flex patch
15) mv /usr/src/zaptel-1.2.5/ /usr/src/zaptel
16) apt-get install make
17) mknod /dev/wp1ec c 242 1
18) /etc/init.d/asterisk stop
19) cd /usr/src/zaptel
20) make clean; make; make install
21) wanrouter hwprobe [shoud return]
-------------------------------
| Wanpipe Hardware Probe Info |
-------------------------------
1 . AFT-A200-SH : SLOT=0 : BUS=1 : IRQ=209 : CPU=A : PORT=PRI : HWEC=32
Card Cnt: S508=0 S514X=0 S518=0 A101-2=0 A104=0 A300=0 A200=1 A108=0
21)nano /etc/zaptel.conf
##paste at bottom of file
fxsks = 1-4
##----------------------
22) wancfg zaptel
23) wanrouter start [system hangs, reboot it]
24) ztcfg -vvvv[should see]
Zaptel Configuration
======================
Channel map:
Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)
4 channels configured.
25) nano /etc/asterisk/zapata-channels.conf
;Paste into file
signalling = fxs_ks
group = 1
channel = 1-4
watch "wanpipemon -i w1g1 -c ehw" will tell you if you hardware echo cancellation is working or not.
Run the command and make a call, it is only enabled during a call.

Recent comments
2 years 13 weeks ago
2 years 23 weeks ago
2 years 23 weeks ago
2 years 29 weeks ago
2 years 35 weeks ago
2 years 37 weeks ago
2 years 49 weeks ago
2 years 50 weeks ago
2 years 50 weeks ago
3 years 13 weeks ago