Page 46
Digium, Inc.
Release 1.0
Chapter 4: Troubleshooting
I am still having problems and the telco tells me it is my equipment.
The first thing to do in this situation is to test your equipment.
1.
Plug in a loopback cable. (A loopback cable is a cable that has pin 1
going to pin 4 and pin 2 going to pin 5.) Plug the cable into the span
and wait for its LED to turn green.
2.
Stop Asterisk and edit
zaptel.conf
by removing the lines defined for
your card and replacing them with the following:
span=>1,0,0,esf,b8zs
clear=1-24
Or if you have an E1 span:
span=> 1,0,0,ccs,hdb3
clear=1-31
3.
Navigate to your zaptel source directory and type:
make tests
Followed by:
./patlooptest /dev/zap/1 60
The first argument in the patlooptest command is the device for the
channel number you want to test. You should always test the first
channel of a span. The second argument is the duration in seconds to
run the test.