Digium TDM800P User manual

TDM800P
User Manual
Release 1.01

Page 2 Digium, Inc. Release 1.01
© Digium, Inc. 2006
All rights reserved.
No part of this publication may be copied, distributed, transmitted, transcribed, stored in a
retrieval system, or translated into any human or computer language without the prior written
permission of Digium, Inc.
Digium, Inc. has made every effort to ensure that the instructions contained in this document
are adequate and error free. The manufacturer will, if necessary, explain issues which may
not be covered by this documentation. The manufacturer’s liability for any errors in the
documents is limited to the correction of errors and the aforementioned advisory services.
This document has been prepared for use by professional and properly trained personnel,
and the customer assumes full responsibility when using it.
Adobe and Acrobat are registered trademarks, and Acrobat Reader is a trademark of Adobe
Systems Incorporated.
Asterisk and Digium are registered trademarks and Asterisk Business Edition is a trademark
of Digium, Inc.
Any othertrademarks mentioned in the document are the property of their respective owners.
Digium, Inc.
150 West Park Loop, Suite 100
Huntsville, AL 35806
United States
Main Number: 1.256.428.6000
Tech Support: 1.877.546.8963
Sales: 1.256.428.6262
www.digium.com
www.asterisk.org

Release 1.01 Digium, Inc. Page 3
Safety Certification and Agency Approvals
Safety: US/CSA 60950
IEC 60950
EN 60950
Other:
CE Mark
2002/95/EC Restrictions on Hazardous Substances (RoHS), 2005/747/EC
lead free exemption (Annex C)
Telecom:
FCC Part 68, ANSI/ITA-968-A, Including Amendment A1 and A2
EMC:
FCC Part 15 Class A
EN55022/CISPR22 Class A
EN55025
IEC 61000

Page 4 Digium, Inc. Release 1.01
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 the TDM800P printed
circuit board is a label that contains, among other information, a product
identifier in the format US:AAAEQ##TXXXX. If requested, this number
must be provided to the telephone company.
A plug and jack used to connect this equipment to the premises wiring
and telephone network must comply with the applicable FCC Part 68
rules and requirements adopted by the ACTA.
The REN is used to determine the number of devices that may be
connected to a telephone line. Excessive RENs on a telephone line may
result in the devices not ringing in response to an incoming call. In most
but not all areas, the sum of RENs should not exceed five (5.0). To be
certain of the number of devices that may be connected to a line, as
determined by the total RENs, contact the local telephone company. For
products approved after July 23, 2001, the REN is part of the product
identifier that has the format US:AAAEQ##TXXXX. The digits
represented by ## are the REN without a decimal point (e.g., 03 is a REN
of 0.3).
If the TDM800P causes harm to the telephone network, the telephone
company may notify you in advance that temporary discontinuance of
service may be required. But if advance notice is not practical, the
telephone company will notify you as soon as possible. Also, you will be
advised of your right to file a complaint with the FCC if you believe it is
necessary.

Release 1.01 Digium, Inc. Page 5
The telephone company may make changes in its facilities, equipment,
operations or procedures that could affect the operation of the equipment.
If this happens, the telephone company will provide advance notice in
order for you to make necessary modifications to maintain uninterrupted
service.
If you experience problems with the TDM800P,contact Digium, Inc. at
1.877.LINUX.ME (1.877.546.8963) 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.
Connection to party line service is subject to state tariffs. Contact the state
public utility commission, public service commission, or corporation
commission for information.
Federal Communications Commission Part 15
This device complies with Part 15 of FCC rules. Operation is subject to
the following two conditions: (1) This device may not cause harmful
interference, and (2) This device must accept any interference received,
including interference that may cause undesired operation.
Industry Canada
This Class A digital apparatus meets all requirements of the Canadian
Interference-Causing Equipment Regulation.
Cet appareil numerique de la class A respecte les exigences du Reglement
sur le Material Brouilleur du Canada.

Page 6 Digium, Inc. Release 1.01
Introduction to TDM800P Documentation
This manual contains product information for the TDM800P card. 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:
Chapter/
Appendix Title Description
1Overview Identifies the card and type of modules you received
with the TDM800P. This chapter covers applications
and uses of the TDM800P in the real world.
2Card Installation Provides instructions for installing the card in your
PC, acquiring correct drivers, and checking device
compatibility.
3Configuration Provides examples for configuring dial plan options.
4FXS and FXO
Explained Describes the FXO (Foreign Exchange Office) and
FXS (Foreign Exchange Station) modules and their
significance.
5Troubleshooting Explains resolutions to common problems and
frequently asked questions pertaining to card
installation and usage.
APin Assignments Lists the connectors and pin assignments.
BSpecifications Details card specifications.
CGlossary and
Acronyms A list of terms and acronyms used throughout this
manual.

Release 1.01 Digium, Inc. Page 7
Symbol Definitions
Caution statements indicate a condition where damage to the unit or
its configuration could occur if operational procedures are not
followed. To reduce the risk of damage or injury, follow all steps or
procedures as instructed.
The ESD symbol indicates electrostatic sensitive devices. Observe
precautions for handling devices. Wear a properly grounded
electrostatic discharge (ESD) wrist strap while handling the device.
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.

Page 8 Digium, Inc. Release 1.01
Important Safety Instructions
User Cautions
Warning
This card must be used with the PC lid screwed down.
Telecommunications network voltages exist inside the PC!
The PC must be shut down and telecommunications line connection
shall be removed before opening the PC.
Electrical Shock.
To reduce the risk ofinjury, 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.
Alarm Dialing Equipment.
If your home has specially wired alarm equipment connected to the
telephone line, ensure the installation of the TDM800P does not
disable your alarm equipment. If you have questions, consult your
telephone company or a qualified installer.
Servicing.
Do not attempt to service this card unless specifically instructed to do
so. Do not attempt to remove the card from your equipment while
power is present. Refer servicing to qualified service personnel.
Water and Moisture.
Do not spill liquids on this unit. Do not operate this equipment in a
wet environment.
Heat.
Do not operate or store this product near heat sources such as
radiators, air ducts, areas subject to direct, intense sunlight, or other
products that produce heat.
Caution.
To reduce the risk of fire, use only No. 26 AWG or larger
telecommunication wiring for network connections.

Release 1.01 Digium, Inc. Page 9
Save these instructions for future reference.
Caution.
This card is not intended for home use. It must be used in restrict4ed
access locations and installed in UL Listed I.T.E. only.
Static Electricity.
To reduce the risk of damaging the unit or your equipment, do not
attempt to open the enclosure or gain access to areas where you are
not instructed to do so. Refer servicing to qualified service personnel.
Service Personnel Cautions
Warning.
This card must be used with the PC lid screwed down.
Telecommunications network voltages exist inside the PC!
The PC must be shut down and telecommunications line connection
shall be removed before opening the PC.
Electrical Shock.
To reduce the risk ofinjury, 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.
Servicing.
Disconnect telecommunications network cable before opening the
cover or removing the card from the mother equipment
Labeling.
For safety reasons, only connect equipment with a
Telecommunications Compliance label. This includes customer
equipment previously labelled Permitted or Certified
Caution.
Only connect regulatory equipment (approved for use in your specific
country) to the telecommunications network voltage circuit ports.
User Cautions

Page 10 Digium, Inc. Release 1.01
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.
Service Personnel Cautions

Release 1.01 Digium, Inc. Page 11
TABLE OFCONTENTS
Chapter 1
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
What is Asterisk?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
Chapter 2
Card Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
Unpacking the Card. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
Shipment Inspection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
Module Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
Port Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
FXS and FXO Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
Hardware Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
Software Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
Chapter 3
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
General Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
Voicemail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32
Dial Plan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
Testing Your Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34

Page 12 Digium, Inc. Release 1.01
Table Of Contents
Chapter 4
FXS and FXO Explained . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37
Identification. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37
FXS Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37
FXO Module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37
Chapter 5
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39
The FXO module never seems to hang-up the line. How do I set it to
hang-up? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39
I have echo problems on my FXO modules and I've tried the different
solutions and still nothing works. What can I do? . . . . . . . . . . . . . .39
Common Fixes for all cards. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40
There is a slight echo. How can I adjust the sound quality? . . . . . .41
How can I enable more features? . . . . . . . . . . . . . . . . . . . . . . . . . .41
Where can I ask even more questions? . . . . . . . . . . . . . . . . . . . . .42
Maintenance Support Program . . . . . . . . . . . . . . . . . . . . . . . . . . . .42
Appendix A
Pin Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43
Appendix B
Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45
Appendix C
Glossary and Acronyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47

Release 1.01 Digium, Inc. Page 13
Table Of Contents
List of Figures
Figure 1: Sample Card Application . . . . . . . . . . . . . . . . . . . . .15
Figure 2: TDM800P Card with Four Single Modules . . . . . . . .20
Figure 3: TDM800P Card with Two Quad Modules . . . . . . . . .21
Figure 4: Insert the Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
Figure 5: Connect Power for FXS Modules . . . . . . . . . . . . . . .25
Figure 6: lspci Screen Shot . . . . . . . . . . . . . . . . . . . . . . . . . . .28
Figure 7: dmesg Screen Shot . . . . . . . . . . . . . . . . . . . . . . . . .32
Figure 8: Sample Application . . . . . . . . . . . . . . . . . . . . . . . . . .37
List of Tables
Table 1: Example TDM 800P Card Configurations . . . . . . . . 23
Table A-1: RJ11 Telco Port Connector . . . . . . . . . . . . . . . . . . . .47

Page 14 Digium, Inc. Release 1.01
Table Of Contents

Release 1.01 Digium, Inc. Page 15
Chapter 1
Overview
The TDM800P card is a versatile device used for connecting your phone
network to the PSTN (Public Switched Telephone Network) world. This
is accomplished through phone lines connected to the FXO (Foreign
Exchange Office) ports and phones connected via the FXS (Foreign
Exchange Station) ports. The card allows Asterisk PBX software to
connect to your phone network, creating an office type telephony
environment. There are a variety of applications where the TDM800P
proves useful. An example is provided in the following figure.
Figure 1: Sample Card Application

Page 16 Digium, Inc. Release 1.01
Chapter 1: Overview
What is Asterisk?
Asterisk is the first Open Source PBX. Since it runs on Linux, it inherits
all of the power and stability of the operating system. The name Asterisk
is derived from the all-inclusive “wildcard” symbol in UNIX, because it
is opening a wide range of opportunities for developers worldwide to
create solutions which would otherwise be cost-prohibitive.
Asterisk allows you to create a PBX solution that rivals the features and
functionality of traditional telephony switches. Current PBX solutions are
expensive and proprietary. International companies are discovering that
Asterisk is cost effective, low maintenance, and flexible enough to handle
all of their voice and data networking. Combined with Digium hardware
and a common PC, anyone can replace an existing switch or complement
a PBX by adding VoIP, voicemail, conferencing, and many other
capabilities. Asterisk will integrate with most standards-based IP
telephone handsets and software. Analog phones and ADSI-screen
phones are also supported.

Release 1.01 Digium, Inc. Page 17
Chapter 2
Card Installation
This chapter provides the following information:
Unpacking the Card on page 17
Shipment Inspection on page 18
Module Identification on page 18
FXS and FXO Connection on page 22
Hardware Installation on page 22
Software Installation on page 25
Unpacking the Card
When you unpack your card, carefully inspect it for any damage that may
have occurred in shipment. If damage is suspected, file a claim with the
carrier and contact your reseller from which the card was purchased, or
Digium Technical Support at 1.877.LINUX.ME (1.877.546.8963). Keep
the original shipping container to use for future shipment or proof of
damage during shipment.
Note: Only qualified service personnel should install the card. Users should not
attempt to perform this function themselves. The installer must ensure that the
equipment is permanently connected equipment, pluggable type B or connected
to a socket-outlet that has been checked to ensure that it is reliably earthed in
accordance with the National Electrical Code.
This card is intended for installation in a Restricted Access
Location (RAL) only.

Page 18 Digium, Inc. Release 1.01
Chapter 2: Card Installation
Shipment Inspection
The following items are included in shipment of the TDM800P:
TDM800P card
A combination of FXO and/or FXS modules
User manual
Module Identification
The TDM800P card ships with FXO and/or FXS modules in place. These
are identified by their color. Take a moment to identify which modules
were shipped with your card.
FXO (Foreign Exchange Office) modules are Red
FXS (Foreign Exchange Station) modules are Green
See Figure 2 on page 20 for an example of the card shown with one of
each quad module.
Port Identification
Each card consists of eight RJ11 ports located on the bracket. Each port
correlates to a single module port (containing either FXO or FXS
modules). The ports are numbered in sequence from one to eight. The top
port is Port 1 and the bottom port is Port 8. See Figure 2 on page 20 for
appropriate identification of these ports.
Note: It is important to identify the type and location of your TDM800P modules.
You will need this information during the Asterisk configuration.

Release 1.01 Digium, Inc. Page 19
Chapter 2: Card Installation
The ports available for use on the TDM800P are not continuous. The
ports available for use depend upon the type of module used, and the
placement of the module on the card. The TDM800P can accept 2 quad
modules, for a total of 8 ports. If single modules are used, only 2 single
modules can occupy the same space as a quad module. The single
module ports are identified on the card and their corresponding RJ11 ports
are identified below. Please refer to Figure 2 for an example using single
modules, and Figure 3 for an example using quad modules.
If a single module is used, the RJ11 port available for use will be the port
corresponding to the location of the module on the card. The following
ports correspond to the single module ports as shown in Figure 2.
RJ11 Port 1 is used by Single Module Port 1
RJ11 Port 2 is used by Single Module Port 2
RJ11 Port 5 is used by Single Module Port 5
RJ11 Port 6 is used by Single Module Port 6
If a quad module is placed covering single module ports 1 and 2, then that
module will use ports 1-4. Likewise, if a quad module is placed covering
single module ports 3 and 4, the module will use ports 5 through 8. Figure
3 shows a TDM800P with two quad modules.
There are multiple configurations in which the TDM800P card may be
purchased. Each configuration consists of a combination of single
modules, quad modules, or both. See Table 1 on page 21 for a complete
list of possible configurations.
It is easiest to identify your card by understanding the naming scheme for
each card. The second digit provides the number of FXS modules present
on the card. The third digit provides the number of FXO modules present
on the card. See Table 1 on page 21 for a complete list of possible
configurations.

Page 20 Digium, Inc. Release 1.01
Chapter 2: Card Installation
Figure 2: TDM800P Card with Four Single Modules
Figure 3: TDM800P Card with Two Quad Modules
Single
Modules
Power
Supply
1
2
5
6
1
2
5
6
Quad
Modules
Power
Supply
All
Ports
Available
1
2
3
4
5
6
7
8
Table of contents
Other Digium PCI Card manuals