Loading... Please wait...

Categories

Back-to-Back Pattern Test for BRI Adapters

Back-to-Back Pattern Test for BRI Adapters

Configuration and setup instructions are provided below for both the B410P and the HA8/HB8 series cards. The actual testing instructions are the same for these cards and are thus combined.

Steps

B410P

First, select which two spans on your B410P you are using for the back-to-back pattern test.  Be sure one B410P span is jumpered for NT with DIP switches turned ON, and ensure the other span is jumpered as TE and with DIP switch turned OFF.  Connect both spans with a standard "straight-through" 8P8C ("RJ45 Ethernet") cable.  

Make sure to use the correct span and channel numbers in your configuration. For our example the B410P card is the only card in the system and we are using the first two spans.

Configure /etc/dahdi/system.conf as follows:

span=1,0,0,ccs,ami  # NT span

bchan=1-2

hardhdlc=3

 

span=2,1,0,ccs,ami  # TE span

bchan=4-5

hardhdlc=6

Second, load the wcb4xxp driver (part of DAHDI).  Simply starting the dahdi service should suffice (service dahdi start), or load it using the following commands:

   modprobe -vv wcb4xxp

   dahdi_cfg -vvv

NOTE: If DAHDI was already running before configuring system.conf as indicated above then DAHDI will first need to be stopped, then started again for the changes to take effect. Rerunning dahdi_cfg is not enough. It is recommended to restart the system after making the configuration changes.

HA8/HB8

First, select which two spans on your Hx8 card will be used for the back-to-back pattern test. Connect both spans with a standard "straight-through" 8P8C ("RJ45 Ethernet") cable.

Make sure to use the correct span and channel numbers in your configuration. For our example the Hx8 card is the only card in the system and we are using the first two spans.

Configure /etc/dahdi/system.conf as follows:  

span=1,0,0,ccs,ami,nt,term  # NT span

bchan=1-2

hardhdlc=3

 

span=2,1,0,ccs,ami,te,term  # TE span

bchan=4-5

hardhdlc=6

Second, load the wctdm24xxp driver ("service dahdi start" should be sufficient).  Or load it using the following commands:

   modprobe -vv wctdm4xxp

   dahdi_cfg –vvv

NOTE: If DAHDI was already running before configuring system.conf as indicated above then DAHDI will first need to be stopped, then started again for the changes to take effect. Rerunning dahdi_cfg is not enough. It is recommended to restart the system after making the configuration changes.

Pattern Testing

If you haven't already done so, build or install the DAHDI tests.  From the root DAHDI source directory (e.g. /usr/src/dahdi-linux-complete/), issue the following commands:

cd tools

make tests

For AsteriskNOW you should be able to install the patgen and pattest commands using the following command:

yum -y install dahdi-tools

Then, with Asterisk stopped, open two terminal windows or screen sessions, and issue the following two commands (one in each session):

./patgen /dev/dahdi/1 &  # screen session 1

./pattest /dev/dahdi/4 300 # screen session 2

The test may have a small burst of errors at the beginning while you're starting each pattern command, but should subside once both the generator and the test are running.  After the test has run for a sufficient amount of time, you can use Ctrl-C to stop pattest (or let it run to completion, if you specified a timeout). Then, use "killall -9 patgen" to stop the patgen process.

The expected behavior is for pattest to eventually time out and report such without producing any other messages after the test and generator are fully started.

If this pattern test should return errors throughout its execution your B410P may be bad, or some other component of the machine may be negatively impacting the B410P performance.  Please contact Digium Technical support for troubleshooting guidance.

 

What's News

newsletter

Copyright 2017 Digital Techniques (Asia). 本网站所有权归北京迪特爱数码科技有限公司 All Rights Reserved.
 Sitemap | Bigcommerce Premium Themes by PSDCenter