Thanks! :)
Can't wait to try it out.
Steven
Main Topics
Browse All TopicsHi,
How do I create a loopback cable for my ISDN card? and
How do I run loopback tests?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
You might need to make the changes to the zaptel configuration and reconfigure the card depending on what the existing configuration was.
Give that a go first otherwise I would contact digium directly as they might have some more diagnostic tests you can run since there is a new major version of zaptel since I received these inctructions and you have a newer model card then I have aswell.
I will try contact digium.
I was surprised that the line synced fine after un-plugging and re-plugging it - I could see that each of the b-channels was restarting 1 at a time. Is there a way to do an "indepth" restart like this from console / CLI? or did that come from Telco side? - it looks the same as when I ask them to reload their equipment.
Thanks
Steven
Fron Digium:
The patlooptest can be used to test ports on any of Digium's T1/E1 digital interface cards. This test transmits a bit pattern and listens for the same bit pattern to be received, comparing the results. To run the test, plug a T1/E1 loopback cable into the port to be tested.
After installing the RJ45 connector zttool should report green on the span.Use zttool to confirm that the span is "OK" (green alarm):
zttool
If it is not green the T1/E1 loopback cable was made incorrectly.
Then configure the span as follows.
For a T1, /etc/zaptel.conf should contain:
span = 1,0,0,esf,b8zs
clear = 1-24
For an E1, /etc/zaptel.conf should contain:
span = 1,0,0,ccs,hdb3,crc4
clear = 1-31
Then, to configure the channels, run:
ztcfg -vv
Now, make the tests, including patlooptest:
cd /usr/src/zaptel
make tests
Run the patlooptest:
./patlooptest /dev/zap/1 60
Going for it...
The first parameter to patlooptest is the channel on which to run the test (e.g., /dev/zap/1 ). The test should be run on the first channel of the span in question.
The second parameter is an optional timeout (e.g., 60).
The test should complete with no errors. If there are errors, it may indicate that the card or port is bad. However, errors could also be caused by IRQMisses or a faulty loopback plug.
If patlooptest does not terminate after the timeout, the card is probably not taking any interrupts.
How do I know if I am T1 or E1?
The card specs say :
powerful interface supporting voice and data transmission over T1, E1, and
Primary Rate ISDN (PRI) connections
I've always known it as PRI. How do I find out if I'm T1 or E1?
Steven
Hi,
I checked and triple checked my loopback connector.
1 - 4 and 2 - 5.
I used a cable tester, and asked someone else to check it again for me incase I was missing something stuid.... I'm sure it's right.
I plug it in and the light flashes red.
I stopped Asterisk and re-started zapte - still flashing red.
Steven
Yes if you have 30 B channels it will be E1.
The connector looks correct and is how I have mine wired up.
I would double check the pins are connected together properly using a meter or perhaps just try making a new one. If you are certain the connector iis correct then I would contact Digium as it sounds like you have a faulty card.
Business Accounts
Answer for Membership
by: grbladesPosted on 2008-07-23 at 04:18:48ID: 22067885
I got this from digium for a problem I was having a while ago.
/********
First you will need to make a loopback plug, you can make a loopback plug by taking a rj45
jack and running a wire from pin 1 to pin 4 and a wire from pin 2 to pin 5.
/********
If the card lights up green we will proceed with a quick edit of you zatpel.conf:
span = 1,0,0,ccs,hdb3,crc4
clear = 1-31
/********
Then run ztcfg -vv to configure the channels.
/********
Now you can build and run the tests.
cd /usr/src/zaptel
make tests
./patlooptest /dev/zap/1 60
Going for it...
/********
If nothing happes then you card should be fine
If it spews a bunch of errors, then something is wrong
/*******