background image

Digium, Inc.

Page 50

Chapter 3: Configuration

3.

Reboot into the new Linux kernel.

4.

Uncomment the following line in 

linux/drivers/dahdi/

dahdi_config.h

 of the DAHDI complete source package:

#define CONFIG_DAHDI_NET

5.

Rebuild DAHDI in order to compile the 

sethdlc

 utility. Then execute 

the following commands from the DAHDI complete source directory:

# make sethdlc

# make install

6.

Load and configure the driver:

# modprobe wcte12xp

# dahdi_cfg

7.

Use 

sethdlc

 to bring up the interface:

# sethdlc hdlc0 cisco

8.

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.

VoIPon   www.voipon.co.uk   [email protected]   Tel: +44 (0)1245 808195   Fax: +44 (0)1245 808299

Содержание Asterisk TE120P

Страница 1: ...TE120 Series TE120P TE121 TE122 User Manual 601 00010 Rev C VoIPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299...

Страница 2: ...Digium Inc Page 2 VoIPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245 808299...

Страница 3: ...this product must be located in a Restricted Access Location RAL Telecom FCC Part 68 ANSI ITA 968 A Including Amendment A1 and A2 Industry Canada CS 03 AS ACIF S016 2001 AS ACIF S038 2001 TBR4 Novembe...

Страница 4: ...ACTA If your TE120 Series card 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 n...

Страница 5: ...g 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 Comp...

Страница 6: ...TE120 Series card in the real world 2 Card Installation Provides instructions for installing the card in your PC acquiring correct drivers and checking device compatibility 3 Configuration Provides i...

Страница 7: ...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 Haza...

Страница 8: ...duce heat 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 servicin...

Страница 9: ...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 por...

Страница 10: ...n the Network 19 Asterisk Everywhere 19 Chapter 2 Card Installation 20 Unpacking the Card 21 Shipment Inspection 22 Identifying Features 22 T1 E1 Selection 22 Slot Compatibility 26 Hardware Installati...

Страница 11: ...E1 Lines 41 Testing Your Configuration 51 Chapter 4 Troubleshooting 53 Appendix A Pin Assignments 59 Appendix B Specifications 60 Appendix C Glossary and Acronyms 62 VoIPon www voipon co uk sales voi...

Страница 12: ...ion 16 Figure 3 TE120P Card 23 Figure 4 TE121 Card with Echo Cancellation Module 24 Figure 5 TE122 Card with Echo Cancellation Module 25 Figure 6 Motherboard Slots 26 Figure 7 Insert the Card 28 Figur...

Страница 13: ...age 13 List of Tables Table 1 Card Identifiers 32 Table A 1 RJ45 Telco Port Connector 59 Table B 2 Maximum Power Consumption 61 VoIPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0...

Страница 14: ...aling 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 exist...

Страница 15: ...etect 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 so...

Страница 16: ...e Application Figure 2 Sample IP Phone Application Remoteoffices Internet TE12X Asterisk Server Legacy PBX T1 Legacy Phones Eth LAN TE12X T 1 Asterisk Server Switch IP Phones CLEC VoIPon www voipon co...

Страница 17: ...Digium recommends that those users concerned about echo cancellation purchase the VPMADT032 hardware echo cancellation module The VPMADT032 may be combined with both the TE121 and TE122 cards it may n...

Страница 18: ...ith the outside world over IP analog POTS and digital T1 E1 connections Asterisk runs on a wide variety of operating systems including Linux Mac OS X OpenBSD FreeBSD and Sun Solaris It provides all of...

Страница 19: ...ng call center solutions by adding remote IP agent capabilities advanced skills based routing predictive and bulk dialing and more Asterisk in the Network Internet Telephony Service Providers ITSPs co...

Страница 20: ...n on page 22 Slot Compatibility on page 26 Hardware Installation on page 28 Software Installation on page 29 Installing Asterisk on page 35 Note The TE120 Series card installation instructions are wri...

Страница 21: ...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...

Страница 22: ...1 line mode See Figure 3 on page 23 to locate these features The TE121 and TE122 cards may also be combined with Digium s hardware based echo canceler model VPMADT032 See Figure 4 on page 24 for an ex...

Страница 23: ...nc Page 23 Chapter 2 Card Installation Figure 3 TE120P Card Port 1 PCI Connector T1 E1 Jumper Status LED Loopback Mode LED VoIPon www voipon co uk sales voipon co uk Tel 44 0 1245 808195 Fax 44 0 1245...

Страница 24: ...r 2 Card Installation Figure 4 TE121 Card with Echo Cancellation Module Status LED Loopback Mode LED VPMADT032 Port 1 PCI Express Connector VoIPon www voipon co uk sales voipon co uk Tel 44 0 1245 808...

Страница 25: ...ce personnel should continue with hardware installation and configuration of the TE120 Series card Non qualified personnel should not attempt to perform these functions themselves Status LED Loopback...

Страница 26: ...etermine which slot you have identify it by comparing it to those shown in Figure 6 on page 26 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 Sl...

Страница 27: ...it into Slots 1 2 or 3 PCI slots but will not fit into Slot 0 AGP slot The TE121 card is a PCI Express card Slot 4 illustrated above is a 1 lane X1 PCI Express compliant slot The TE121 will work in an...

Страница 28: ...to ensure it matches your equipment configuration Setting the jumper with the jumper strap on enables the ports for E1 Setting the jumper with the jumper strap off enables the ports for T1 4 Remove t...

Страница 29: ...or an introduction to Asterisk Digium s telephony software including additional information on its configuration setup and features please refer to http www asterisk org For the latest information on...

Страница 30: ...ies and headers for newt GCC and standard software build tools It is recommended that you use the most recent version of the Asterisk DAHDI and libpri software for the best results If you have previou...

Страница 31: ...ID which is d161 The screen output should be similar to the following 0000 01 00 0 0200 ISDN controller Unknown device d161 card identifier Note The output from lspci may or may not state Unknown devi...

Страница 32: ...t version of libpri Substitute the version of libpri for the X X in the command line below libpri is available for download from http downloads digium com pub telephony libpri wget http downloads digi...

Страница 33: ...terisk The libpri 1 4 branch will function with the Asterisk 1 6 branch 5 Download the latest DAHDI drivers with tools DAHDI is available for download from http downloads digium com pub telephony dahd...

Страница 34: ...for the X X X in the command lines below tar zxvf dahdi linux complete current tar gz cd dahdi linux complete X X X X X X make make install make config Note Executing make config will install an init...

Страница 35: ...terisk 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 2 Expand the downloaded file co...

Страница 36: ...iles that you have in the etc asterisk directory 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 Ple...

Страница 37: ...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 The...

Страница 38: ...el Echo Cancellation is enabled in chan_dahdi conf by preceding the channel variable with a variable called echocancel and its length in taps of milliseconds multiplied by 8 for example echocancel yes...

Страница 39: ...ber of taps are increased Audio quality issues may result from choosing a taps length greater than the server s ability to process the echo in real time If audio quality is affected reduce the taps le...

Страница 40: ...nnel 1 23 E1 PRI signalling pri_cpe switchtype euroisdn context incoming channel 1 15 17 31 You can also configure a T1 channel bank of phones signalling fxo_ks group 1 context phones channel 1 24 E1...

Страница 41: ...ltzone us 3 Configure the SPAN Map You will need to define a span The SPAN map includes defining the SPAN number timing line build out framing and coding Configuration details for each of these items...

Страница 42: ...backup timing from remote end Only one span can be defined to take timing and it defines timing for the rest of the card s spans Line Build Out For most setups the line build out is 0 0 0 db CSU 0 133...

Страница 43: ...ccs hdb3 4 Specify the channel definitions The format is device channel list A list of valid devices are specified in the sample system conf file The following is a typical setup for a T1 PRI in the...

Страница 44: ...s and need echo cancellation The format is echocanceller echocanceller name channel s A list of valid echo cancellers are specified in the sample system conf file The following is a typical setup for...

Страница 45: ...xoks is set for 24 stations Set chan_dahdi conf to mirror the configuration with signalling fxo_ks and define it for channels 1 24 etc dahdi system conf loadzone us defaultzone us span 1 0 0 esf b8zs...

Страница 46: ...s the configuration Feat_D is a type of E M with wink that accepts DID but there are many E M options E M_W E M Feat_B etc etc dahdi system conf loadzone us defaultzone us span 1 1 0 esf b8zs e m 1 24...

Страница 47: ...pri_cpe as the signalling type to act as the client side Define the switch type you are connecting to as national You will then have 23 voice channels for Asterisk PRI T1 etc dahdi system conf loadzo...

Страница 48: ...one es span 1 1 0 ccs hdb bchan 1 15 17 31 dchan 16 echocanceller mg2 1 15 17 31 etc asterisk chan_dahdi conf group 1 echocancel yes signalling pri_cpe switchtype euroisdn context incoming channel 1 1...

Страница 49: ...isco HDLC support The Linux kernel menuconfig menu may look similar to the following Device Drivers Network device support Wan interfaces support M Generic HDLC support M Cisco HDLC support Note Digiu...

Страница 50: ...execute the following commands from the DAHDI complete source directory make sethdlc make install 6 Load and configure the driver modprobe wcte12xp dahdi_cfg 7 Use sethdlc to bring up the interface se...

Страница 51: ...n the TE120 Series card you use ACPI PCI interrupt 0000 01 00 0 A GSI 21 level low IRQ 209 PCI Config reg is 02900117 wcte120p New Reg fe590000 Detected REG0 00000100 Detected REG1 00007849 Detected R...

Страница 52: ...and line and see if the span turns green for each span you have connected dahdi_tool 3 Execute the following Asterisk command to see if the span came up successfully asterisk asterisk vvvr VoIPon www...

Страница 53: ...Yellow Card is synchronizing or is receiving a red alarm from the far end Use a software tool such as dahdi_tool to get a textual description of the state of the card Red Card is not seeing far end ci...

Страница 54: ...l but another does not Check your pridialplan variable and verify that you are dialing using the method your telco is expecting I am having trouble receiving DID information over E M Try the other typ...

Страница 55: ...oing to pin 5 Plug the cable into the span and wait for its LED to turn green 2 Stop Asterisk and edit system conf by removing the lines defined for your card and replacing them with the following spa...

Страница 56: ...ve 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 To view all of the options available to add to your d...

Страница 57: ...ive interface Check the current mode using this command hdparm vi dev IDE Device 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 proble...

Страница 58: ...channel asterisk on irc freenode net Subscription Services Program Digium is dedicated to supporting your Asterisk system by offering full technical support through our Subscription Services Program T...

Страница 59: ...d bracket is an 8 pin RJ45 port The pin assignments are identified in Table A 1 Table A 1 RJ45 Telco Port Connector Pin Description 1 Rx 2 Rx 3 Not used 4 Tx 5 Tx 6 Not used 7 Not used 8 Not used Pin...

Страница 60: ...CI bracket Weight 2 oz 57g Interfaces Local Loop Access E1 T1 J1 PRI RJ45 TE120P and TE122 PCI Bus 3 3V or 5V bus slot half length slot minimum size 33MHz minimum bus speed compliant with PCI 2 2 or g...

Страница 61: ...ilable PCI TE120P and TE122 or PCI E TE121 Slot Table B 2 Maximum Power Consumption Model Power TE120P 3 3V 5V 1 5 Watts 0 1Watt TE121 3 3V 2 0 Watts TE121B 3 3V 3 0 Watts TE122 3 3V 5V 1 5 Watts 0 1W...

Страница 62: ...ronous communications are often found in internet access and remote office applications attenuation The dissipation of a transmitted signal s power as it travels over a wire bandwidth The capacity to...

Страница 63: ...ltiple channels over a common medium Cat5 Category of Performance for wiring and cabling Cat 5 cabling support applications up to 100 MHz Cat5E Category of Performance for wiring and cabling Category...

Страница 64: ...m 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 D...

Страница 65: ...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 Unwa...

Страница 66: ...er telephone lines at 6 3 Kbps or 5 3 Kbps G 729a A recommendation by the Telecommunication Standardization Sector ITU T for an algorithm designed to transmit and receive audio over telephone lines at...

Страница 67: ...tion in the market interface A point of contact between two systems networks or devices ISO International Standards Organization LED light emitting diode Linux A robust feature packed open source oper...

Страница 68: ...nnel See multiplexing 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 mo...

Страница 69: ...ality of service A measure of telephone service as specified by the Public Service Commission RJ11 A six pin jack typically used for connecting telephones modems and fax machines in residential and bu...

Страница 70: ...companies throughout the world including RBOCs LECs and PTTs tip and ring The standard termination on the two conductors of a telephone circuit named after the physical appearance of the contact area...

Отзывы: