http://arttel.ru 800 AEX800/T User 601-00008A http://arttel.
Sales: 1. ww ww www.as http://arttel.ru © Digium, Inc. 2009 All rights reserved. No part of this publication may be copied, distributed, transmitted, tran retrieval system, or translated into any human or computer language wit permission of Digium, Inc. Digium, Inc. has made every effort to ensure that the instructions contain are adequate and error free. The manufacturer will, if necessary, expla not be covered by this documentation.
http://arttel.ru CE Mark 2002/95/EC Restrictions on Hazardous Substances (RoHS lead free exemption (Annex C) Telecom: FCC Part 68, ANSI/ITA-968-A, Including Amendment A EMC: FCC Part 15 Class A EN55022/CISPR22 Class A EN55025 IEC 61000 Digium, Inc. http://arttel.
must be provided to the telephone company. http://arttel.ru A plug and jack used to connect this equipment to the pre and telephone network must comply with the applicable F rules and requirements adopted by the ACTA. The REN is used to determine the number of devices that connected to a telephone line.
http://arttel.ru Inc. at 1.877.DIGIUM.1 (1.877.344.4861) for repair and/o information. If the equipment is causing harm to the telep the telephone company may request that you disconnect t until the problem is resolved. Connection to party line service is subject to state tariffs. C public utility commission, public service commission, or commission for information. Federal Communications Commission Part 15 This device complies with Part 15 of FCC rules.
http://arttel.ru Chapter/ Appendix Title Descriptio 1 Overview Identifies the card and type of mo with your 800 Series card. This c applications and uses of the 800 real world. 2 Card Installation Provides instructions for installin PC, acquiring correct drivers, and compatibility. 3 Configuration Provides examples for configurin 4 FXS and FXO Explained Describes the FXO (Foreign Exc FXS (Foreign Exchange Station) significance.
http://arttel.ru precautions for handling devices. Wear a properly g electrostatic discharge (ESD) wrist strap while han The Electrical Hazard Symbol indicates a possibilit shock when operating this unit in certain situations risk of damage or injury, follow all steps or procedu instructed. Digium, Inc. http://arttel.
http://arttel.ru Electrical Shock. To reduce the risk of injury, damage to the unit or you not attempt to touch the modules while they are pow should be securely closed before power is applied to Alarm Dialing Equipment. If your home has specially wired alarm equipment c telephone line, ensure the installation of the 800 Ser disable your alarm equipment. If you have questions telephone company or a qualified installer. Servicing. Do not attempt to service this card unless specifically so.
http://arttel.ru not instructed to do so. Refer servicing to qualified s Save these instructions for future refe Service Personnel Cautions Warning. This card must be used with the PC lid screwed dow Telecommunications network voltages exist inside th The PC must be shut down and telecommunications shall be removed before opening the PC. Electrical Shock.
http://arttel.ru Digium, Inc. http://arttel.
http://arttel.ru What is Asterisk®? . . . . . . . . . . . . . . . . . . . . . . . . . . Asterisk as a Switch (PBX) . . . . . . . . . . . . . . . . . . . . Asterisk as a Gateway . . . . . . . . . . . . . . . . . . . . . . . Asterisk in the Call Center . . . . . . . . . . . . . . . . . . . . Asterisk in the Network . . . . . . . . . . . . . . . . . . . . . . . Asterisk Everywhere . . . . . . . . . . . . . . . . . . . . . . . . . Chapter 2 Card Installation . . . . . . . . . . . . . . . . . . . . . . . . . .
http://arttel.ru Chapter 4 FXS and FXO Explained . . . . . . . . . . . . . . . . . . . . . . . . Identification. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FXS Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FXO Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using Your 800 Series Card . . . . . . . . . . . . . . . . . . . Chapter 5 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Appendix A Pin Assignments . . . . . .
http://arttel.ru Figure 7: Figure 8: Example dmesg Screen Shot . . . . . . . Sample Application . . . . . . . . . . . . . . . Digium, Inc. http://arttel.
http://arttel.ru Digium, Inc. http://arttel.
http://arttel.ru is accomplished through phone lines connected to the FX Exchange Office) ports and phones connected via the FXS Exchange Station) ports. The cards allow Asterisk to conn phone network, creating an office type telephony environ There are a variety of applications where the 800 Series ca or AEX800) can prove useful. An example is provided in figure. Figure 1: Sample Card Application Digium, Inc. http://arttel.
http://arttel.ru The 800 Series cards, unless otherwise equipped, utilize A perform software-based echo cancellation. Asterisk maint of open source echo cancelers. These open source echo ca a moderate level of echo cancellation, but are not capable higher levels of, or more advanced, echoes.
http://arttel.ru for download free of charge. Asterisk is the most popular software available, with the Asterisk Community being th in VoIP. Asterisk as a Switch (PBX) Asterisk can be configured as the core of an IP or hybrid P calls, managing routes, enabling features, and connecting outside world over IP, analog (POTS), and digital (T1/E1 Asterisk runs on a wide variety of operating systems inclu Mac OS X, OpenBSD, FreeBSD, and Sun Solaris.
http://arttel.ru Asterisk in the Call Center Asterisk has been adopted by call centers around the worl flexibility. Call center and contact center developers have ACD systems based on Asterisk.
http://arttel.ru „ „ „ „ „ „ „ „ „ Shipment Inspection on page 21 Module Identification on page 21 Port Identification on page 21 Card Identification on page 25 FXS and FXO Connection on page 27 Slot Compatibility on page 27 Hardware Installation on page 29 Software Installation on page 32 Installing Asterisk on page 36 Digium, Inc. http://arttel.
shipment. http://arttel.ru Note: Only qualified service personnel should install t should not attempt to perform this function themselves must ensure that the equipment is permanently connec pluggable type B or connected to a socket-outlet that ha to ensure that it is reliably earthed in accordance with Electrical Code. This card is intended for installation in a Restrict Location (RAL) only. Digium, Inc. http://arttel.
http://arttel.ru The 800 Series cards ships with FXO and/or FXS modules are identified by their color. Take a moment to identify w were shipped with your card. „ FXO (Foreign Exchange Office) modules are Red „ FXS (Foreign Exchange Station) modules are Green See Figure 2 on page 23 for an example of the TDM800P with two of each single module. See Figure 3 on page 24 for an example of the AEX800 c one of each quad module.
http://arttel.ru The ports available for use depend upon the type of modu placement of the module on the card. The cards can accep modules, for a total of 8 ports. If single modules are used, modules can occupy the same space as a quad module. Th ports are identified on the card and their corresponding R identified below.
2 http://arttel.ru 6 All 8 Ports Available Figure 2: TDM800P Card with Four Single M If a quad module is placed covering single module ports 1 module will use ports 1-4. Likewise, if a quad module is p single module ports 3 and 4, the module will use ports 5 th 3 shows a AEX800 with two quad modules. Digium, Inc. http://arttel.
7 http://arttel.ru 3 4 8 All Ports Available VPMADT032 Cancellation Figure 3: AEX800 Card with Two Quad Mo Digium, Inc. http://arttel.
http://arttel.ru the most common AEX800 configurations. The lists are no rather an example of the configurations available. It is easiest to identify your card by understanding the nam each card.
AEX804B 4 FXO modules AEX808B 8 FXO modules AEX844B 4 FXS and 4 FXO modules AEX880B 8 FXS modules http://arttel.ru Digium, Inc. http://arttel.
Only qualified service personnel should continu hardware installation and configuration of the 8 Users should not attempt to perform these functio http://arttel.ru Slot Compatibility Check the type of card you received to be sure it is compa PCI slot. To determine which slot you have, identify it by those shown in Figure 4 on page 28. Slot Number: 0: AGP Pro Slot 1: 64-bit 5.0 volt PCI Slot 2: 64-bit 3.3 volt PCI Slot 3: 32-bit 5.0 volt PCI Slot 4: PCI Express Slot Digium, Inc. http://arttel.
2 http://arttel.ru 3 4 Figure 4: Motherboard Slots The TDM800 card is a 32-bit 33MHz card keyed for univ 5.0 volt operation and works in any PCI 2.2 (or greater) c This means that in the motherboard shown in Figure 4, the will fit into Slots 1, 2, or 3 (PCI slots), but will not fit into slot) or Slot 4 (PCI Express slot). The AEX800 card is a PCI Express card. Slot 4, illustrate lane (X1) PCI Express compliant slot.
http://arttel.ru Figure 5: Insert the Card 4. If your card has any FXS modules, you will also need power cable from your computer’s power supply to th card. Insert a four-pin 12 volt connector (disk drive p cable, e.g. hard drive) into the white plastic connector the card. See Figure 6. Digium, Inc. http://arttel.
http://arttel.ru Figure 6: Connect Power for FXS Modu Many modern PCs and servers do not have either spare or connectors. If you have FXS modules on your card and yo does not have power cables available, then power must be 800 Series card by an alternate means.
http://arttel.ru device, it is intended only to be used with UL Listed D cards. 5. Replace the cover to your computer. Electrical Shock. To reduce the risk of injury, damage to the unit o equipment, do not attempt to apply power to the case is open.Personal injury or damage to the un if the modules are touched while powered is app 6. Plug all outside phone lines to the FXO (red) ports an phones to the FXS (green) ports as needed using a pa punch block. See Table A-1 on page 57 for the pin as Caution.
http://arttel.ru Digium’s software, including drivers and application softw obtained from Digium’s download server at: http://downloads.digium.com For an introduction to Asterisk, Digium’s telephony softw additional information on its configuration, setup, and fea refer to: http://www.asterisk.org For the latest information on setting up and configuring D for your Digium hardware product, please refer to the late manual which is available from the product-specific docu section at: http://www.digium.
http://arttel.ru ing command to list the devices detected by the PCI b # lspci -n Confirm that the output from lspci lists a device with vendor ID which is “d161”. The screen output should b following: 0000:01:00.0 0200:d161: Note: The output from lspci may or may not state device”. If it does, this does not indicate a problem In the PCI device listing shown above,
http://arttel.ru A Digium 800 Series (TDM800P/AEX800) card ident listed. If a matching card identifier is not listed, then y not PCI 2.2 (or higher) or PCI Express compatible, an not work with your motherboard. 2. Download the latest DAHDI drivers with tools. DAHD for download from: http://downloads.digium.com/pub/telephony/dahdi-lin # wget http://downloads.digium.com/pub/t dahdi-linux-complete/dahdi-linux-complet current.tar.gz Digium, Inc. http://arttel.
http://arttel.ru # make install # make config Note: Executing ‘make config’ will install an init scrip which will allow you to start and stop DAHDI as a ser Digium, Inc. http://arttel.
http://arttel.ru the command below. Asterisk is available for downloa http://downloads.digium.com/pub/telephony/asterisk # wget http://downloads.digium.com/pub/t asterisk/asterisk-X.X-current.tar.gz 2. Expand the downloaded file, compile its contents, and application. Substitute the version of Asterisk for the t 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 Digium, Inc. http://arttel.
http://arttel.ru copy, any older Asterisk configuration files that you ha asterisk directory. If your installation has failed, it may be because you a or more of the build dependencies, the kernel headers, development tools. Please contact your reseller where purchased, or call Digium Technical Support at 1.256. assistance. Complete instructions for installing Asterisk are available www.asterisk.org. Digium, Inc. http://arttel.
http://arttel.ru software to meet your individual needs. Each section expl options as examples. Once you have familiarized yourself samples, you can edit the configuration files to meet your Digium, Inc. http://arttel.
http://arttel.ru your interfaces. The following is a typical setup for a telco in the US: loadzone = us defaultzone = us Digium, Inc. http://arttel.
system.conf: http://arttel.ru fxsks = fxsks uses kewlstart signalling, which is loopstart signalling supervision. For example, a TDM808E card would be confi following: fxsks = 1-8 OR fxsks = 1,2,3,4,5,6,7,8 You should have identified the type of 800 Series card when If you are not sure, refer to Module Identification on pag assistance. Note: The 800 Series cards do not support Ground Digium, Inc. http://arttel.
http://arttel.ru fxoks = 1-8 OR fxoks = 1,2,3,4,5,6,7,8 5. An example TDM844E card configuration would be: fxoks = 1-4 fxsks = 5-8 OR fxoks = 1,2,3,4 fxsks = 5,6,7,8 6. DAHDI uses modular echo cancellers that are configur The echo cancellers are compiled and installed as part linux package. You can specify the echo canceller to b channel. The default behavior is for there to be no ech any channel. So, it is very important that you specify o Digium, Inc. http://arttel.
http://arttel.ru The following is a typical setup using software-based cancellation: echocanceller = mg2,1-8 7. Load DAHDI drivers into the kernel using the modpr appropriate driver for the 800 Series cards is wctdm2 should use the following modprobe command: # modprobe wctdm24xxp # dahdi_cfg -vv # dmesg Note: The 800 Series cards use the same driver as the Digium, Inc. http://arttel.
http://arttel.ru Figure 7: Example dmesg Screen Sh Note: Output as shown above may vary depending on card you use. Digium, Inc. http://arttel.
http://arttel.ru The following is a sample configuration for a TDM844E place this at the bottom of your chan_dahdi.conf file. ;General options usecallerid = yes hidecallerid = no callwaiting = yes threewaycalling = yes transfer = yes echocancel = yes echocancelwhenbridged = yes rxgain = 0.0 txgain = 0.0 ;FXS Modules group = 1 signalling = fxo_ks context = Internal channel = 1-4 ;FXO Modules group = 2 echocancel = yes signalling = fxs_ks context = Incoming Digium, Inc. http://arttel.
http://arttel.ru Users without the VPMADT032 using open source echo included with DAHDI should configure echocancel to the (16ms) or 256 (32ms). Setting "yes" will default the optio Users who have not purchased an 800 Series card with the cancellation module are encouraged to take advantage of Performance Echo Canceler software.
http://arttel.ru In this example, 1234 is the mailbox number, 4242 is the p Spencer is the person’s name, and root@localhost is his You can add extensions by adding the following: 1000 => 1234,Moose Member,moose@digium.com 2000 => 1234,Bill Savage,bsavage@digium.co Digium, Inc. http://arttel.
http://arttel.ru [Internal] exten => 1000,1,Dial(DAHDI/1,20,rt) exten => 1000,2,Voicemail(1000,u) exten => 1000,102,Voicemail(1000,b) exten => 2000,1,Dial(DAHDI/2,20,rt) exten => 2000,2,Voicemail(2000,u) exten => 2000,102,Voicemail(2000,b) exten => 8500,1,VoiceMailMain exten => 8501,1,MusicOnHold exten => _9.,1,Dial(DAHDI/g2/www${EXTEN:1} exten => _9.,2,Congestion [Incoming] exten => s,1,Answer exten => s,2,Dial(DAHDI/g1,20,rt) exten => s,3,Voicemail(1000,u) exten => s,103,Voicemail(1000,b) Digium, Inc.
http://arttel.ru 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 th Test your configuration by placing an outgoing call, p from extension 1 to 2, or receiving an incoming call. completion of these tasks indicates your configuration properly. Digium, Inc. http://arttel.
http://arttel.ru Figure 8: Sample Application Note: More detailed information is provided at the As (www.asterisk.org), as well as the Digium Knowledge (kb.digium.com). You may also obtain assistance by c Digium Technical Support at 1.256.428.6161 or visitin www.digium.com. Digium, Inc. http://arttel.
http://arttel.ru may be purchased. Each configuration consists of one to f FXO modules. These modules are identified by their colo „ FXS - Foreign Exchange Station (Green Modules) „ FXO - Foreign Exchange Office (Red Modules) This chapter provides an in-depth review of the two modu their uses within your Asterisk server.
http://arttel.ru voltage using the FXS module and send it to your analog Digium, Inc. http://arttel.
http://arttel.ru available to obtain more information about Asterisk and D Please visit both www.digium.com and www.asterisk.org information. Digium, Inc. http://arttel.
http://arttel.ru I have echo problems on my FXO modules and I've trie echo cancellation algorithms in dahdi_config.h, tried t gains, and still nothing works. What can I do? Run the fxotune utility with the -i option (fxotune -i 4). It which DAHDI channels are FXO modules and tune them warned however, it takes a significant amount of time for tune. A conservative estimate would be somewhere aroun for each module.
http://arttel.ru 3. You can also adjust the rxgain and the txgain, althou recommended to shift between -5 and 5. How can I enable more features? To view all of the options available to add to your dial pla following commands from within Asterisk: *CLI> core show applications *CLI> core show functions Digium also offers services to help configure and add fea need. Contact Digium Technical Support at 1.877.DIGIU (1.877.344.4861) for more information. Digium, Inc. http://arttel.
http://arttel.ru If the X Window System is running, stop the applicatio cause a conflict with Asterisk. 2. Check to see if your PATA IDE hard drives are runnin levels set. Advance user can perform an hdparm on yo interface. Use hdparm with caution as the man page states t corruption can occur when using incorrect setting review the man page for hdparm and make sure yo the risks before using this tool.
http://arttel.ru Monday - Friday. 2. Asterisk users mailing list (asterisk.org/lists.digium.co 3. IRC channel #asterisk on (irc.freenode.net). Subscription Services Program Digium is dedicated to supporting your Asterisk system b technical support through our Subscription Services Prog this program, you can be at ease knowing that your busine have access to the Asterisk experts. Pricing on Subscriptio be obtained from your nearest reseller or you may call Di referral to your nearest reseller at +1.256.
http://arttel.ru Table A-1: RJ11 Telco Port Connector Pin Desc 1 Not 2 Not Pin 1 3 T Pin 6 4 R 5 Not 6 Not Digium, Inc. http://arttel.
http://arttel.ru cards. Physical (All Cards). Size: Weight: 6.48” × 4.2” × 0.68” (16.46 x 10.67 x 1 PCB size, does not include the PCI brac Check your model carefully to be sure it this PCI card. 4.5 oz (127.58 gm) with no modules loa Each quad module adds 1 oz (28.35 g) Interfaces. Local Loop Access: Industry standard 6-pin RJ-11. (TDM800P) - PCI Bus: 3.3V or 5V bus slot, half-length f card, 33MHz minimum bus speed, compliant with PCI 2.
http://arttel.ru Hardware and Software Requirements. 500-Mhz Pentium III or better 64MB RAM Available PCI or PCI-Express Slot (as described prev Power Consumption. The following table lists the power consumption for both card (and its permutations) and the AEX800 card (and its Note: 3.3 and 5 volt power is taken from the PCI slot. taken only from the four-pin hard disk drive connector PWR2400B. Digium, Inc. http://arttel.
http://arttel.ru 3.3V All AEX “E” models 4.5 W 5.0V All TDM “B” models 1W 5.0V All TDM “E” models 9W 5V All AEX models 0W 12V AEX/TDM804E 0W AEX/TDM808E into 1REN 0W AEX/TDM844E into 2REN 6.5W AEX/TDM840E into 3REN 6.5W AEX/TDM880E into 5REN 13W Digium, Inc. http://arttel.
http://arttel.ru international communications. asynchronous Not synchronized; not timed to an outside clock source. T controlled by start bits at the beginning and stop bits at th character. Asynchronous communications are often found access and remote office applications. attenuation The dissipation of a transmitted signal’s power as it travel bandwidth The capacity to carry traffic. Higher bandwidth indicates transfer more data in a given time period.
http://arttel.ru A generic term for an individual data stream. Service prov multiplexing techniques to transmit multiple channels ove medium. Cat5 Category of Performance for wiring and cabling. Cat 5 ca applications up to 100 MHz. Cat5E Category of Performance for wiring and cabling. Categor wiring supports signal rates up to 100 MHz but adheres to specifications.
http://arttel.ru Terminal equipment which is connected to the telecommu network and which resides within the home or office of the includes telephones, modems, terminals, routers, and tele boxes. DAHDI Digium Asterisk Hardware Device Interface A telephony project dedicated to implementing a reasonab affordable computer telephony platform into the world ma the collective name for the Digium-provided drivers for D telephony interface products. DS0 Digital Signal, Level 0 A voice grade channel of 64 Kbps.
http://arttel.ru E1 The European equivalent of North American T1, transmit Mbps, up to 32 voice channels (DS0s). E3 The European equivalent of North American T3, transmit Mbps, up to 512 voice channels (DS0s). Equivalent to 16 EMI Electromagnetic Interference Unwanted electrical noise present on a power line full duplex Data transmission in two directions simultaneously. FXO Foreign Exchange Office Receives the ringing voltage from an FXS device.
http://arttel.ru (ITU-T) for an algorithm designed to transmit and receive voice and A-law at a digital bit rate of 64 Kbps. This algor digital telephone sets on digital PBX. G.723.1 A recommendation by the Telecommunication Standardiz (ITU-T) for an algorithm designed to transmit and receive telephone lines at 6.3 Kbps or 5.3 Kbps. G.729a A recommendation by the Telecommunication Standardiz (ITU-T) for an algorithm designed to transmit and receive telephone lines at 8 Kbps. H.
http://arttel.ru The LECs that were the original carriers in the market prio competition and therefore have the dominant position in t interface A point of contact between two systems, networks, or dev ISO International Standards Organization LED light-emitting diode Linux A robust, feature-packed open source operating system ba that remains freely available on the internet. It boasts dep offers a wide range of compatibility with hardware and so is supported exclusively on Linux.
http://arttel.ru interleaving bits one after the other. MUX multiplexer A device which transmits multiple signals over a single co line or channel. See multiplexing. PBX private branch exchange A smaller version of a phone company’s large central swi Example: Asterisk. PCI peripheral component interconnect A standard bus used in most computers to connect periph POP point of presence The physical connection point between a network and a te network.
http://arttel.ru PSTN public switched telephone network A communications network which uses telephones to esta connections between two points. Also referred to as the d QoS quality of service A measure of telephone service, as specified by the Public Commission. RJ11 A six-pin jack typically used for connecting telephones, m machines in residential and business settings to PBX or th telephone CO.
http://arttel.ru A dedicated digital carrier facility which consists of 28 T1 transmits data at 44.736 Mbps. Equivalent to 672 voice ch TDM time division multiplexer A device that supports simultaneous transmission of multi into a single high-speed data stream. TDM separates sign interleaving bits one after the other. telco A generic name which refers to the telephone companies world, including RBOCs, LECs, and PTTs.
http://arttel.ru Digium, Inc. http://arttel.