rendered paste body(zaptel)
# Autogenerated by /usr/local/sbin/sangoma/setup-sangoma -- do not hand edit
# Zaptel Channels Configurations (zaptel.conf)
#
loadzone=us
defaultzone=us
#Sangoma A101 port 1 [slot:12 bus:2 span:1] <wanpipe1>
span=1,0,0,esf,b8zs
bchan=1-23
dchan=24
Zaptel Version: 1.4.8
Echo Canceller: MG2
Configuration
======================
SPAN 1: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1)
Channel map:
Channel 01: Clear channel (Default) (Slaves: 01)
Channel 02: Clear channel (Default) (Slaves: 02)
Channel 03: Clear channel (Default) (Slaves: 03)
Channel 04: Clear channel (Default) (Slaves: 04)
Channel 05: Clear channel (Default) (Slaves: 05)
Channel 06: Clear channel (Default) (Slaves: 06)
Channel 07: Clear channel (Default) (Slaves: 07)
Channel 08: Clear channel (Default) (Slaves: 08)
Channel 09: Clear channel (Default) (Slaves: 09)
Channel 10: Clear channel (Default) (Slaves: 10)
Channel 11: Clear channel (Default) (Slaves: 11)
Channel 12: Clear channel (Default) (Slaves: 12)
Channel 13: Clear channel (Default) (Slaves: 13)
Channel 14: Clear channel (Default) (Slaves: 14)
Channel 15: Clear channel (Default) (Slaves: 15)
Channel 16: Clear channel (Default) (Slaves: 16)
Channel 17: Clear channel (Default) (Slaves: 17)
Channel 18: Clear channel (Default) (Slaves: 18)
Channel 19: Clear channel (Default) (Slaves: 19)
Channel 20: Clear channel (Default) (Slaves: 20)
Channel 21: Clear channel (Default) (Slaves: 21)
Channel 22: Clear channel (Default) (Slaves: 22)
Channel 23: Clear channel (Default) (Slaves: 23)
Channel 24: D-channel (Default) (Slaves: 24)
24 channels to configure.
Changing signalling on channel 1 from HDLC with FCS check to Clear channel
Changing signalling on channel 24 from Clear channel to HDLC with FCS check
dustbunny:/etc/asterisk# cat /proc/zaptel/1
Span 1: WPT1/0 "wanpipe1 card 0" (MASTER) B8ZS/ESF
1 WPT1/0/1 Clear
2 WPT1/0/2 Clear
3 WPT1/0/3 Clear
4 WPT1/0/4 Clear
5 WPT1/0/5 Clear
6 WPT1/0/6 Clear
7 WPT1/0/7 Clear
8 WPT1/0/8 Clear
9 WPT1/0/9 Clear
10 WPT1/0/10 Clear
11 WPT1/0/11 Clear
12 WPT1/0/12 Clear
13 WPT1/0/13 Clear
14 WPT1/0/14 Clear
15 WPT1/0/15 Clear
16 WPT1/0/16 Clear
17 WPT1/0/17 Clear
18 WPT1/0/18 Clear
19 WPT1/0/19 Clear
20 WPT1/0/20 Clear
21 WPT1/0/21 Clear
22 WPT1/0/22 Clear
23 WPT1/0/23 Clear
24 WPT1/0/24 HDLCFCS
(zapata)
;autogenerated by /usr/local/sbin/config-zaptel do not hand edit
;Zaptel Channels Configurations (zapata.conf)
;
;For detailed zapata options, view /etc/asterisk/zapata.conf.orig
[trunkgroups]
[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
;rxgain=0.0
;txgain=0.0
callgroup=1
pickupgroup=1
immediate=no
;Sangoma A101 port 1 [slot:12 bus:2 span:1] <wanpipe1>
context=from-pstn
group=1
switchtype=national
signalling=pri_cpe
channel => 1-23
*CLI> == Primary D-Channel on span 1 up
== Primary D-Channel on span 1 up
== Primary D-Channel on span 1 up
== Primary D-Channel on span 1 up
and so forth
(zap show status)
Description Alarms IRQ bpviol CRC4
wanpipe1 card 0 OK 0 0 0
(zap show channels)
Chan Extension Context Language MOH Interpret
pseudo from-pstn default
1 from-pstn default
2 from-pstn default
3 from-pstn default
4 from-pstn default
5 from-pstn default
6 from-pstn default
7 from-pstn default
8 from-pstn default
9 from-pstn default
10 from-pstn default
11 from-pstn default
12 from-pstn default
13 from-pstn default
14 from-pstn default
15 from-pstn default
16 from-pstn default
17 from-pstn default
18 from-pstn default
19 from-pstn default
20 from-pstn default
21 from-pstn default
22 from-pstn default
23 from-pstn default
(pri show spans)
PRI span 1/0: Provisioned, Up, Active
dustbunny:~# wanrouter status
Devices currently active:
wanpipe1
Wanpipe Config:
Device name | Protocol Map | Adapter | IRQ | Slot/IO | If's | CLK | Baud rate |
wanpipe1 | N/A | A101/1D/A102/2D/4/4D/8| 217 | 12 | 1 | EXT | 0 |
Wanrouter Status:
Device name | Protocol | Station | Status |
wanpipe1 | AFT HDLC | N/A | Connected |