background image

Page 38

Digium, Inc.

Release 1.0

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.

Using Your TDM400P Card

Connect the outside line to an FXO port on your Asterisk server to receive 
voltage from the outside lines.

Connect the phones to FXS ports on your Asterisk server. When the FXO 
module in your Asterisk Server receives the voltage, it will then generate 
voltage using the FXS module and send it to your analog phone.

Summary of Contents for TDM400P

Page 1: ...TDM400P User s Manual June 28 2005 Release 1 0...

Page 2: ...umentation 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 profe...

Page 3: ...al Cisper 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 TDM400P printed circuit board is a...

Page 4: ...nce 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...

Page 5: ...lation Provides instructions for installing the card in your PC acquiring correct drivers and checking device compatibility 3 Configuration Provides examples for configuring dial plan options 4 FXS an...

Page 6: ...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 indica...

Page 7: ...of the TDM400P 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 in...

Page 8: ...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...

Page 9: ...n 15 Unpacking the Card 15 Shipment Inspection 16 Module Identification 16 Port Identification 16 Hardware Installation 20 Software Installation 22 Chapter 3 Configuration 31 General Options 31 Voicem...

Page 10: ...on the line poor sound quality and random hang ups How can I solve this 39 There is a slight echo How can I adjust the sound quality 40 How can I enable more features 40 Where can I ask even more ques...

Page 11: ...rt the Card 21 Figure 4 Connect Power for FXS Modules 21 Figure 5 Checking PCI Compatibility Screen 24 Figure 6 dmesg Screen Shot 28 Figure 7 Sample Application 35 Figure 8 Actual Label on Card 45 Fig...

Page 12: ...Page 12 Digium Inc Release 1 0 Table Of Contents...

Page 13: ...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...

Page 14: ...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 th...

Page 15: ...acking 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 where th...

Page 16: ...nge Office modules are Red FXS Foreign Exchange Station modules are Green See Figure 2 on page 18 for an example of the card shown with two of each module Port Identification Each card consists of fou...

Page 17: ...iguration consists of one to four FXS and or FXO modules It is easiest to identify your card by understanding the naming scheme for each card The first digit provides the number of FXS modules present...

Page 18: ...Page 18 Digium Inc Release 1 0 Chapter 2 Card Installation Figure 2 TDM400P Card Model TDM22 FXS Modules Green FXO Modules Red Power Supply Connection Ports 1 2 3 4 4 1 2 3 Module Slots...

Page 19: ...M20 2 FXS modules TDM30 3 FXS modules TDM40 4 FXS modules TDM01 1 FXO module TDM02 2 FXO modules TDM03 3 FXO modules TDM04 4 FXO modules TDM11 1 FXS module and 1 FXO module TDM22 2 FXS modules and 2 F...

Page 20: ...card The second digit provides the number of FXO modules present on the card Hardware Installation 1 Now that you are acquainted with your card power down your com puter and unplug it from its power s...

Page 21: ...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 in...

Page 22: ...the Linux kernel You can obtain the source code from ftp digium com or cvs digium com Electrical Shock To reduce the risk of injury damage to the unit or your equipment do not attempt to apply power...

Page 23: ...lib libedit and openssl development libraries and headers 1 Check the PCI bus compatibility Boot the computer into Linux After the machine is loaded log in and execute the following lspci You will see...

Page 24: ...tion Figure 5 Checking PCI Compatibility Screen A Tiger Jet or Jens Shoenfeld device should be identified If you do not see either of these your machine is not PCI 2 2 compatible or higher and the car...

Page 25: ...s This will create the following directories zaptel libpri and asterisk Complete instructions for installing Asterisk is available at www asterisk org 3 Install the zaptel drivers Compiling the direct...

Page 26: ...stance 4 Load Zaptel drivers into the kernel using the program modprobe The appropriate driver for the TDM400P card is wctdm Users in all countries except Australia should use the following modprobe c...

Page 27: ...ing fxsks 1 2 3 4 Note You should have identified the type of TDM400P card when you received it If you are not sure refer to Module Identification on page 16 for assistance 7 If your card has any gree...

Page 28: ...nfiguration from US to your own two letter country abbreviation Save the file and return to the command line modprobe wctdm ztcfg vv 9 Confirm the card configuration by initiating a dmesg command The...

Page 29: ...usr src libpri make install cd usr src asterisk make make install make samples Note This step installs sample configuration files which are necessary for Asterisk You will make changes to these confi...

Page 30: ...Page 30 Digium Inc Release 1 0 Chapter 2 Card Installation...

Page 31: ...e available options for configuring the zapata conf file are explained in Appendix C Asterisk Configuration Commands page 51 Note Only qualified service personnel should install the card Users should...

Page 32: ..._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 i...

Page 33: ...000 exten 1000 102 Voicemail b1000 exten 2000 1 Dial zap 2 20 rt exten 2000 2 Voicemail u2000 exten 2000 102 Voicemail b2000 exten 8500 1 VoiceMailMain exten 8501 1 MusicOnHold exten _9 1 Dial zap g2...

Page 34: ...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 placi...

Page 35: ...information is provided on troubleshooting in the Asterisk User s Manual A copy may be requested by contacting Digium Technical Support 877 546 8963 or 1 877 LINUXME or visiting the website at www dig...

Page 36: ...Page 36 Digium Inc Release 1 0 Chapter 3 Configuration...

Page 37: ...n depth review of the two module types and their uses within your Asterisk server Note Only qualified service personnel should install the card Users should not attempt to perform this function themse...

Page 38: ...S device the phone rings Using Your TDM400P Card Connect the outside line to an FXO port on your Asterisk server to receive voltage from the outside lines Connect the phones to FXS ports on your Aster...

Page 39: ...the zapata conf for your channels This will cause the line to hang up by listening for the busy tone Upon editing zapata conf you will need to restart Asterisk My card is acting strange There is stati...

Page 40: ...Each involves editing the zapata conf file Be sure to restart Asterisk upon completion 1 Adjust echocancel yes to one of the following values 32 64 128 or 256 2 You can also set echotraining yes 3 Yo...

Page 41: ...everal places to inquire for more information about Asterisk Digium products 1 Digium Technical Support 877 546 8963 or 1 877 LINUXME is available 8am 6pm Central Time Monday Friday 2 Asterisk forums...

Page 42: ...Page 42 Digium Inc Release 1 0 Chapter 5 Troubleshooting...

Page 43: ...xternal PC on page 45 Caution Only qualified service personnel should install the card Users should not attempt to perform this function themselves Caution Only connect regulatory equipment approved f...

Page 44: ...ter 2 Card Installation for instructions on identifying the type of card you have and the modules For FXS modules identify the corresponding port with PHONE For FXO modules identify the corresponding...

Page 45: ...the installer in indelible and clear markings These labels can be created by the distributor or installer or can be obtained upon request from Digium Technical Support 877 546 8963 or 1 877 LINUXME A...

Page 46: ...Service Personnel Requisites WARNING SHUT DOWN THE PC AND DISCONNECT FROM TELEPHONE LINE BEFORE OPENING THE COVER CAUTION ONLY CONNECT APPROVED EQUIPMENT TO THE TELECOMMUNICATIONS NETWORK VOLTAGE CIRC...

Page 47: ...in Assignments All four ports on the TDM400P 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 3 Ti...

Page 48: ...Page 48 Digium Inc Release 1 0 Appendix A Pin Assignments...

Page 49: ...PCI bracket Weight 1 06 oz 30 gm with no modules loaded Each module adds 0 058 oz 1 6 gm Interfaces Local Loop Access RJ11 PCI Bus 3 3V or 5V bus slot half length slot minimum size 33MHz minimum bus s...

Page 50: ...Available PCI Slot as described previously Note 3 3 and 5 volt power is taken from the PCI slot 12 volt power is taken only from the four pin hard disk drive connector Table B 1 Maximum Power Consump...

Page 51: ...tion The following lists the command description and the available options adsi ADSI Analog Display Services Interface can be enabled on a per channel basis if you have or may have ADSI compatible CPE...

Page 52: ...pgroup Supports ring groups a k a call groups and pickup groups If a phone is ringing and it is a member of a group which is one of your pickup groups then you can answer it by picking up and dialing...

Page 53: ...call parking yes no cidsignalling Type of caller ID signalling in use bell bell202 US v23 v23 UK dtmf DTMF Denmark Sweden Netherlands cidstart Identifies what signals the start of caller ID ring a rin...

Page 54: ...mute the channel send an impulse and use the impulse response to pre train the echo canceller so it can start out with a much closer idea of the actual echo Value may be yes no or a number of millisec...

Page 55: ...dialtone If a mailbox is specified without a voicemail context then when message is received taking the phone off hook will cause a stutter dialtone instead of a normal dialtone If a mailbox is specif...

Page 56: ...sendcalleridafter Some countries have ring tones with a set of cadences which differ from the default e g UK uses ring ring This requires the callerid to be set with a delay and not right after the f...

Page 57: ...Release 1 0 Digium Inc Page 57 Appendix C Asterisk Configuration Commands yes no usedistinctiveringdetection Indicates whether or not to allow distinctive ring detection on FXO lines yes no...

Page 58: ...Page 58 Digium Inc Release 1 0 Appendix C Asterisk Configuration Commands...

Page 59: ...le controls how all calls are handled and routed To change any of the following options edit the extensions conf file saving the file upon completion The following defines each feature AgentCallbackLo...

Page 60: ...t channel Directory Provide directory of voicemail extensions DISA DISA Direct Inward System Access Goto Go to a particular priority extension or context GotoIf Conditional goto GotoIfTime Conditional...

Page 61: ...Queue a call for a call queue Record Record to a file SetCallerID Set CallerID SetCallerPres Set CallerID presentation SetCIDName Set CallerID name SetCIDNum Set CallerID number VoiceMail Leave a voi...

Page 62: ...Page 62 Digium Inc Release 1 0 Appendix D Dial Plan Applications...

Page 63: ...nd stop bits at the end of each character Asynchronous communications are often found in internet access and remote office applications attenuation The dissipation of a transmitted signal s power as i...

Page 64: ...rs can use multiplexing techniques to transmit multiple channels over a common medium Cat5 Category of Performance for wiring and cabling Cat 5 cabling support applications up to 100 MHz Cat5E Categor...

Page 65: ...cludes telephones modems terminals routers and television set top boxes DS0 Digital Signal Level 0 A voice grade channel of 64 Kbps The worldwide standard speed for digitizing voice conversation using...

Page 66: ...a power line full duplex Data transmission in two directions simultaneously FXO Foreign Exchange Office Receives the ringing voltage from an FXS device Outside lines are connected to the FXO port on y...

Page 67: ...ctions 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 It is designed for narrow band...

Page 68: ...tate in which the transmit signal is reversed back as the receive signal typically by a far end network element MGCP Media Gateway Control Protocol multiplexing Transmitting multiple signals over a si...

Page 69: ...to a network service provider or an interexchange carrier POTS plain old telephone service Standard phone service over the public switched telephone network PSTN This service provides analog bandwidt...

Page 70: ...gital 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 T3 A dedicated digita...

Page 71: ...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 int...

Page 72: ...Page 72 Digium Inc Release 1 0 Appendix E Glossary and Acronyms...

Reviews: