Zaptel Configuration Problems

Specs / Info

Asterisk 1.4.22 built by root @ crosphone on a i686 running Linux on 2008-10-15 15:57:04 UTC

Linux crosphone 2.6.18-6-686 #1 SMP Thu Oct 9 15:52:18 UTC 2008 i686 GNU/Linux

Debian Etch

We are installing an asterisk server in a condo complex with 45 units. We
have an asterisk server with a Digium 4 port TDM410P T1 card installed.

Port 1 is a PRI connected to the telco.

Port 2 is not used.

Port 3 and 4 are connected to Adtran TA624s which have 24 fxs ports on them.

We want to be able to connect a standard phone to one of the fxs ports on
the TA624 and be able to dial any of the other ports on either TA624 or be
able to make outside calls via the PRI or receive inbound calls via the PRI.
We need to be able to set the outbound caller ID on each fxs port.

We know that the telco will accept whatever caller ID we send it.

/etc/asterisk/zapata.conf

#include zapata-channels.conf

/etc/asterisk/zapata-channels.conf

; Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
; Zaptel Channels Configurations (zapata.conf)
;
; This is not intended to be a complete zapata.conf. Rather, it is intended
; to be #include-d by /etc/zapata.conf that will include the global settings
;

; Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER)
group=0,11
context=from-pstn
switchtype = national
signalling = pri_cpe
channel => 1-23
group=
context=default

; Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2"
group=0,12
context=from-pstn
switchtype = national
signalling = pri_cpe
channel => 25-47
group=
context=default

; Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3"
group=0,13
context=from-pstn
switchtype = national
signalling = pri_cpe
channel => 49-71
group=
context=default

; Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4"
group=0,14
context=from-pstn
switchtype = national
signalling = pri_cpe
channel => 73-95
group=
context=default

/etc/zaptel.conf

# Autogenerated by /usr/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


# Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER)
span=1,1,0,esf,b8zs
# termtype: te
bchan=1-23
dchan=24

# Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2"
span=2,2,0,esf,b8zs
# termtype: te
fxoks=25-48
#bchan=25-47
# dchan=48

# Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3"
span=3,3,0,esf,b8zs
# termtype: te
fxoks=49-72
#bchan=49-71
#dchan=72

# Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4"
span=4,4,0,esf,b8zs
# termtype: te
fxoks=73-96
#bchan=73-95
#dchan=96

# Global data

loadzone        = us
defaultzone     = us

Here is the result of my ztcfg -vvvvvvvvvvvvvvvvvvvvv

crosphone:~# /sbin/ztcfg -vvv

Zaptel Version: 1.4.12.1
Echo Canceller: MG2
Configuration
======================

SPAN 1: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 3: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 4: 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)
Channel 25: FXO Kewlstart (Default) (Slaves: 25)
Channel 26: FXO Kewlstart (Default) (Slaves: 26)
Channel 27: FXO Kewlstart (Default) (Slaves: 27)
Channel 28: FXO Kewlstart (Default) (Slaves: 28)
Channel 29: FXO Kewlstart (Default) (Slaves: 29)
Channel 30: FXO Kewlstart (Default) (Slaves: 30)
Channel 31: FXO Kewlstart (Default) (Slaves: 31)
Channel 32: FXO Kewlstart (Default) (Slaves: 32)
Channel 33: FXO Kewlstart (Default) (Slaves: 33)
Channel 34: FXO Kewlstart (Default) (Slaves: 34)
Channel 35: FXO Kewlstart (Default) (Slaves: 35)
Channel 36: FXO Kewlstart (Default) (Slaves: 36)
Channel 37: FXO Kewlstart (Default) (Slaves: 37)
Channel 38: FXO Kewlstart (Default) (Slaves: 38)
Channel 39: FXO Kewlstart (Default) (Slaves: 39)
Channel 40: FXO Kewlstart (Default) (Slaves: 40)
Channel 41: FXO Kewlstart (Default) (Slaves: 41)
Channel 42: FXO Kewlstart (Default) (Slaves: 42)
Channel 43: FXO Kewlstart (Default) (Slaves: 43)
Channel 44: FXO Kewlstart (Default) (Slaves: 44)
Channel 45: FXO Kewlstart (Default) (Slaves: 45)
Channel 46: FXO Kewlstart (Default) (Slaves: 46)
Channel 47: FXO Kewlstart (Default) (Slaves: 47)
Channel 48: FXO Kewlstart (Default) (Slaves: 48)
Channel 49: FXO Kewlstart (Default) (Slaves: 49)
Channel 50: FXO Kewlstart (Default) (Slaves: 50)
Channel 51: FXO Kewlstart (Default) (Slaves: 51)
Channel 52: FXO Kewlstart (Default) (Slaves: 52)
Channel 53: FXO Kewlstart (Default) (Slaves: 53)
Channel 54: FXO Kewlstart (Default) (Slaves: 54)
Channel 55: FXO Kewlstart (Default) (Slaves: 55)
Channel 56: FXO Kewlstart (Default) (Slaves: 56)
Channel 57: FXO Kewlstart (Default) (Slaves: 57)
Channel 58: FXO Kewlstart (Default) (Slaves: 58)
Channel 59: FXO Kewlstart (Default) (Slaves: 59)
Channel 60: FXO Kewlstart (Default) (Slaves: 60)
Channel 61: FXO Kewlstart (Default) (Slaves: 61)
Channel 62: FXO Kewlstart (Default) (Slaves: 62)
Channel 63: FXO Kewlstart (Default) (Slaves: 63)
Channel 64: FXO Kewlstart (Default) (Slaves: 64)
Channel 65: FXO Kewlstart (Default) (Slaves: 65)
Channel 66: FXO Kewlstart (Default) (Slaves: 66)
Channel 67: FXO Kewlstart (Default) (Slaves: 67)
Channel 68: FXO Kewlstart (Default) (Slaves: 68)
Channel 69: FXO Kewlstart (Default) (Slaves: 69)
Channel 70: FXO Kewlstart (Default) (Slaves: 70)
Channel 71: FXO Kewlstart (Default) (Slaves: 71)
Channel 72: FXO Kewlstart (Default) (Slaves: 72)
Channel 73: FXO Kewlstart (Default) (Slaves: 73)
Channel 74: FXO Kewlstart (Default) (Slaves: 74)
Channel 75: FXO Kewlstart (Default) (Slaves: 75)
Channel 76: FXO Kewlstart (Default) (Slaves: 76)
Channel 77: FXO Kewlstart (Default) (Slaves: 77)
Channel 78: FXO Kewlstart (Default) (Slaves: 78)
Channel 79: FXO Kewlstart (Default) (Slaves: 79)
Channel 80: FXO Kewlstart (Default) (Slaves: 80)
Channel 81: FXO Kewlstart (Default) (Slaves: 81)
Channel 82: FXO Kewlstart (Default) (Slaves: 82)
Channel 83: FXO Kewlstart (Default) (Slaves: 83)
Channel 84: FXO Kewlstart (Default) (Slaves: 84)
Channel 85: FXO Kewlstart (Default) (Slaves: 85)
Channel 86: FXO Kewlstart (Default) (Slaves: 86)
Channel 87: FXO Kewlstart (Default) (Slaves: 87)
Channel 88: FXO Kewlstart (Default) (Slaves: 88)
Channel 89: FXO Kewlstart (Default) (Slaves: 89)
Channel 90: FXO Kewlstart (Default) (Slaves: 90)
Channel 91: FXO Kewlstart (Default) (Slaves: 91)
Channel 92: FXO Kewlstart (Default) (Slaves: 92)
Channel 93: FXO Kewlstart (Default) (Slaves: 93)
Channel 94: FXO Kewlstart (Default) (Slaves: 94)
Channel 95: FXO Kewlstart (Default) (Slaves: 95)
Channel 96: FXO Kewlstart (Default) (Slaves: 96)

96 channels to configure.