How to Install and Configure a Digium TE13x Single-Span T1/E1 Card
Product Family: Asterisk; Cards
Answer
How to Install and Configure a Digium TE13x Single-Span T1/E1 Card
The following article will instruct you on how to install a Digium TE133 or TE134 into your Asterisk or Switchvox system.
Hardware Installation:
Note: The TE134 card is a 32-bit 33MHz card keyed for universal 3.3 volt or 5.0 volt operation and works in any PCI 2.2 (or greater) compliant slot. The TE133 card is keyed for a PCI Express 1-lane (x1) slot and will work in any PCIe revision 1.0 compliant slot, including lane lengths x4, x8, and x16.
- Power down your computer and unplug it from its power source.
- Attach a static strap to your wrist and open the case.
- Remove the bracket place holder and insert the card into a PCI or PCI Express slot. Make sure the card is securely seated in the slot.
- Screw the card bracket securely into the case. If available, use the screw that was previously holding the bracket place holder (from Step 3).
- Replace the cover to your computer.
- Plug the T1 or E1 equipment cable into the RJ45 port.
T1/E1 Selection:
T1 Mode (Recommended Method) – Include the following in /etc/modprobe.d/dahdi.conf:
options wcte13xp default_linemode=t1
# modprobe wcte13xp default_linemode=t1
options wcte13xp default_linemode=e1
# modprobe wcte13xp default_linemode=e1
Software Installation:
To install your TE130 Series card, you will need:
- Linux 2.6 kernel headers
- Development libraries and headers for ncurses
- Development libraries and headers for zlib and openssl
- Development libraries and headers for newt
- GCC and standard software build tools
libpri and DAHDI Installation:
- After the machine has booted to Linux, log in as root and execute the following command to list the devices detected by the PCI bus.
# lspci -n
- Confirm that the output lists a device with Digium’s PCI vendor ID which is “d161″. The PCI device ID show immediately after “d161:” will be populated with one of the identifiers listed below:
TE133: 800A
TE134: 800BA Digium TE130 Series (TE133 / TE134) card identifier should be listed. If a matching card identifier is not listed, then your machine is not PCI 2.2 (or higher) or PCI Express compatible, and the card will not work with your motherboard.
For further verification, the screen output from lspci should be similar to the following:
3:00.0 Network controller: Digium, Inc. Wildcard TE133 single-span T1/E1/J1 card (PCI-Express) (rev 01)
Note: The output from lspvi may or may not state “Unknown device”. If it does, this does not indicate a problem.
- Download the latest version of libpri (1.4 or later). Substitute the version of libpri for the X.X in the command line below. libpri is available for download from: http://downloads.digium.com/pub/telephony/libpri
# wget http://downloads.digium.com/pub/telephony/libpri/libpri-X.X.current.tar.gz
- Expand the downloaded file, compile its contents and install the libraries. Substitute the version of libpri for the X.X and X.X.X in the command lines below.
# tar -zxvf libpri-X.X-current.tar.gz
# cd libpri-X.X.X/
# make
# make installNote: There is no coorelation between the versioning of libpri and Asterisk. The libpri 1.4 branch will function with the Asterisk 1.8 branch.
- Download the latest DAHDI drivers with tools (version 2.7 or later). DAHDI is available for download from: http://downloads.digium.com/pub/telephony/dahdi-linux-complete/
# wget http://downloads.digium.com/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz
- Expand the downloaded file, compile its contents and install the drivers and tools. Substitute the version of DAHDI for the X.X.X in the command lines below.
# tar -zxvf dahdi-linux-complete-current.tar.gz
# cd dahdi-linux-complete-X.X.X+X.X.X
# make
# make install
# make configNote: Executing ‘make config’ will install an init script and symlinks which allow you to start and stop DAHDI as a service.
Asterisk Installation:
- Download the latest release version of Asterisk (1.8.0 or later). Substitute the version of Asterisk for the X.X in the command below. Asterisk is available for download from: http://downloads.digium.com/pub/telephony/asterisk/
# wget http://downloads.digium.com/pub/telephony/asterisk/asterisk-X.X-current.tar.gz
- Expand the downloaded file, compile its contents and install the application. Substitute the version of Asterisk for the X.X and X.X.X in the command lines below.
# tar -zxvf asterisk-X.X-current.tar.gz
# cd asterisk-X.X.X/
# ./configure
# make menuselect
# make
# make install - If this is the first Asterisk installation on this system, you should install the sample configuration files. To do this, run:
# make samples
Note: Running this command will overwrite, after making a backup copy, any older Asterisk configuration files that you have in the /etc/asterisk directory.
If your installation has failed, it may be because you are missing one or more of the build dependencies, the kernel headers, or the development tools. Please contact your reseller where the card was purchased, or call Digium Technical Support at 1.256.428.6161 for assistance.
- Complete instructions for installing Asterisk are available at www.asterisk.org.