TDM800P User Manual Release 1.01 VoIPon www.voipon.co.uk sales@voipon.co.
© 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.
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 Release 1.01 VoIPon www.voipon.co.uk Digium, Inc. sales@voipon.co.
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.
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.
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 1 Overview 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.
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.
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 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. Alarm Dialing Equipment.
User Cautions 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. Save these instructions for future reference. Service Personnel Cautions Warning.
Service Personnel Cautions 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. Page 10 VoIPon www.voipon.co.uk Digium, Inc. sales@voipon.co.uk Tel: +44 (0)1245 808195 Release 1.
TABLE OF CONTENTS Chapter 1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 What is Asterisk? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16 Chapter 2 Card Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Unpacking the Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Shipment Inspection . . . . . . . . . . . . . . . . . . . . . . . . . .
Table Of Contents Chapter 4 FXS and FXO Explained . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Identification. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 FXS Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37 FXO Module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Chapter 5 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table Of Contents Figure 1: Figure 2: Figure 3: Figure 4: Figure 5: Figure 6: Figure 7: Figure 8: List of Figures Sample Card Application . . . . . . . . . . . . . . . . . . . . . 15 TDM800P Card with Four Single Modules . . . . . . . . 20 TDM800P Card with Two Quad Modules . . . . . . . . . 21 Insert the Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24 Connect Power for FXS Modules . . . . . . . . . . . . . . . 25 lspci Screen Shot . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table Of Contents Page 14 VoIPon www.voipon.co.uk Digium, Inc. sales@voipon.co.uk Tel: +44 (0)1245 808195 Release 1.
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.
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.
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.
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.
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.
Chapter 2: Card Installation Single 1 5 1 6 2 Modules 2 Power 5 Supply 6 Figure 2: TDM800P Card with Four Single Modules All 5 1 6 2 7 3 8 4 Quad Modules Ports Power Available Supply Figure 3: TDM800P Card with Two Quad Modules Page 20 VoIPon www.voipon.co.uk Digium, Inc. sales@voipon.co.uk Tel: +44 (0)1245 808195 Release 1.
Chapter 2: Card Installation Table 1: Example TDM 800P Card Configurations FXO/FXS Ports Card ID TDM801 1 FXO ports TDM802 2 FXO ports TDM803 3 FXO ports TDM804 4 FXO ports TDM820 2 FXS ports TDM822 2 FXS and 2 FXO ports TDM824 2 FXS and 4 FXO ports TDM830 3 FXS TDM840 4 FXS TDM842 4 FXS and 2 FXO ports TDM844 4 FXS and 4 FXO ports Release 1.01 VoIPon www.voipon.co.uk Digium, Inc. sales@voipon.co.
Chapter 2: Card Installation FXS and FXO Connection The TDM800P card provides eight RJ11 connectors for access to the FXS and/or FXO modules installed in the available slots. The diagram in Table A-1 on page 43 provides the pinout for this connector. Caution. Only qualified service personnel should continue with hardware installation and configuration of the TDM800P card. Users should not attempt to perform these functions themselves. Hardware Installation 1.
Chapter 2: Card Installation 4. If your card has any FXS modules, you will also need to connect the power cable from your computer’s power supply to the back of the card. Insert a four-pin 12 volt connector (disk drive power supply cable, e.g. hard drive) into the white plastic connector on the rear of the card. See Figure 5. Figure 5: Connect Power for FXS Modules Many modern PCs and servers do not have spare or any 12V power connectors.
Chapter 2: Card Installation A strap on the PWR2400B card allows the two power cables to take power from the same DC supply. The PWR2400B does not connect to any bus inside the computer. It may be used wherever there is an available PCI-size bracket such as a PCI slot, PCI Express slot, or AGP slot. Note: The PWR2400B is not intended to supply power to any other device, it is intended only to be used with UL Listed Digium TDM 800P or TDM2400P cards. 5. Replace the cover to your computer. Electrical Shock.
Chapter 2: Card Installation Software Installation The card is only supported under Linux. Digium, Inc. recommends Debian, Fedora, and Red Hat, however, all other distributions are supported by Digium Technical Support. Digium hardware requires drivers and libraries that are integrated with the Linux kernel. You can obtain the source code from ftp.digium.com. Detailed instructions are provided in this section. To install your TDM800P card, you will need: Full Linux kernel 2.6 (or later) source code.
Chapter 2: Card Installation 1. Check your lspci PCI device listing. Boot the computer into Linux. After the machine has loaded, log in and execute the following: # lspci Confirm your lspci PCI device listing by scanning for the following information in the output screen: Figure 6: lspci Screen Shot A Digium TDM800P module should be identified. If you do not identify this controller, then your machine is not PCI 2.2 (or higher) compatible and the card will not work with your equipment. 2.
Chapter 2: Card Installation 3. Expand the downloaded tarballs: #tar -zxvf zaptel-1.X.X.tar.gz #cd zaptel-1.X.X #make #make install Note: If you don’t already have configuration files installed, you can type make samples to install the default sample configuration files. 4. Download the latest released version of Asterisk (1.2.15 or later). Asterisk can be downloaded using ftp or http. It is accessible via ftp from ftp://ftp.digum.com/pub/asterisk. It is also accessible via http from http://ftp.digium.
Chapter 2: Card Installation Zaptel Configuration The following steps are necessary for Zaptel configuration: 1. If your card has any red FXO modules, add the following: fxsks This uses kewl start signalling which is loop start with disconnect supervision. For example, a TDM808P card would be configured as the following: fxsks=1,2,3,4,5,6,7,8 Note: You should have identified the type of TDM800P card when you received it. If you are not sure, refer to Module Identification on page 18 for assistance.
Chapter 2: Card Installation 2. If your card has any green FXS modules, add the following: fxoks This uses kewl start signalling which is loop start with disconnect supervision. For example, a TDM880P card would be configured as the following: fxoks=1,2,3,4,5,6,7,8 An example TDM844P card configuration would be: fxoks=1,2,3,4 fxsks=5,6,7,8 3. Set your loadzone and default zone for your country.
Chapter 2: Card Installation 4. Confirm the card configuration by initiating a dmesg command. The example in Figure 7 on page 30 shows a sample of the dmesg screen output for a TDM844P card. The text shown may vary slightly depending on the type of card installed: Figure 7: dmesg Screen Shot Note: You will make changes to the configuration files to set up your dial plan and customize Asterisk to suit your particular needs. These changes are stored in the /etc/zaptel.conf configuration file.
Chapter 3 Configuration This chapter provides sample configurations to demonstrate customizing the Asterisk software to meet your individual needs. Each section explains basic options as examples. Once you have familiarized yourself with the samples, you can edit the configuration files to meet your specific needs. Note: Only qualified service personnel should install the card. Users should not attempt to perform this function themselves. General Options Open the zapata.
Chapter 3: Configuration Group=1 signalling=fxo_ks context=Internal channel=1-2 ;;FXO Modules Group=2 echocancel=yes signalling=fxs_ks context=Incoming channel=3-4 Voicemail Open voicemail.conf and find the following line at the bottom: [default] 1234 => 4242, Mark Spencer, root@localhost In this example, 1234 is the mailbox number, 4242 is the password, Mark Spencer is the person’s name, and root@localhost is his email address.
Chapter 3: Configuration Dial Plan Open extensions.conf, which contains a large, complex sample dial plan. In this step, you will configure a basic dial plan to enable you to send and receive calls.
Chapter 3: Configuration incoming calls over the FXO rings phones 1 and 2, and voicemail is routed to mailbox 1000. Testing Your Configuration 1. Start Asterisk by typing: asterisk 2. Connect to Asterisk and view the output by typing: asterisk -vvvvr 3. Dial tone should be present on phones connected to the FXS ports. Test your configuration by placing an outgoing call, placing a call from extension 1 to 2, or receiving an incoming call.
Chapter 3: Configuration Figure 8: Sample Application Note: More detailed information is provided on troubleshooting in the Asterisk User’s Manual. A copy may be requested by contacting Digium Technical Support at 1.877.LINUX.ME (1.877.546.8963) or visiting the website at www.digium.com. You may also contact your distributor or reseller where the card was purchased for assistance. Release 1.01 VoIPon www.voipon.co.uk Digium, Inc. sales@voipon.co.
Chapter 3: Configuration Page 36 VoIPon www.voipon.co.uk Digium, Inc. sales@voipon.co.uk Tel: +44 (0)1245 808195 Release 1.
Chapter 4 FXS and FXO Explained Identification There are multiple standard configurations in which the TDM800P card may be purchased. Each configuration consists of one to four FXS and/or FXO modules. These modules are identified by their color. FXS - Foreign Exchange Station (Green Modules) FXO - Foreign Exchange Office (Red Modules) This chapter provides an in-depth review of the two module types and their uses within your Asterisk server.
Chapter 4: FXS and FXO Explained phone receiving the call is the last FXO device in the chain. When it receives voltage from an FXS device, the phone rings. Page 38 VoIPon www.voipon.co.uk Digium, Inc. sales@voipon.co.uk Tel: +44 (0)1245 808195 Release 1.
Chapter 5 Troubleshooting 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. Please visit both www.digium.com and www.asterisk.org for more information. The FXO module never seems to hang-up the line. How do I set it to hang-up? Set busydetect=yes and busycount=10 in the zapata.conf for your channels.
Chapter 5: Troubleshooting with the -s flag (fxotune -s) to set the module with the previously discovered values from fxotune.conf for it to take affect, so essentially if each time you reboot the machine you need to run fxotune -s. You might consider putting it in your startup scripts some time after the module loads and before asterisk runs. Note: The digit after the -i option is the digit that will break dialtone on the line. Common Fixes for all cards 1.
Chapter 5: Troubleshooting Use hdparm with caution as the man page states that hard drive corruption can occur when using incorrect settings. Please review the man page for hdparm and make sure you understand the risks before using this tool.
Chapter 5: Troubleshooting To view all of the options available to add to your dial plan, type the following command from within Asterisk: show applications Where can I ask even more questions? There are several places to inquire for more information about Asterisk Digium products: 1. Digium Technical Support at 1.877.LINUX.ME (1.877.546.8963) is available 7am-7pm Central Time (GMT -6), Monday - Friday. 2. Asterisk users mailing list (asterisk.org/lists.digium.com). 3. IRC channel #asterisk on (irc.
Appendix A Pin Assignments All eight ports on the TDM800P bracket are 6-pin RJ11 ports. The pin assignments are identified in Table A-1. Table A-1: RJ11 Telco Port Connector Pin Description 1 Not used 2 Not used Pin 1 3 Tip Pin 6 4 Ring 5 Not used 6 Not used Release 1.01 VoIPon www.voipon.co.uk Digium, Inc. sales@voipon.co.
Appendix A: Pin Assignments Page 44 VoIPon www.voipon.co.uk Digium, Inc. sales@voipon.co.uk Tel: +44 (0)1245 808195 Release 1.
Appendix B Specifications This appendix provides specifications, required environmental conditions, and maximum power consumption for the TDM800P card. Physical. Size: Weight: 6.48” × 4.2” × 0.68” (31.19 x 10.67 x 1.72 cm) PCB size, does not include the PCI bracket or retainer. Check your model carefully to be sure it will accept this PCI card. 4.5 oz (127.58 gm) with no modules loaded Each quad module adds 1 oz (28.35 gm) Interfaces. Local Loop Access: Industry standard 6-pin RJ-11. PCI Bus: 3.
Appendix B: Specifications Humidity: 10 to 90% non-condensing Note: Operating temperature is limited to 0 to 40° C (32 to 104°F) when used with optional PWR2400B Power Bracket Hardware and Software Requirements. 500-Mhz Pentium III or better 64MB RAM Available PCI Slot (as described previously) Table B-2: Maximum Power Consumption Model Power 3.3V All models 1W 5V All models 9W 12V TDM804E 0W TDM808E into 1REN 0W TDM844E into 2REN 6.5W TDM840E into 3REN 6.
Appendix C Glossary and Acronyms ANSI American National Standards Institute An organization which proposes and establishes standards for international communications. asynchronous Not synchronized; not timed to an outside clock source. Transmission is controlled by start bits at the beginning and stop bits at the end of each character. Asynchronous communications are often found in internet access and remote office applications.
Appendix C: Glossary and Acronyms broadband Broadband transmission shares the bandwidth of a particular medium (copper or fiber optic) to integrate multiple signals. The channels take up different frequencies on the cable, integrating voice, data, and video over one line. channel A generic term for an individual data stream. Service providers can use multiplexing techniques to transmit multiple channels over a common medium. Cat5 Category of Performance for wiring and cabling.
Appendix C: Glossary and Acronyms CO central office The CO houses local switching equipment. All local access lines in a particular geographic area terminate at this facility (which is usually owned and operated by an ILEC). CPE customer premises equipment Terminal equipment which is connected to the telecommunications network and which resides within the home or office of the customer. This includes telephones, modems, terminals, routers, and television set-top boxes.
Appendix C: Glossary and Acronyms E1 The European equivalent of North American T1, transmits data at 2.048 Mbps, up to 32 voice channels (DS0s). E3 The European equivalent of North American T3, transmits data at 34.368 Mbps, up to 512 voice channels (DS0s). Equivalent to 16 E1 lines. EMI Electromagnetic Interference Unwanted electrical noise present on a power line full duplex Data transmission in two directions simultaneously.
Appendix C: Glossary and Acronyms G.729 The International Telecommunications Union standard for voice algorithm. H.323 The International Telecommunications Union standard for multimedia communications over packet-based networks. IAX Inter-Asterisk eXchange The protocol used by Asterisk. It is used to enable VoIP connections between Asterisk servers, and between servers and clients that also use the IAX protocol. iLBC internet Low Bitrate Codec A free speech codec used for voice over IP.
Appendix C: Glossary and Acronyms ISO International Standards Organization LED light-emitting diode Linux A robust, feature-packed open source operating system based on Unix that remains freely available on the internet. It boasts dependability and offers a wide range of compatibility with hardware and software. Asterisk runs exclusively on Linux. loopback A state in which the transmit signal is reversed back as the receive signal, typically by a far-end network element.
Appendix C: Glossary and Acronyms PBX private branch exchange A smaller version of a phone company’s large central switching office. Example: Asterisk. PCI peripheral component interconnect A standard bus used in most computers to connect peripheral devices. POP point of presence The physical connection point between a network and a telephone network. A POP is usually a network node serving as the equivalent of a CO to a network service provider or an interexchange carrier.
Appendix C: Glossary and Acronyms RJ11 A six pin jack typically used for connecting telephones, modems, and fax machines in residential and business settings to PBX or the local telephone CO. SIP Session Initiation Protocol An IETF proposed standard for setting up sessions between one or more clients. It is currently the leading signaling protocol for Voice over IP, gradually replacing H.323. T1 A dedicated digital carrier facility which transmits up to 24 voice channels (DS0s) and transmits data at 1.
Appendix C: Glossary and Acronyms tip and ring The standard termination on the two conductors of a telephone circuit; named after the physical appearance of the contact areas on the jack plug. twisted pair Two copper wires commonly used for telephony and data communications. The wires are wrapped loosely around each other to minimize radio frequency interference or interference from other pairs in the same bundle.
Appendix C: Glossary and Acronyms Page 56 VoIPon www.voipon.co.uk Digium, Inc. sales@voipon.co.uk Tel: +44 (0)1245 808195 Release 1.