Sunteți pe pagina 1din 15

D430P/DE430P User Manual

OpenVox-Best Cost Effective Asterisk Cards

OpenVox D430P DE430P User Manual

Date:24/01/2011 Version: 1.0

OpenVox Communication Co. Limited.

URL: www.openvox.cn

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-Mailsales@openvox.cn IM for Technical Support: support@openvox.cn Business Hours: 9:30AM-17:30PM from Monday-Friday URLwww.openvox.cn

Thank You for Choosing OpenVox Products!

OpenVox Communication Co. Limited.

URL: www.openvox.cn

D430P/DE430P User Manual

Table of Contents

Chapter 1 Overview........................................................... 4 Chapter 2 Card Installation and Configuration ................................ 6 Chapter 3 References........................................................ 15

OpenVox Communication Co. Limited.

URL: www.openvox.cn

D430P/DE430P User Manual

Chapter 1 Overview
1. What is D430P/DE430P
The D430P/DE430P is an upgrade product of the DE410P. Its supposed to be the most advanced 4 port T1/E1/J1 asterisk card with superior quality in the open source community. The leading innovation ensures users to adjust the interrupts frequency to reduce the CPU load up to 70% and adjust the interrupt number to avoid interrupt number sharing or conflict. D430P/DE430P offers an on-board Octasic DSP-based echo cancellation module. It supports 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 up to 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 Enhancement to provide superior sound quality on all calls. D430P/DE430P supports industry standard telephony and data protocols, including Primary 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-side interfaces 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 compliant Certificates: CE and FCC Misc: 1) Temperature Operation: 0 to 50C 2) Temperature Storage: - 65 to 125C 3) Dimension: 2U Form factor: 12*6.4*1.8cm 4) Voltage:3.3V/5V 5) Power Dissipation Max:2.6W/3.9W

OpenVox Communication Co. Limited.

URL: www.openvox.cn

D430P/DE430P User Manual

2.

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 does voice over IP in four protocols, and can interoperate with almost all standards-based telephony equipment using relatively inexpensive hardware.

Figure 1: Asterisk Setup Source (http://www.siriusit.co.uk/uploads/images/consulting/asteriskSetup.gif)

Asterisk provides Voicemail services with Directory, Call Conferencing, Interactive Voice Response, Call Queuing. It has support for three-way calling, caller ID services, ADSI, IAX, SIP, H.323 (as both client and gateway), MGCP (call manager only) and SCCP/Skinny(voip-info.org).

OpenVox Communication Co. Limited.

URL: www.openvox.cn

D430P/DE430P User Manual

Chapter 2 Card Installation and Configuration


1. Hardware Introduction and Setting

OpenVox Communication Co. Limited.

URL: www.openvox.cn

D430P/DE430P User Manual

Span 4

Span 3

Span 2 Span 1

Shorten the jumper will open clock line otherwise not. Each DIP switch controls one span configuration for E1 or T1.Setting DIP1 to ON means SPAN1 will be E1.Setting DIP1 to OFF means SPAN1 will be T1.The example sets all 4 Spans to E1. It connects with clock lines.The left is output and the right is input.If you want to use clock lines,you can refer this link: http://bbs.openvox.cn/viewthread.php?tid=8 74&extra=page%3D1. If there is only one card in PCI slot,CardID switch should be set to 0,otherwise set to different values of each card by order.

OpenVox Communication Co. Limited.

URL: www.openvox.cn

D430P/DE430P User Manual

2.Software Installation and Setup


Test 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 rpm rpm rpm rpm rpm rpm

-q -q -q -q -q -q -q

bison bison-devel ncurses ncurses-devel zlib zlib-devel openssl

OpenVox Communication Co. Limited.

URL: www.openvox.cn

D430P/DE430P User Manual

rpm rpm rpm rpm

-q -q -q -q

openssl-devel gnutls-devel gcc gcc-c++

If any of those packages are not installed install them by using yum

yum yum yum yum yum yum yum yum yum yum yum

install install install install install install install install install install install

bison bison-devel ncurses ncurses-devel zlib zlib-devel openssl openssl-devel gnutls-devel gcc gcc-c++

Hereassuming 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 sample

OpenVox Communication Co. Limited.

URL: www.openvox.cn

D430P/DE430P User Manual

3) 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 cards 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.conf a. Modify the system.conf by vi /etc/dahdi/system.conf according to your environment.User should disable echocanceller mg2 in system.conf like the following: -----------------------------------------------------------------------------# 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: te bchan=1-15,17-31 dchan=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: 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 # termtype: te bchan=63-77,79-93 dchan=78 #echocanceller=mg2,63-77,79-93

OpenVox Communication Co. Limited.

URL: www.openvox.cn

10

D430P/DE430P User Manual # Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4" span=4,4,0,ccs,hdb3 # termtype: te bchan=94-108,110-124 dchan=109 #echocanceller=mg2,94-108,110-124 # Global data loadzone defaultzone = us = 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,11 context=from-pstn switchtype = euroisdn signalling = pri_cpe channel => 1-15,17-31 context = default group = 63 ; Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2" group=0,12 context=from-pstn switchtype = euroisdn signalling = pri_cpe channel => 32-46,48-62 context = default group = 63 ; Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3"

OpenVox Communication Co. Limited.

URL: www.openvox.cn

11

D430P/DE430P User Manual

group=0,13 context=from-pstn switchtype = euroisdn signalling = pri_cpe channel => 63-77,79-93 context = default group = 63 ; Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4" group=0,14 context=from-pstn switchtype = euroisdn signalling = pri_cpe channel => 94-108,110-124 context = default group = 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.conf


d. 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 -vvvvvv If it detects error,user should solve it until no error. If user uses DE430P,user can run dmesgand find the EC module has been detected as below: ------------------------------------------------------------------------------VPM450: echo cancellation for 128 channels VPM450: hardware DTMF disabled. VPM450: Present and operational servicing 4 span(s) -------------------------------------------------------------------------------

OpenVox Communication Co. Limited.

URL: www.openvox.cn

12

D430P/DE430P User Manual

f. Starting asterisk by asterisk vvvvvvvgc. Under asterisk console,run dahdi show channels.If dahdi channels can be shown,it means 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 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 ----------------------------------------------------------------------------If using DE430P,when making an outbound call or inbound call user can find EC status is ON as the following,otherwise it would be OFF. ----------------------------------------------------------------------------*CLI> dahdi show channel 1 Channel: 1 File Descriptor: 19 Span: 1 Extension: Dialing: no Context: from-pstn Caller ID: Calling TON: 0 Caller ID name: Mailbox: none Destroy: 0 InAlarm: 0

OpenVox Communication Co. Limited.

URL: www.openvox.cn

13

D430P/DE430P User Manual

Signalling Type: ISDN PRI Radio: 0 Owner: DAHDI/1-1 Real: DAHDI/1-1 Callwait: <None> Threeway: <None> 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: 0ms PRI Flags: Call PRI Logical Span: Implicit Actual Confinfo: Num/0, Mode/0x0000 Actual Confmute: No Hookstate (FXS only): Onhook -------------------------------------------------------------------------------

OpenVox Communication Co. Limited.

URL: www.openvox.cn

14

D430P/DE430P User Manual

Chapter 3 References

www.openvox.cn www.digium.com www.asterisk.org www.voip-info.org www.asteriskguru.com

OpenVox Communication Co. Limited.

URL: www.openvox.cn

15

S-ar putea să vă placă și