My Sangoma A101 Install
Here is my install of a Sangoma A101 Card on a McCleodUSA T1/PRI. If you have questions, corrections or advice, feel free to post.
*** Install requirments. Not sure why I had to do this part, but it’s the only way I could get it to work. I took this off the sangoma wiki (
http://wiki.sangoma.com/Requirements)
> cd /lib/modules/2.6.18-8.1.15-e15/build
> yum install kernel-devel
> yum install gcc
> yum install bash v2 (no change)
> yum install awk (no change)
> yum install patch (no change)
> yum install perl (no change)
> yum install byacc
*** Install and configure wanpipe
> cd /usr/src
> ln -s zaptel-1.4.x zaptel
> wget
ftp://ftp.sangoma.com/linux/current_wanpipe/wanpipe-3.2.3.tgz
> tar zxvf wanpipe-3.2.3
> ./Setup install --silent --protocol=TDM
> wancfg
1. <OK>
2. Create a new Configuration File, <Select>
3. Wanpipe1.conf, <Select>
4. Select from detected cards list, <Select>
5. AFT-A101c Slot=5 Bus=1 IRQ=9 CPU=A PORT=PRI V=25, <Select>
6. <Back>
7. Protocol-------> Not Configured, <Select>
8. TDM Voice, <Select>
9. <Back>
10. Interface Setup-> 1 Defined, <Select>
11. Interface 1--> w1g1, <Select>
12. TDM Voice Span-----> 0, <Select>
13. 1, <Ok>
14. TDM PRI HW-HDLC Timeslot-------> 0 Not Used, <Select>
15. 24, <Ok>
16. <Back>
17. <Back>
18. <Exit>
19. <Yes>
20. <Yes>
21. <Exit>
22. <Exit>
> wanrouter wanrc
1.Type in wanpipe1, <Enter>
2.Type ‘y’ to confirm
> wanrouter start
*** Configure Zaptel.conf
> nano /etc/zaptel.conf
# Autogenerated by /usr/local/sbin/genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#
# It must be in the module loading order
# Global data
span=1,1,0,esf,b8zs
bchan=1-23
dchan=24
loadzone = us
defaultzone = us
*** Configure Zapata.conf
> nano /etc/asterisk/zapata.conf
;
; Zapata telephony interface
;
; Configuration file
[trunkgroups]
[channels]
language=en
context=from-pstn (delete “zaptel”)
switchtype=national (add)
group=1 (add)
signalling=pri_cpe (delete “fxs_ks”)
channel=>1-23
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=0.0
txgain=0.0
;group=0 (delete)
callgroup=1
pickupgroup=1
immediate=no
relaxdtmf=yes (add)
;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
;Include genzaptelconf configs
#include zapata-auto.conf
;group=1 (delete)
;Include AMP configs
#include zapata_additional.conf