[SOLVED] - Te110p problems - zttest showing 80.4% -

take a RJ45 plug, cut two short leads of wire, and loop pin 1 to pin 4, and pin 2 to pin 5

in other words, you connect pins 1 and 4 with a wire, and pins 1 and 5 with a wire - the wires ‘loop’ out the back of the plug and back in.

a picture is worth a 1000 words, let me see if i can find one.

best i could do: stayonline.com/images/produc … 0/7793.jpg

EDIT: baconbuttie found a good one

adtran.com/adtranpx/Doc/0/FM … 45003.html

ok after I create the loopback then what do I do – just plug it in?

yep

Do I need to restart any services? Zaptel? Asterisk?

I dont think you will have to but if it doesnt go green then I would restart everything if it still doesnt green up they I would say you card is bad

Well Im restarting the system just for kicks - but its just a blinking red light…

Ok well I restarted the system and the card is blinking red - there is a red alarm - and I am now oficially ticked off…

And I assume you did modprobe ztcfg and asterisk too? AS I stated earlier I think modprobe and ztcfg is all that is needed to bring up the pri but am not 100 percent on that so start asterisk too for good measure

[root@AsteriskPBX zaptel-1.2.7]# lsmod
Module                  Size  Used by
md5                     8001  1
ipv6                  265857  12
parport_pc             31621  0
lp                     16585  0
parport                39049  2 parport_pc,lp
autofs4                22725  2
sunrpc                139781  1
wcusb                  24480  0
wctdm                  42048  0
wcfxo                  17312  0
wctdm24xxp             68928  0
wcte11xp               29728  15
wct1xxp                21280  0
wct4xxp               549696  0
tor2                   93984  0
zaptel                192644  42 wcusb,wctdm,wcfxo,wctdm24xxp,wcte11xp,wct1xxp,wct4xxp,tor2
video                  19909  0
button                 10577  0
battery                13381  0
ac                      8773  0
hw_random               9557  0
shpchp                 96965  0
hisax                 536733  0
crc_ccitt               6081  2 zaptel,hisax
isdn                  138561  1 hisax
slhc                   11073  1 isdn
e1000                 106029  0
floppy                 62421  0
sg                     41313  0
dm_snapshot            21349  0
dm_zero                 6081  0
dm_mirror              26013  0
ext3                  133193  2
jbd                    61785  1 ext3
dm_mod                 59749  6 dm_snapshot,dm_zero,dm_mirror
megaraid_mbox          39377  2
megaraid_mm            15077  1 megaraid_mbox
sd_mod                 22977  3
scsi_mod              136457  3 sg,megaraid_mbox,sd_mod
[root@AsteriskPBX zaptel-1.2.7]# ztcfg -vvvd
Line 1: loadzone = us
Line 2: defaultzone=us
Line 3: span=1,1,0,esf,b8zs
Line 4: bchan=1-14
Line 5: dchan=24
<End of File>

Zaptel 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 24: D-channel (Default) (Slaves: 24)

15 channels configured.
[root@AsteriskPBX zaptel-1.2.7]# cat /proc/zaptel/1
Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0" B8ZS/ESF RED

           1 WCT1/0/1 Clear (In use)
           2 WCT1/0/2 Clear (In use)
           3 WCT1/0/3 Clear (In use)
           4 WCT1/0/4 Clear (In use)
           5 WCT1/0/5 Clear (In use)
           6 WCT1/0/6 Clear (In use)
           7 WCT1/0/7 Clear (In use)
           8 WCT1/0/8 Clear (In use)
           9 WCT1/0/9 Clear (In use)
          10 WCT1/0/10 Clear (In use)
          11 WCT1/0/11 Clear (In use)
          12 WCT1/0/12 Clear (In use)
          13 WCT1/0/13 Clear (In use)
          14 WCT1/0/14 Clear (In use)
          15 WCT1/0/15
          16 WCT1/0/16
          17 WCT1/0/17
          18 WCT1/0/18
          19 WCT1/0/19
          20 WCT1/0/20
          21 WCT1/0/21
          22 WCT1/0/22
          23 WCT1/0/23
          24 WCT1/0/24 HDLCFCS (In use)

as you can see code is red…

I am going to put the card in another machine I think - and see if it helps…(dont think it will - but will try…)

i’m going from memory here, but i think the digium cards show red whenever there is not an active telco link up, ie whenever ztcfg is not run successfully.

have you tried plugging the loopback plug into the card and doign a loop test inside zttool? that SHOULD verify that the card is working properly.

are you sure the line has been provisioned fully? this almost appears as though the line has been set up but not provisioned, that the link exists but the line hasn’t been ‘activated’, if you will…

also, have you tested your T1 cabling lately and/or tried a different or new cable?

sorry if this is random, i’m trying to think outside the box.

Whois got me thinking i just tested it on mine unplugged t1 line to channel bank plugged loopback in card went back to green.

I have another T1 here (data) and a swapped the cables :smile: so I know they are fine…

With the looppolug in the card is red. doing the loop (up or down) does not create any output…

The line is provisioned - but not active cause the trunks automaticly go down if there are errors on the line …

EDIT: i just re-read everything again and realize i’m a dumbass.

it sounds like you MIGHT have a bad card…do you happen to have a spare or anything…or another type of PBX you might be able to test with?

i’ll try to check in on this thread later tonight (home now)…

good luck

Ok something wierd - I left to go get some food - and came back and the light was green on the back of the card… and no alarms… I have no idea whats going on - it is still not getting an external clock source!
Therefore it will continue to error out because its out of sync with the TELCO.

SBC / AT&t says there are many errors on the line. could this be related to the poor zttest score?

Why cant the card get the external timming source?

:imp: this is driving me cRaZy!

:exclamation: :exclamation: :exclamation: :exclamation: :exclamation:

Problem solved!!!

ok get this I changed the zaptel.conf to get timming to internal (0) from external (1)

[root@AsteriskPBX etc]# cat /etc/zaptel.conf
loadzone = us
defaultzone=us
span=1,0,0,esf,b8zs
bchan=1-23
dchan=24

that is very odd, and actually shouldn’t work - the telco should be sending a clock signal and you should be able to synch from it…

running the card with the timing setting you have means that the card is using it’s internal circuitry to generate a clock. you normally would want to do this if you were connecting your server to an internal channel bank or another slave.

in this case, you will continue to see errors until you are syching from the telco.

in your last post, you say that you changed the clock source from internal to external, but your zaptel.conf is still showing that you are using the internal clock…hopefully your span def looks liek this:

span=1,1,0,esf,b8zs

and you have a green light and no errors…is that the case?

Yes - green light, no errors and not missed interrupts - I think I hate this zaptel software though - it seems very “unfinished”!

[root@AsteriskPBX asterisk]# ztcfg -d
Line 1: loadzone = us
Line 2: defaultzone=us
[b]Line 3: span=1,0,0,esf,b8zs[/b]
Line 4: bchan=1-23
Line 5: dchan=24
<End of File>

I was on the phone with SBC at the time - and they tld me to try it. As soon as I chaned it and reset the zaptel service all was good - and the wierd thing is - the card is actually getting the timing from the SPAN! And this is confirmed with the telco - there are now no errors on the line and all my channels work :smile:

THis still doesnt make sense…

yeah, that is exactly OPPOSITE of what you would want and what i would expect…

if it works, wonderful, but that is the absolute craziest ass thing i have seen in a while…

maybe one of the gurus could chime in and pass judgement - i’m not really sure what’s going on.

YES that would be great - Hey great GURUs what the heck is going on - this should not be working in my mind - why is it?

:smile:

I have no idea - it is totally wierd though! But yeah it works GrEat! have tried 10 incoming calls and a few outgoing all is well - sound quality is perfect not a pop or hiss to hear.

:question: