How to Install and Configure a Digium TE13x Single-Span T1/E1 Card

« Go Back
Information

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.

  1. Power down your computer and unplug it from its power source.
  2. Attach a static strap to your wrist and open the case.
  3. 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.
  4. Screw the card bracket securely into the case. If available, use the screw that was previously holding the bracket place holder (from Step 3).
  5. Replace the cover to your computer.
  6. Plug the T1 or E1 equipment cable into the RJ45 port.

T1/E1 Selection:

The TE130 Series cards can be configured for either T1 or E1 mode. The T1/E1 mode may be specified in the drivers using either the default_linemode=t1 or default_linemode=e1 module parameter when the drivers are loaded. This will set the mode for the span on the card.

T1 Mode (Recommended Method) - Include the following in /etc/modprobe.d/dahdi.conf:

options wcte13xp default_linemode=t1

T1 Mode (Alternate Method):

# modprobe wcte13xp default_linemode=t1

E1 Mode (Recommended Method) - Include the following in /etc/modprobe.d/dahdi.conf:

options wcte13xp default_linemode=e1

E1 Mode (Alternate Method):

# modprobe wcte13xp default_linemode=e1

Software Installation:

Digium hardware requires drivers and libraries that are not integrated with the Linux kernel. Digium hardware is only supported under Linux. Digium recommends CentOS, Debian, Red Hat, and Ubuntu distributions of Linux. However, many other distributions are supported by Digium Technical Support.

Digium’s software, including drivers and application software, may be obtained from Digium’s download server at:
http://downloads.digium.com
 
For an introduction to Asterisk, Digium’s telephony software, including additional information on its configuration, setup, and features, please refer to:
http://www.asterisk.org
 
For the latest information on setting up and configuring DAHDI drivers for your Digium hardware product, please refer to the latest release of this manual which is available from the product-specific documentation
section at:
http://www.digium.com

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
It is recommended that you use the most recent version of the Asterisk, DAHDI, and libpri software for the best results. If you have previously installed any of these, Digium recommends that you upgrade to the latest version of each.

libpri and DAHDI Installation:
  1. 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

  2. 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: 800B

    A 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.

  3. 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

  4. 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 install

    Note: There is no coorelation between the versioning of libpri and Asterisk. The libpri 1.4 branch will function with the Asterisk 1.8 branch.

  5. 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

  6. 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 config

    Note: Executing 'make config' will install an init script and symlinks which allow you to start and stop DAHDI as a service.

Asterisk Installation:
  1. 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

  2. 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

  3. 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.

  4. Complete instructions for installing Asterisk are available at www.asterisk.org.

Article Details
Asterisk; Cards

 
Knowledgebase Home | Product