D430P/DE430P User Manual                                     深圳开源通信有限公司                 OpenVox-Best Cost Effective Asteri...
D430P/DE430P User Manual                                     深圳开源通信有限公司                 OpenVox-Best Cost Effective Asteri...
D430P/DE430P User Manual                                Table of ContentsChapter 1 Overview..................................
D430P/DE430P User Manual                               Chapter 1 Overview1. What is D430P/DE430PThe D430P/DE430P is an upg...
D430P/DE430P User Manual2.    What is Asterisk:The Definition of Asterisk is described as follow:Asterisk is a complete PB...
D430P/DE430P User Manual         Chapter 2 Card Installation and Configuration1. Hardware Introduction and SettingOpenVox ...
D430P/DE430P User Manual   Span 4   Span 3   Span 2   Span 1Shorten the jumper will open clock lineotherwise not.Each DIP ...
D430P/DE430P User Manual2.Software Installation and SetupTest Environment: Centos 5.5 Kernel Version: 2.6.18-194.el5 Li...
D430P/DE430P User Manual         rpm   -q   openssl-devel         rpm   -q   gnutls-devel         rpm   -q   gcc         r...
D430P/DE430P User Manual3) Loading wct4xxp driver for D430P/DE430P:        service dahdi stop        modprobe dahdi       ...
D430P/DE430P User Manual# Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4"span=4,4,0,ccs,hdb3# termtype: tebchan=94-108,110-124...
D430P/DE430P User Manualgroup=0,13context=from-pstnswitchtype = euroisdnsignalling = pri_cpechannel => 63-77,79-93context ...
D430P/DE430P User Manualf. Starting asterisk by asterisk –vvvvvvvgc.Under asterisk console,run “dahdi show channels”.If da...
D430P/DE430P User ManualSignalling Type: ISDN PRIRadio: 0Owner: DAHDI/1-1Real: DAHDI/1-1Callwait: <None>Threeway: <None>Co...
D430P/DE430P User Manual                            Chapter 3 Referenceswww.openvox.cnwww.digium.comwww.asterisk.orgwww.vo...
Upcoming SlideShare
Loading in …5
×

D430 p de430p_user_manual_english

2,505 views

Published on

Elastix manual

Published in: Technology
1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total views
2,505
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
35
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide

D430 p de430p_user_manual_english

  1. 1. D430P/DE430P User Manual 深圳开源通信有限公司 OpenVox-Best Cost Effective Asterisk Cards OpenVox D430P DE430P User Manual Date:24/01/2011 Version: 1.0OpenVox Communication Co. Limited. URL: www.openvox.cn 1
  2. 2. D430P/DE430P User Manual 深圳开源通信有限公司 OpenVox-Best Cost Effective Asterisk Cards OpenVox Communication Co. Ltd. Address: F/3,Block No.127,Jindi Industrial Zone, Shazui Road,Futian district,ShenZhen ,Guangdong 518048,China Tel: +86-755-82535461, +86-755-82535095,Fax: +86-755-82535174 E-Mail:sales@openvox.cn IM for Technical Support: support@openvox.cn Business Hours: 9:30AM-17:30PM from Monday-Friday URL:www.openvox.cn Thank You for Choosing OpenVox Products!OpenVox Communication Co. Limited. URL: www.openvox.cn 2
  3. 3. D430P/DE430P User Manual Table of ContentsChapter 1 Overview........................................................... 4Chapter 2 Card Installation and Configuration ................................ 6Chapter 3 References........................................................ 15OpenVox Communication Co. Limited. URL: www.openvox.cn 3
  4. 4. D430P/DE430P User Manual Chapter 1 Overview1. What is D430P/DE430PThe D430P/DE430P is an upgrade product of the DE410P. It’s supposed to be the mostadvanced 4 port T1/E1/J1 asterisk® card with superior quality in the open sourcecommunity. The leading innovation ensures users to adjust the interrupts frequencyto reduce the CPU load up to 70% and adjust the interrupt number to avoid interruptnumber sharing or conflict. ®D430P/DE430P offers an on-board Octasic DSP-based echo cancellation module. Itsupports T1, E1, and J1 environments and is selectable on a per-card or per-port ®basis. The Octasic DSP-based EC module enables users to eliminate echo tails upto 128ms or 1024 taps across all 128 channels in E1 mode or 96 channels in T1/J1 ®modes. Further, this module takes advantage of the Octasic Voice Quality Enhancementto provide superior sound quality on all calls.D430P/DE430P supports industry standard telephony and data protocols, includingPrimary Rate ISDN (both N. American and Standard Euro) protocol families for voice,PPP, Cisco, HDLC, and Frame Relay data modes. Both line-side and trunk-sideinterfaces are supported. ® ® ®D430P/DE430P works with Asterisk , Elastix , FreeSWITCH™, PBX in a Flash, trixbox ,Yate™ and IPPBX/IVR projects as well as other Open Source and proprietary PBX, Switch,IVR, and VoIP gateway applications.RoHS compliantCertificates: CE and FCCMisc:1) Temperature Operation: 0 to 50°C2) Temperature Storage: - 65 to 125°C3) Dimension: 2U Form factor: 12*6.4*1.8cm4) Voltage:3.3V/5V5) Power Dissipation Max:2.6W/3.9WOpenVox Communication Co. Limited. URL: www.openvox.cn 4
  5. 5. D430P/DE430P User Manual2. What is Asterisk:The Definition of Asterisk is described as follow:Asterisk is a complete PBX in software. It runs on Linux, BSD,Windows (emulated)and provides all of the features you would expect from a PBX and more. Asterisk doesvoice over IP in four protocols, and can interoperate with almost all standards-basedtelephony equipment using relatively inexpensive hardware. Figure 1: Asterisk SetupSource (http://www.siriusit.co.uk/uploads/images/consulting/asteriskSetup.gif)Asterisk provides Voicemail services with Directory, Call Conferencing, InteractiveVoice Response, Call Queuing. It has support for three-way calling, caller IDservices, ADSI, IAX, SIP, H.323 (as both client and gateway), MGCP (call manageronly) and SCCP/Skinny(voip-info.org).OpenVox Communication Co. Limited. URL: www.openvox.cn 5
  6. 6. D430P/DE430P User Manual Chapter 2 Card Installation and Configuration1. Hardware Introduction and SettingOpenVox Communication Co. Limited. URL: www.openvox.cn 6
  7. 7. D430P/DE430P User Manual Span 4 Span 3 Span 2 Span 1Shorten the jumper will open clock lineotherwise not.Each DIP switch controls one spanconfiguration for E1 or T1.Setting DIP1 to ONmeans SPAN1 will be E1.Setting DIP1 to OFFmeans SPAN1 will be T1.The example sets all4 Spans to E1.It connects with clock lines.The left isoutput and the right is input.If you want touse clock lines,you can refer this link:http://bbs.openvox.cn/viewthread.php?tid=874&extra=page%3D1.If there is only one card in PCI slot,CardIDswitch should be set to 0,otherwise set todifferent values of each card by order.OpenVox Communication Co. Limited. URL: www.openvox.cn 7
  8. 8. D430P/DE430P User Manual2.Software Installation and SetupTest Environment: Centos 5.5 Kernel Version: 2.6.18-194.el5 Libpri:1.4.11.5 Dahdi:dahdi-linux-complete-2.4.0+2.4.0 Asterisk:1.6.2.11 OpenVox DE430P 1) Checking the D430P/DE430P hardware by command: #lspci -v --------------------------------------------------------------------------- 01:02.0 Class ff00: Digium, Inc. Unknown device 1420 (rev 01) Subsystem: Unknown device 0005:0000 Flags: bus master, slow devsel, latency 64, IRQ 225 Memory at dedf0000 (32-bit, non-prefetchable) [size=32K] -------------------------------------------------------------------------- 2) Downloading and compiling To make the asterisk and dahdi running, users have to download libpri, dahdi and asterisk. #wget http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri -1.4.11.5.tar.gz #wget http://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/openv ox_dahdi-linux-complete-current.tar.gz #wget http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ asterisk-1.6.2.11.tar.gz Before installing libpri, dahdi and asterisk, make sure that all supporting packages have been installed in system. Running following steps to check those packages: Note that if there is no kernel source in the system, user should install them. User can run yum again: yum install kernel-devel. If user uses this command yum will install the sources for your current version of the kernel. It is time to check for the availability of some other packages: rpm -q bison rpm -q bison-devel rpm -q ncurses rpm -q ncurses-devel rpm -q zlib rpm -q zlib-devel rpm -q opensslOpenVox Communication Co. Limited. URL: www.openvox.cn 8
  9. 9. D430P/DE430P User Manual rpm -q openssl-devel rpm -q gnutls-devel rpm -q gcc rpm -q gcc-c++ If any of those packages are not installed install them by using yum yum install bison yum install bison-devel yum install ncurses yum install ncurses-devel yum install zlib yum install zlib-devel yum install openssl yum install openssl-devel yum install gnutls-devel yum install gcc yum install gcc-c++ Here,assuming the three packages are stored in /usr/src directory. Customers compile those packages as following in order: a. Installing libpri: cd /usr/src/ tar -zxvf libpri-1.4.11.5.tar.gz cd libpri-1.4.11.5 make make install b. Installing dahdi cd /usr/src/ tar –zxvf openvox_dahdi-linux-complete-current.tar.gz cd dahdi-linux-complete-2.4.0+2.4.0 make make install c. Installing asterisk cd /usr/src/ tar –zxvf asterisk-1.6.2.11.tar.gz cd asterisk-1.6.2.11 ./configure make make install make sampleOpenVox Communication Co. Limited. URL: www.openvox.cn 9
  10. 10. D430P/DE430P User Manual3) Loading wct4xxp driver for D430P/DE430P: service dahdi stop modprobe dahdi modprobe wct4xxp dahdi_genconf //This command will generate /etc/dahdi/system.conf and /etc/asterisk/dahdi-channels.conf automatically. Then run #cat /proc/interrupts.If the card’s IRQ is shared with other hardwares,you can change the IRQ to another.You can refer this link: http://downloads.openvox.cn/pub/misc/opvx-update_user_manual_en.pdf.4) Configuration for system.conf and chan_dahdi.confa. Modify the system.conf by vi /etc/dahdi/system.conf according to yourenvironment.User should disable echocanceller mg2 in system.conf like thefollowing:------------------------------------------------------------------------------ # Autogenerated by /usr/sbin/dahdi_genconf on Wed Jan 12 16:36:41 2011# If you edit this file and execute /usr/sbin/dahdi_genconf again,# your manual changes will be LOST.# Dahdi Configuration File## This file is parsed by the Dahdi Configurator, dahdi_cfg## Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER)span=1,1,0,ccs,hdb3# termtype: tebchan=1-15,17-31dchan=16#echocanceller=mg2,1-15,17-31# Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2"span=2,2,0,ccs,hdb3# termtype: tebchan=32-46,48-62dchan=47#echocanceller=mg2,32-46,48-62# Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3"span=3,3,0,ccs,hdb3# termtype: tebchan=63-77,79-93dchan=78#echocanceller=mg2,63-77,79-93OpenVox Communication Co. Limited. URL: www.openvox.cn 10
  11. 11. D430P/DE430P User Manual# Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4"span=4,4,0,ccs,hdb3# termtype: tebchan=94-108,110-124dchan=109#echocanceller=mg2,94-108,110-124# Global dataloadzone = usdefaultzone = us--------------------------------------------------------------------------------------------b. Edit the dahdi-channels.conf by vi /etc/asterisk/dahdi-channels.conf:-------------------------------------------------------------------------------; Autogenerated by /usr/sbin/dahdi_genconf on Wed Jan 12 16:36:41 2011; If you edit this file and execute /usr/sbin/dahdi_genconf again,; your manual changes will be LOST.; 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/chan_dahdi.conf that will include the global settings;; Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER)group=0,11context=from-pstnswitchtype = euroisdnsignalling = pri_cpechannel => 1-15,17-31context = defaultgroup = 63; Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2"group=0,12context=from-pstnswitchtype = euroisdnsignalling = pri_cpechannel => 32-46,48-62context = defaultgroup = 63; Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3"OpenVox Communication Co. Limited. URL: www.openvox.cn 11
  12. 12. D430P/DE430P User Manualgroup=0,13context=from-pstnswitchtype = euroisdnsignalling = pri_cpechannel => 63-77,79-93context = defaultgroup = 63; Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4"group=0,14context=from-pstnswitchtype = euroisdnsignalling = pri_cpechannel => 94-108,110-124context = defaultgroup = 63-------------------------------------------------------------------------------c. Check the chan_dahdi.conf under /etc/asterisk and make sure dahdi-channels.conf has been included into chan_dahdi.conf.If not,run the command:#echo “#include dahdi-channels.conf”>>/etc/asterisk/chan_dahdi.confd. Edit the dialplan(/etc/asterisk/extensions.conf)------------------------------------------------------------------------------- [from-pstn] exten => s,1,Answer() // answer the inbound call exten => s,n,Playback(cc_welcome) //please message exten => s,n,Hangup() [from-internal] exten => _X.,1,Dial(dahdi/g0/${EXTEN}) exten => _X.,n,Hangup-------------------------------------------------------------------------------e. Then run dahdi_cfg -vvvvvvIf it detects error,user should solve it until no error.If user uses DE430P,user can run “dmesg”and find the EC module has been detectedas below:-------------------------------------------------------------------------------VPM450: echo cancellation for 128 channelsVPM450: hardware DTMF disabled.VPM450: Present and operational servicing 4 span(s)-------------------------------------------------------------------------------OpenVox Communication Co. Limited. URL: www.openvox.cn 12
  13. 13. D430P/DE430P User Manualf. Starting asterisk by asterisk –vvvvvvvgc.Under asterisk console,run “dahdi show channels”.If dahdi channels can be shown,itmeans channels have been loaded into asterisk.-------------------------------------------------------------------------------*CLI> dahdi show channels Chan Extension Context Language MOH Interpret Blocked State pseudo default default In Service 1 from-pstn default In Service 2 from-pstn default In Service 3 from-pstn default In Service 4 from-pstn default In Service 5 from-pstn default In Service 6 from-pstn default In Service 7 from-pstn default In Service „ 124 from-pstn default In Service-------------------------------------------------------------------------------Then “pri show spans”.Make sure pri is up and active.-------------------------------------------------------------------------------*CLI> pri show spansPRI span 1/0: Provisioned, Up, ActivePRI span 2/0: Provisioned, Up, ActivePRI span 3/0: Provisioned, Up, ActivePRI span 4/0: Provisioned, Up, Active----------------------------------------------------------------------------- If using DE430P,when making an outbound call or inbound call user can find EC statusis ON as the following,otherwise it would be OFF.-----------------------------------------------------------------------------*CLI> dahdi show channel 1Channel: 1File Descriptor: 19Span: 1Extension:Dialing: noContext: from-pstnCaller ID:Calling TON: 0Caller ID name:Mailbox: noneDestroy: 0InAlarm: 0OpenVox Communication Co. Limited. URL: www.openvox.cn 13
  14. 14. D430P/DE430P User ManualSignalling Type: ISDN PRIRadio: 0Owner: DAHDI/1-1Real: DAHDI/1-1Callwait: <None>Threeway: <None>Confno: -1Propagated Conference: -1Real in conference: 0DSP: yesBusy Detection: noTDD: noRelax DTMF: noDialing/CallwaitCAS: 0/0Default law: alawFax Handled: noPulse phone: noDND: noEcho Cancellation:128 tapscurrently ONWait for dialtone: 0msPRI Flags: CallPRI Logical Span: ImplicitActual Confinfo: Num/0, Mode/0x0000Actual Confmute: NoHookstate (FXS only): Onhook-------------------------------------------------------------------------------OpenVox Communication Co. Limited. URL: www.openvox.cn 14
  15. 15. D430P/DE430P User Manual Chapter 3 Referenceswww.openvox.cnwww.digium.comwww.asterisk.orgwww.voip-info.orgwww.asteriskguru.comOpenVox Communication Co. Limited. URL: www.openvox.cn 15

×