Zaptel t-1 install

ednunnemaker

New Member
Joined
Oct 31, 2007
Messages
118
Reaction score
0
can someone post an install guide for t-1's for us newbs, i just cant get it to work, i have now had to reistall the software for this machine 3 times because i'm partially stupid and every time i have had to call digium to set up the card, i took notes last time but they just don 't work, what do i have to do to make these digium te122p installs work. i was told i needed to edit etc/zaptel.conf, which i did, and i needed to edit etc/asterisk/zapata.conf , which i did, but i get an error when the system boots that says:

ZT_SPANCONFIG failed on span 1: Invalid argument (22)

what am i doing wrong and why does is this so hard for me to get working? its supposed to be easy right?

here are my files:

/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


# Span 1: WCT1/0 "Wildcard TE122 Card 0" (MASTER) B8ZS/ESF
span=1,1,0,esf,b8zs
e&m=1-16

# Span 2: WCTDM/0 "Wildcard TDM410P Board 1"
fxoks=25-28

# Global data

loadzone = us
defaultzone = us

/etc/asterisk/zapata.conf
;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[channels]



context=from-internal
signalling=fxo_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes

usecallerid=no
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
callgroup=1
pickupgroup=1
immediate=no

;faxdetect=both
;faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no

;Include genzaptelconf configs
#include zapata-auto.conf



;Include AMP configs
#include zapata_additional.conf

language=en
context=from-zaptel
signalling=em_w
channel=1-16
 

Bart

Active Member
Joined
Nov 14, 2007
Messages
447
Reaction score
25
I've done several T1 installs. But to help you I need a bit more info. Is this T1 or E1? T1 have 24 channels, E1 have 31. Your zaptel.conf can't be right for either one.

Try:

# Span 1: WCT1/0 "Wildcard TE122 Card 0" (MASTER) B8ZS/ESF
span=1,0,0,esf,b8zs
e&m=1-24

# Span 2: WCTDM/0 "Wildcard TDM410P Board 1"
fxoks=25-28

# Global data

loadzone = us
defaultzone = us


Bart
 

ednunnemaker

New Member
Joined
Oct 31, 2007
Messages
118
Reaction score
0
its a 16 channel

i know this is weird but it works on the test box that is installed, and it worked on the "production" box before i had to reinstall the software.
its a 16 channel t-1 the customer used to have it fractioned with 16 channels voice and 8 data, but they got a new t-1 for data and never opened up the other 8 channels to voice, i copied the known good files from the test server that is working directly to the production server. it is a 24 channel t-1 with 16 voice channels. there is also a tdm410p with 4 fxs cards in it, digium set this up originally.
 

Bart

Active Member
Joined
Nov 14, 2007
Messages
447
Reaction score
25
Try:

# Span 1: WCT1/0 "Wildcard TE122 Card 0" (MASTER) B8ZS/ESF
span=1,0,0,esf,b8zs
e&m=1-16

# Span 2: WCTDM/0 "Wildcard TDM410P Board 1"
fxoks=17-20

it may not work. I still think this is right:

# Span 1: WCT1/0 "Wildcard TE122 Card 0" (MASTER) B8ZS/ESF
span=1,0,0,esf,b8zs
e&m=1-24

# Span 2: WCTDM/0 "Wildcard TDM410P Board 1"
fxoks=25-28

17 - 24 would be ignored anyway I think
 

ednunnemaker

New Member
Joined
Oct 31, 2007
Messages
118
Reaction score
0
tried them all no dice, when i run zttool it says both cards are unconfigured, i relly don't know what the hell is wrong.. guess i will call digium in the morning and have them tell me.
 
Joined
Nov 2, 2007
Messages
498
Reaction score
0
I think the context is wrong.

I saw context=from-internal

Should be

context=from-zaptel
 

Bart

Active Member
Joined
Nov 14, 2007
Messages
447
Reaction score
25
I assume you ran ztcfg -vvv after the changes?

This message means the problem is with the zaptel.conf
'ZT_SPANCONFIG failed on span 1: Invalid argument (22)'

I'd try removing the TDM card and work on getting the span card working first.
 

ednunnemaker

New Member
Joined
Oct 31, 2007
Messages
118
Reaction score
0
just incase

Just incase someone else is banging their head aganst the wall with this.

Zapata_auto was trying to define my fxo ports as channels 1-4 not 25-28 like they were supposed to.

that was commented out in zapata.conf

i had an issue with zapata-additional because i defined the channel for the fxs port as g1 instead of 25.

i needed to list them in zaptel.conf as

# 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


# Span 1: WCT1/0 "Wildcard TE122 Card 0" (MASTER)
span=1,1,0,esf,b8zs
e&m=1-16

fxoks=25-28

# Global data

loadzone = us
defaultzone = us
 

Members online

No members online now.

Forum statistics

Threads
25,810
Messages
167,755
Members
19,240
Latest member
nikko
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top