Announcements
Sangoma Hardware
HW Installation Manuals
Wanpipe Drivers Download Linux | Windows
Wanpipe for Asterisk
Install
Configure
Operation
Debugging
Tutorials
Appendix
Trixbox
Faxing
FAQ
Tapping(*New)
BRI: B700 / A500
Wanpipe for FreeSwitch
Install
Configure
Operation
FAQ
Appendix
Netborder VoIP Gateway
Linux
Windows
Release Notes
FAQ
Config Options
Routing Rules *NEW*
SMG-SS7
Install/Upgrade
Asterisk-SS7 Install
FreeSwitch-SS7 Install
Configure
Operation
Debugging
FAQ
Wanpipe TDM API
LibSangoma
Install/Config
FreeTDM
Wanpipe MTP2 API
Wanpipe for Wan/API
Install
Configure
RPMs
Operation
ADSL - S518
ADSL2+ - S519
Multi-Link PPP
Appendix
FAQ
Wanpipe for Yate
Wanpipe for Callweaver
Install
Configure
Wanpipe Case Studies
Troubleshooting
Tech Support
Glossary
| Wanpipe for Windows |
Wanpipe Asterisk Patlooptest
Patlooptest
The patlooptest can be used with T1/E1 cards to confirm that a specific port is not defective. It sends data through the zap channel and checks if data sent = data received.
To perform the patlooptest, you will need a loopback cable in the port under test.
Pin-outs for the loopback cable:
1<->4
2<->5
Step 1:
Wanpipe Configuration
TDM Voice Protocol
Configure the port on the Sangoma card for Master clock
vi /etc/wanpipe/wanpipe*.conf
TE_CLOCK = MASTER
No Hardware HDLC and hardware echo canceller
vi /etc/wanpipe/wanpipe*.conf
TDMV_DCHAN = 0
TDMV_HWEC = NO
Step 2:
Zaptel Configuration (/etc/zaptel.conf)
Example :
|
For T1: (24 Channels )
span = 1,1,0,esf,b8zs |
For E1: (31 Channels)
span=1,1,0,ccs,hdb3,crc4
clear = 1 |
Step 3:
Execute Patlooptest
Go to your zaptel source directory (/usr/src/zaptel)
#> cd /usr/src/zaptel
ii) Compile patlooptest
#> make patlooptest
Start wanrouter
#> wanrouter start
Configure zaptel
#> ztcfg –vvvvvv
Start Patlooptest
#>nice -n -11 ./patlooptest /dev/zap/N
where N is your channel number.
The output should say:
Going for it...
And the patlooptest program will start transmitting/receiving. If the received frame is different from the transmitted frame, error messages will be printed on the screen. If you do not see any error messages, then the card is not defective.
You should also check your wanpipe interface for incrementing rx and tx counters, and confirm that you are not getting any overruns.
To check rx and tx counters :
#>ifconfig
Note: If your rx and tx counters are not incrementing, your loopback connecter is bad and/or something wrong with configuration files (/etc/wanpipe/wanpipe*.conf, /etc/zaptel.conf)
If you see that the port is failing this test, please send following information to techdesk@sangoma.com
Send us the output of following commands:
1)wanrouter hwprobe
2)wanrouter version
3)wanrouter status
4)ifconfig (run this command atleast three times with one second delay and send us all the outputs)5) nice -n -11 ./patlooptest /dev/zap/N
where N is your channel number.
Send us the following configuration files:
1)/etc/zaptel.conf,
2)/etc/wanpipe/wanpipe*.conf
3)/var/log/messages
(Right after wanrouter start to end)