Home

AX4E-Centos5.4-Dahdi-User Manual-V1.0-EN

image

Contents

1. AX4D EC128 Digital AX4D AXE4D Product Guide 25 06 2011 Written by Robert Ao ee 7 Content TTT 2 CHAPTER 1 THE INTRODUCTION AX4D ee 3 CHAPTER 2 HARDWARE INTRODUCTION ee 5 CHAPTER SOFTWARE INSTALLATION ee 9 CHAPTER 4 SOFTWARE CONFIGURATION ccccsccscscceccccscceccccecceccccecscceccsceccececcecceseccececceccsseccesecs 11 CHAPTER 5 LOOPBACK TEST cssscssccscesccceccsexesisccisccscccassccsccasecesccacssesccascsescdessscsccesscevesesssosesesseseesesecesess 14 CHAPTER 6 19 www atcom cn 1 Contact The Introduction of ATCOM Founded in 1998 ATCOM technology has been always endeavoring in the R amp D and manufacturing of the internet communication terminals The product line of ATCOM includes IP Phone USB Phone IP PBX VoIP gateway and Asterisk Card Contact sales Address District C east of 2nd floor 3 Crown industry buildings Chegongmiao Industry area Futian district Shenzhen China Tel 86 755 23487618 Fax 86 755 23485319 E mail sales atcomemail com Contact Technical Support Tel 86 755 23481119 E mail Support atcomemail com We
2. lt DAHDI 63 1 gt Playing hello world language en DAHDI 32 1 is proceeding passing it to SIP 500 00000003 DAHDI 32 1 answered 51 500 00000003 Executing 200 from pstn 2 Dial DAHDI 63 1 dahdi g2 200 in new Requested transfer capability 0x00 SPEECH Called g2 200 Accepting call from 500 to 200 on channel 0 2 span 3 Executing 200 from pstn 1 Playback DAHDI 64 1 hello world in new stack lt DAHDI 64 1 gt Playing hello world language en DAHDI 33 1 is proceeding passing it to DAHDI 63 1 DAHDI 33 1 answered DAHDI 63 1 Native bridging DAHDI 63 1 and DAHDI 33 1 Executing 200 from pstn 2 Dial DAHDI 92 1 dahdi g2 200 in new stack Requested transfer capability 0x00 SPEECH Called 22 200 Accepting call from 500 to 200 on channel 0 31 span 3 Executing 200 from pstn 1 Playback DAHDI 93 1 hello world in new stack lt DAHDI 93 1 gt Playing hello world language en DAHDI 62 1 is proceeding passing it to DAHDI 92 1 DAHDI 62 1 answered DAHDI 92 1 Native bridging DAHDI 92 1 and DAHDI 62 1 Executing 200 from pstn 2 Dial DAHDI 93 1 dahdi g2 200 in new ee www atcom cn 18 Chapter 6 Reference http www asteriskguru com http www asterisk org downloads http www openippbx org index php title Main_Page http www atcom cn www atcom cn 19
3. 1 4 10 2 tar z root localhost src Weet http downloads asterisk org pub telephony dahdi linux releases dahdi linux 2 3 0 1 tar gz root localhost src weet http downloads asterisk org pub telephony dahdi tools releases dahdi tools 2 3 0 tar gz root localhost src weet http downloads asterisk org pub telephony asterisk releases asterisk 1 6 2 6 tar gz 3 Install libpri 1 root localhost src tar xvzf libpri 1 4 10 2 tar gz 2 root localhost libpri 1 4 10 2 make 3 root localhost libpri 1 4 10 2 make install www atcom cn 9 ATCOM 4 Install dahdi linux and dahdi tools 1 root localhost src tar xvzf dahdi linux 2 3 0 1 tar gz 2 root localhost src dahdi linux 2 3 0 1 drivers dahdi 3 root localhost dahdi linux 2 3 0 1 make 4 root localhost dahdi linux 2 3 0 1 make install Install dahdi tools 1 root localhost src tar xvzf dahdi tools 2 3 0 tar gz 2 root localhost dahdi tools 2 3 0 configure 3 root localhost dahdi tools 2 3 0 make 4 root localhost dahdi tools 2 3 0 make install 5 root localhost dahdi tools 2 3 0 make config 5 Install asterisk 1 root localhost src tar xvzf asterisk 1 6 2 6 tar gz 2 root localhost asterisk 1 6 2 6 configure 3 root localhost asterisk 1 6 2 6 make 4 root localhost asterisk 1 6 2 6 make install 5 root localhost asterisk 1 6 2 6 make samples www atcom cn 10 Chapter d software Conf
4. None gt Confno 1 Propagated Conference 1 Real in conference 0 DSP yes Busy Detection no TDD no Relax DTMF no Dialing CallwaitCAS 0 0 Default law alaw Fax Handled no Pulse phone no DND no Echo Cancellation 128 taps currently ON Wait for dialtone Oms PRI Flags Call PRI Logical Span Implicit ee www atcom cn 13 ATCOM Chapter 5 Loopback Test 1 LEDs status LED Red If the driver of the card is loaded correctly and the etc dahdi system conf file is configured correctly the LED Red of the four ports will be red clearly LED Green If the PRI line is connected correctly and it synchronizes to the other end successfully then the LED Green will be green clearly If the PRI line is connected correctly and it is synchronizing to the other end then both of the LED Green and LED Red will be on clearly 2 Use El cross over cables to connect port 1 and port 4 port 2 and port 3 if the connection is correct the LEDs will turn to green 3 Make a El crossover cable the El crossover cable connection pins are as the following 1 lt gt 4 2 lt gt 5 4 lt gt 1 5 lt gt 2 For the detail crossover cable connection pins please refer to the following link http www chebucto ns ca Chebucto Technical Manuals Max max6000 gs cables htm 17 372 ee www atcom cn 14 Please edit dahdi channels conf file like the following Autogenerated by usr sbin dahdi_genc
5. 00 to 100 on channel 0 2 span 4 Executing 100 from pstn 1 Playback DAHDI 95 1 hello world in new stack lt DAHDI 95 1 gt Playing hello world language en DAHDI 2 1 is proceeding passing it to DAHDI 94 1 DAHDI 2 1 answered DAHDI 94 1 Native bridging DAHDI 94 1 and DAHDI 2 1 Executing 100 from pstn 2 Dial DAHDI 123 1 dahdi g1 100 in new stack Requested transfer capability 0x00 SPEECH Called g1 100 Accepting call from 500 to 100 on channel 0 31 span 4 Executing 100 from pstn 1 Playback DAHDI 124 1 hello world in new stack lt DAHDI 124 1 gt Playing hello world language en DAHDI 31 1 is proceeding passing it to DAHDI 123 1 DAHDI 31 1 answered DAHDI 123 1 Native bridging DAHDI 123 1 and DAHDI 31 1 Executing 100 from pstn 2 Dial DAHDI 124 1 dahdi g1 100 in new stack SSS SSS SSS SSS SSS SS www atcom cn 17 2 Dial 400 it will call 30 times between port 2 and port 3 the following information is only a part of outputs of the right results In this way we can check if all the channels of port 2 and port 3 can communicate CLI gt Executing 400 from internal 1 _ Dial SIP 500 00000003 dahdi g2 200 in new stack Requested transfer capability 0x00 SPEECH Called 22 200 Accepting call from 500 to 200 on channel 0 1 span 3 Executing 200 from pstn 1 Playback DAHDI 63 1 hello world in new stack
6. 1 T1 J1 like the following For El Mode For 1 and J1 Mode SW2 It is used when you have more than one PRI card in your server if you have two cards in your server then turn it to 0 in one card and turn it to 1 in the other card if you have four cards in your server then turn it to 0 1 2 3 respectively SW3 It is used to select the hardware echo cancelation direction by default we set it up to delete the echo for local side if customers want to delete the echo for the far end side please turn the buttons to on state Delete the echo for local side Delete the echo for the far end side www atcom cn 6 ATCOM J17 J18 They are used to connect to other cards when you have several cards in your server Using clock line to connect each other all of the cards work in one server can synchronize accurately If customer have PRI card and analog card in one server the analog card can synchronize accurately with telecom in this way and it is useful for fax J18 and J17 5 It is used for selecting the PCI power feeding for the card by default we choose the 3 3v for the card customer do not need to reset the jumper the card can also choose 5 0v for power feedin g in the case that the 3 3v in the motherboard of PC is not enough for the card but this phenomenon happens rarely For Choosing 3 3v Power For Choosing 5 0v Power www atcom cn 7 ATCOM JP4 It is used for selecting the power fee
7. Cancellation Module G 168 2002 echo cancellation in hardware 1024 taps 128 ms tail per channel on all channel densities DTMF decoding and tone recognition Voice quality enhancement music protection acoustic echo control and adaptive noise reduction Does not increase the physical size of the card and no additional slot is required www atcom cn 3 Voice Modes Pri CPE and PRI NET EuroISDN 4ESS AT amp T SESS Lucent DMS100 Hardware Requirement 1 6 Ghz Pentium IV 512 MB RAM 3 3V or 5V PCI 2 2 slot PCI Card Dimension 131 5mm Length 94mm height Operating System Linux all versions releases and distributions from 1 0 up www atcom cn 1 N ATCOM Chapter 2 Hardware Introduction JP5 LED Red LED Green AX4D The Front and Rear View of EC128 LED Red If the driver of the card is loaded correctly and the etc dahdi system conf file is configured correctly the LED Red of the four ports will be red clearly LED Green If the PRI line is connected correctly and it synchronizes to the other end successfully then the LED Green will be green clearly If the PRI line is connected correctly and it is synchronizing to the other end then both of the LED Green and LED Red will be on clearly www atcom cn 5 ATCOM SW1 It is used for selecting mode by default ATCOM will set it up according to your requirement before shipping out Customer can set up E
8. bsite address http www atcom cn ATCOM Wiki Website http www openippbx org index php title Main_Page Download Center http www atcom cn download html www atcom cn 2 7 Chapter 1 the Introduction of AX4D Overview of 40 AX4D Asterisk card is the telephony PCI card which supports four ISDN PRI E1 T1 J1 ports optional with teleco grade hardware echo cancellation Using AX4D digital PRI card open source Asterisk PBX and stand alone PC users can create their IP PBX telephony solution include all the sophisticated features of traditional PBX and extend features such as voicemail in IP PBX Features AX4D Four ISDN PRI E1 T1 J1 ports Support original Dahdi Zaptel No patch Support Asterisk Freeswitch Yate Support Elastix Trixbox AsteriskNOW PBX in a Flash 100 compatible with all features of Asterisk PBX 32 bit bus master DMA data exchanges across PCI interface at 132 Mbytes sec for minimum host processor intervention Supports standard telephony and data protocols Including PRI CAS CCS for voice and PPP HDLC Cisco HDLC and Frame Relay for data modes Supports chan_ss7 and Openr2 Optional hardware echo cancellation Select the hardware echo cancellation direction Applications ISDN PRI IP PBX ISDN least cost router Calling Card Platforms IVR system Call Center Traditional Calls VoIP Calls Conference VoIP Gateway Callback Service Optional DSP Hardware Echo
9. ding for the hardware echo cancellation module by default we choose the 3 3v the module can also choose 5 0v for power feeding in the case that the 3 3v in the motherboard of PC is not enough for the module but this phenomenon happens rarely For the latest version the module does not need this jumper For Selecting 3 3v Power For Selecting 5 0v Power www atcom cn Chapter 3 Software Installation Test Environment libpri 1 4 10 2 dahdi linux 2 3 0 1 dahdi tools 2 3 0 asterisk 1 6 2 6 centos 5 4 kernel version 2 6 18 164 15 After inserting the card into your PCI slot and boot your server please use the lspci command to check the PCI bus compatibility From the correct output you can see the following line 03 01 0 Communication controller Digium Inc Wildcard TE410P quad span T1 E1 J1 card 3 3V rev 02 The TE410P will be found if you can not see one line like the line above please poweroff your server and try to use another PCI slot if it still does not help you have to check the compatibility issue between the card and your PCI bus 1 To install asterisk and dahdi we have to use yum command to install the following prerequisite packages bison bison devel zlib zlib devel openssl openssl devel gnutls devel gcc gcc c 2 Download libpri dahdi linux dahdi tools and asterisk root localhost src weet http downloads asterisk org pub telephony libpri releases libpri
10. e 124 channels 5 How to check if the hardware echo cancellation works or not 1 When you plug the EC128 into AX4D please do not need to press hard because the pin is a little longer than the slot 2 After booting your server with the AX4D and EC128 please run dmesg command to check if the hardware is detected by dahdi or not You can get the following red information VPM450 echo cancellation for 128 channels wet4xxp 0000 05 04 0 VPM450 hardware DTMF disabled wet4xxp 0000 05 04 0 VPM450 Present and operational servicing 4 span s 3 When you are using hardware echocancellation please disable the software echocancellation in etc dahdi system conf and enable the echocancel yes line in etc asterisk chan_dahdi conf file After setting please restart dahdi and asterisk 4 Run asterisk and make a call by channel 1 you can get the following information marked with red line if the EC128 is working Notice If you enable the software echocancellation you can also get the following red lines so please disable the software echocancellation when you use EC128 localhost CLI gt dahdi show channel 1 Channel 1 File Descriptor 17 Span 1 Extension 300 Dialing no Context from pstn Caller ID 900 Calling TON 33 Caller ID name 900 Mailbox none Destroy 0 InAlarm 0 Signalling Type ISDN PRI www atcom cn 12 ATCOM Radio 0 Owner DAHDI 1 1 Real DAHDI 1 1 Callwait lt None gt Threeway lt
11. ial plan in extensions conf from internal exten gt 300 1 Dial dahdi g1 100 exten gt 300 2 hangup exten gt 400 Dial dahdi g2 200 exten gt 400 2 hangup from pstn exten gt 100 1 Playback hello world exten gt 100 2 Dial dahdi g1 EXTEN exten gt 100 3 Hangup exten gt 200 1 Playback hello world exten gt 200 2 Dial dahdi g2 EXTEN exten gt 200 3 Hangup 5 Usea registered sip phone to call from the 30 channels of port 1 to the 30 channels of port 4 and call from the 30 channels of port 2 to the 30 channels of port 3 SSS SSS SSS www atcom cn 16 1 Dial 300 it will call 30 times between port 1 and port 4 the following information is only a part of outputs of the right results In this way we can check if all the channels of port land port 4 can communicate CLI gt Executing 300 from internal 1 Dial SIP 500 00000001 dahdi g1 100 in new stack Requested transfer capability 0x00 SPEECH Called g1 100 Accepting call from 500 to 100 on channel 0 1 span 4 Executing 100 from pstn 1 Playback DAHDI 94 1 hello world in new stack lt DAHDI 94 1 gt Playing hello world language DAHDI 1 1 is proceeding passing it to SIP 500 00000001 DAHDI 1 1 answered SIP 500 00000001 Executing 100 from pstn 2 Dial DAHDI 94 1 dahdi g1 100 in new stack Requested transfer capability 0x00 SPEECH Called g1 100 Accepting call from 5
12. iguration 1 Please use the dahdi_genconf command to configure the etc dahdi system conf file and generate etc asterisk dahdi channels conf file root localhost dahdi_genconf It does not show any output if dahdi_genconf run successfully After running dahdi_genconf successfully the system conf file will get the following configuration etc dahdi system conf Autogenerated by usr sbin dahdi_genconf 40 not hand edit This file is parsed by the Dahdi Configurator dahdi_cfg Span 1 TE4 0 1 PCI Card 0 Span 1 MASTER span 1 1 0 ccs hdb3 crce4 termtype te bchan 1 15 17 31 dchan 16 echocanceller mg 2 1 15 17 31 Span 2 TE4 0 2 PCI Card 0 Span 2 span 2 2 0 ccs hdb3 crce4 termtype te bchan 32 46 48 62 dchan 47 echocanceller mg2 32 46 48 62 Span 3 TE4 0 3 T4XXP PCI Card 0 Span 3 span 3 3 0 ccs hdb3 crce4 termtype te bchan 63 77 79 93 dchan 78 echocanceller mg2 63 77 79 93 Span 4 TE4 0 4 PCI Card 0 Span 4 span 4 4 0 ccs hdb3 crce4 termtype te bchan 94 108 110 124 dchan 109 echocanceller mg2 94 108 110 124 Global data loadzone defaultzone www atcom cn 11 ATCOM 2 Please add the following line in the end of chan_dahdi conf file include dahdi channels conf 3 Please run asterisk with the following command asterisk asterisk vvvgre reload 4 Please run dahdi show channels command You should se
13. onf on Mon 22 18 10 35 2010 do not hand edit Dahdi Channels Configurations chan_dahdi conf This is not intended to be a complete chan_dahdi conf Rather it is intended to be include d by etc asterisk chan_dahdi conf that will include the global settings Span 1 4 0 1 PCI Card 0 Span 1 MASTER group 1 context from internal switchtype euroisdn signalling pri_net channel gt 1 15 17 31 context default Span 2 4 0 2 PCI Card 0 Span 2 group 2 context from internal switchtype euroisdn signalling pri_net channel gt 32 46 48 62 context default group 63 Span 3 TE4 0 3 T4XXP PCI Card 0 Span 3 group 3 context from pstn switchtype euroisdn signalling pri_cpe channel gt 63 77 79 93 context default group 63 Span 4 4 0 4 PCI Card 0 Span 4 group 4 context from pstn switchtype euroisdn signalling pri_cpe channel gt 94 108 110 124 context default ee www atcom cn 15 ATCOM 3 Check the ports status 1 Start asterisk root localhost asterisk asterisk vvgc CLI gt reload 2 Run pri show spans command You can get the following port information all of the four ports are in up status CLI gt pri show spans PRI span 1 0 Provisioned Up Active PRI span 2 0 Provisioned Up Active PRI span 3 0 Provisioned Up Active PRI span 4 0 Provisioned Up Active 4 Edita d

Download Pdf Manuals

image

Related Search

Related Contents

EK Water Blocks 3831109840764 hardware cooling accessory  Cisco SG 300-20  Lits parcs Maximo - Stiegelmeyer  Programme du colloque  ASUS G750JM User's Manual  手のひらから、新しい感動があふれだす  Toshiba Beamer TDP-T9  hp deskjet series    HRW-6-CHUCK label rewinder user`s manual  

Copyright © All rights reserved.
Failed to retrieve file