Page 3
TBR13 January 1996 EMC: EN 55022:1998 Class B and 47 CFR Part 15, Subpart B Class B, Radiated and Conducted EN 55024:1998 / IEC 61000 Digium, Inc. Page 3 VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299...
Page 4
Federal Communications Commission Part 68 This equipment complies with Part 68 of the FCC rules and the requirements adopted by the ACTA. On the back of your TE120 Series printed circuit board is a label that contains, among other information, a product identifier in the format US:AAAEQ##TXXXX.
Page 5
04DU9-1KN 1.544 Mbps – ESF and B8ZS 04DU9-1SN If you experience problems with the TE120 Series, contact Digium, Inc. Technical Support +1.256.428.6161 for repair and/or warranty information. If the equipment is causing harm to the telephone network, the telephone company may request that you disconnect the equipment until the problem is resolved.
Page 6
Introduction to TE120 Series Documentation This manual contains product information for the TE120 Series of cards (TE120P, TE121, and TE122). Be sure to refer to any supplementary documents or release notes that were shipped with your equipment. The manual is organized in the following manner:...
Page 7
The Electrical Hazard Symbol indicates a possibility of electrical shock when operating this unit in certain situations. To reduce the risk of damage or injury, follow all steps or procedures as instructed. Digium, Inc. Page 7 VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299...
Page 8
To reduce the risk of injury, damage to the unit or your equipment, do not attempt to touch the modules while they are powered. The case should be securely closed before power is applied to the unit. Digium, Inc. Page 8 VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299...
Page 9
Caution. This card is not intended for home use. It must be used in restricted access locations and installed in UL Listed I.T.E. only. Digium, Inc. Page 9 VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299...
Signaling), CCS (Common Channel Signaling), E&M, Primary Rate ISDN (PRI), and several data modes (PPP, HDLC, Cisco HDLC, and frame relay). The TE120 Series cards are capable of running in E1, T1, or J1 modes. Designed to be fully compatible with existing software applications and integrate fully with the Asterisk platform, the TE120 Series cards allow many advanced call features.
Page 15
– Loop Start with Disconnect Detect The TE120 Series cards can be used to connect your Asterisk machine to the PSTN world, your channel bank, or even another PBX. This is accomplished via a T1/E1 interface. The cards allow Asterisk software to connect to your network, creating a professional telephony environment.
Chapter 1: Overview Echo-Cancellation Users connecting their TE120 Series cards to the PSTN or other devices are likely to be placing calls that will result, at some point, in an unbalanced 4-wire/2-wire hybrid. The result of this hybrid is the reflection of a near-end echo to the calling party.
PSTN to the expanding world of IP telephony. Asterisk’s modular architecture allows it to convert between a wide range of communications protocols and media codecs. Digium, Inc. Page 18 VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299...
Asterisk has become the basis for thousands of communications solutions. If you need to communicate, Asterisk is your answer. For more information on Asterisk visit http://www.asterisk.org or http:// www.digium.com. Digium, Inc. Page 19 VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299...
Software Installation on page 29 Installing Asterisk on page 35 Note: The TE120 Series card installation instructions are written so that they will apply to any card in the series. Examples and card specific information are included as needed. Digium, Inc.
If damage is suspected, file a claim with the carrier and contact your reseller from which the card was purchased, or contact Digium Technical Support at 1.256.428.6161. Keep the original shipping container to use for future shipment or proof of damage during shipment.
Identifying Features Your TE120 Series card has one RJ45 port and two status LEDs. The port is used for connecting T1, E1, or J1 cables. The two LEDs serve as a status LED and an amber loop-back LED. The card includes a strap for selecting either T1 or E1 line mode.
PCI Connector Figure 5: TE122 Card with Echo Cancellation Module Caution. Only qualified service personnel should continue with hardware installation and configuration of the TE120 Series card. Non-qualified personnel should not attempt to perform these functions themselves. Digium, Inc. Page 25...
Page 27
3.3 volt or 5.0 volt operation and works in any PCI 2.2 (or greater) compliant slot. This means that in the motherboard shown in Figure 6, the TE120 Series and TE122 cards will fit into Slots 1, 2, or 3 (PCI slots), but will not fit into Slot 0 (AGP slot).
Chapter 2: Card Installation Hardware Installation Now that you are acquainted with the TE120 Series cards, power down your computer and unplug it from its power source. Attach a static strap to your wrist and open the case. Check the jumper setting to ensure it matches your equipment configuration.
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 Digium, Inc. Page 29...
Page 30
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 “-current” version of each.
Page 31
PCI bus: # lspci -n Confirm that the output from lists a device with Digium’s PCI lspci vendor ID which is “d161”. The screen output should be similar to the following: 0000:01:00.0 0200: ISDN controller: Unknown device...
Page 32
8000 TE122 8001 A Digium TE120 Series (TE120P/TE121/TE122) 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.
Page 33
Asterisk. The libpri 1.4 branch will function with the Asterisk 1.6 branch. Download the latest DAHDI drivers with tools. 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 Digium, Inc. Page 33 VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299...
Page 34
# make config Note: Executing ‘make config’ will install an init script and symlinks which will allow you to start and stop DAHDI as a service. Digium, Inc. Page 34 VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299...
1.6.0.1 (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 the X.X and X.X.X in the command lines below.
Page 36
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.
Chapter 3 Configuration The TE120 Series cards have a variety of configuration options. This chapter provides configurations for PRI, channel bank, E&M wink, and finally, data mode. These sample configurations are provided to assist you in familiarizing yourself with the flexibility of editing the configuration files to meet your specific needs.
By default, and when setting to "yes," echo cancellation is enabled and set to 16 ms (128 taps). Echo cancellation is explicitly disabled by setting: echocancel = no Digium does not recommend that users set echo cancellation to "no." Users of open source Asterisk-based echo cancelers also have the following options: echocancel = 128 (this sets 128 taps or 16ms) Digium, Inc.
Page 39
Chapter 3: Configuration echocancel = 256 (this sets 256 taps or 32ms) Users of Digium's HPEC software have the following additional options: echocancel = 512 (this sets 512 taps or 64ms) echocancel = 1024 (this sets 1024 taps or 128ms) Please note that HPEC consumes extremely high amounts of CPU MIPS that increase as the number of taps are increased.
Page 40
E1 channel bank signalling = fxo_ks group = 1 context = phones channel => 1-15,17-31 Note: More detailed troubleshooting information is provided on http:// www.asterisk.org. Digium, Inc. Page 40 VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299...
Number: This is the port the T1/E1 is plugged into. The TE120 Series cards only have one port. If you have a single TE120 Series card installed in the system, you should specify 1 as the span number. Digium, Inc.
Page 42
4: 533-655 feet (DSX-1) 5: -7.5db (CSU) 6: -15db (CSU) 7: -22.5db (CSU) Framing: T1 utilizes framing set for D4 (SF) or ESF. E1 utilizes CAS or CCS. Digium, Inc. Page 42 VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299...
Page 43
You can specify the echo canceller to be used for each channel. The default behavior is for there to be no echo canceller on Digium, Inc. Page 43 VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299...
Page 44
A list of valid echo cancellers are specified in the sample system.conf file. The following is a typical setup for a T1 PRI in the US using software- based echo cancellation: echocanceller = mg2,1-23 Digium, Inc. Page 44 VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299...
Page 49
[*] Wan interfaces support ---> <M> Generic HDLC support <M> Cisco HDLC support Note: Digium recommends using Linux kernel version 2.6.8 or later. The HDLC implementation in Linux kernel versions prior to 2.6.8 may not be reliable or function at all.
Page 50
Assign the interface an address: # ifconfig hdlc0 192.168.0.1 netmask 255.255.255.0 The interface may be addressed as any other networking interface (i.e., eth0) in Linux. Digium, Inc. Page 50 VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299...
Chapter 3: Configuration Testing Your Configuration Load DAHDI drivers into the kernel using the utility. The modprobe appropriate driver for the TE120 Series cards is . Users in all wcte12xp countries except Australia should use the following modprobe command: # modprobe wcte12xp...
Page 52
# dahdi_tool Execute the following Asterisk command to see if the span came up successfully. # asterisk # asterisk -vvvr Digium, Inc. Page 52 VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299...
This chapter provides frequently asked questions as identified from Digium Technical Support and possible resolutions. Multiple resources are available to obtain more information about Asterisk and Digium products. These resources are listed on page 58. What do the Status LED colors indicate? Green - Card is in-sync with the far end.
Page 54
X is the port from which you are connected. This command will show you the PRI messages coming across your D channel for that span. Digium, Inc. Page 54 VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299...
Page 55
Or if you have an E1 span: span => 1,0,0,ccs,hdb3 clear = 1-31 Navigate to the tools/ directory in your DAHDI complete source directory and type: # make tests Followed by: Digium, Inc. Page 55 VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299...
Page 56
This runs a pattern looptest for 60 seconds. If you receive any failures, it is possible you have a bad card and will need to call Digium Technical Support at 1.256.428.6161 How can I enable more features?
Page 57
Use this command to set the drives into UDMA2 mode: hdparm -d 1 -X udma2 -c 3 /dev/[IDE Device] If you are still having problems, contact your reseller from which the card was purchased, or Digium Technical Support at 1.256.428.6161. Digium, Inc. Page 57...
Page 58
Asterisk experts. Pricing on Subscription Services may be obtained from your nearest reseller or you may call Digium Sales for referral to your nearest reseller at +1.256.428.6000 or e-mail sales@digium.com.
Appendix A Pin Assignments The communication port on the TE120 Series card bracket is an 8-pin RJ45 port. The pin assignments are identified in Table A-1. Table A-1: RJ45 Telco Port Connector Description Not used Pin 1 Pin 8 Not used...
Appendix B Specifications This appendix provides specifications, required environmental conditions, and maximum power consumption for the TE120 Series cards. Physical (All Cards). Size: 4.82” × 2.175” × 0.63” (12.2 x 5.5 x 1.6 cm) PCB size, does not include the PCI bracket...
The smallest element of information in a digital system. A bit can be either a zero or a one. bits per second A measurement of transmission speed across a data connection. Digium, Inc. Page 62 VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299...
Page 63
A term for telephone companies established after the Telecommunications Act of 1996 deregulated the LECs. CLECs compete with ILECs to offer local service. See also LEC and ILEC. Digium, Inc. Page 63 VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299...
Page 64
Digium Asterisk Hardware Device Interface A telephony project dedicated to implementing a reasonable and affordable computer telephony platform into the world marketplace. Also, the collective name for the Digium-provided drivers for Digium telephony interface products. Digital Signal, Level 0 A voice grade channel of 64 Kbps. The worldwide standard speed for digitizing voice conversation using PCM (Pulse Code Modulation).
Page 65
Data transmission in two directions simultaneously. Foreign Exchange Office Receives the ringing voltage from an FXS device. Foreign Exchange Station Initiates and sends ringing voltage. Digium, Inc. Page 65 VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299...
Page 66
The native VoIP protocol used by Asterisk. It is an IETF standard used to enable VoIP connections between Asterisk servers, and between servers and clients that also use the IAX protocol. Digium, Inc. Page 66 VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299...
Page 67
Linux. loopback A state in which the transmit signal is reversed back as the receive signal, typically by a far end network element. Digium, Inc. Page 67 VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299...
Page 68
POTS plain old telephone service Standard phone service over the public switched telephone network (PSTN). This service provides analog bandwidth of less than 4 kHz. Digium, Inc. Page 68 VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299...
Page 69
A dedicated digital carrier facility which transmits up to 24 voice channels (DS0s) and transmits data at 1.544 Mbps. Commonly used to carry traffic to and from private business networks and ISPs. Digium, Inc. Page 69 VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299...
Page 70
VoIP Voice over IP Technology used for transmitting voice traffic over a data network using the Internet Protocol. Digium, Inc. Page 70 VoIPon www.voipon.co.uk sales@voipon.co.uk Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299...
Need help?
Do you have a question about the TE120 Series and is the answer not in the manual?
Questions and answers