|
Digium E1/T1 card pattern tests |
|
|
|
|
To run the test, you would first need to put a loopback cable into the span that needs testing. A T1/E1 loopback connector can easily be made using a single RJ45 connector and 2 four inch wires. Put one end of wire 1 in pin 1. Put the other end in pin 4. Put one end of wire 2 in pin 2. Put the other end in pin 5. Now you have a single RJ45 connector with wires 1 to 4 and 2 to 5.
After installing the RJ45 connector zttool should report green on the span. If it is not green the T1/E1 loopback cable was made incorrectly.
Make sure the span is in `OK` alarm then configure the span as follows in zaptel.conf:
span = 1,0,0,esf,b8zs
clear = 1-24
#OR for an E1 span
span = 1,0,0,ccs,hdb3,crc4
clear = 1-31
Then run `ztcfg -vv` to configure the channels.
The channels must be configured for esf/b8zs and each span needs it's own `clear = x-x` line or have the alternat E1 configuration.
Now you can build and run the tests.
cd /usr/src/zaptel make tests
./patlooptest /dev/zap/1 60 Going for it...
The test should be run on the first channel of the span in question. The first parameter is the channel to run the test on, the second is an optional timeout. The test should run with no errors. If you do get errors it may be a bad card, but errors can be caused by other things as well, such as IRQ misses and bad cables. If a patlooptest does not time out, the card is probably not taking any interrupts.
|