Documente Academic
Documente Profesional
Documente Cultură
URL: www.openvox.cn
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
URL: www.openvox.cn
Table of Contents
Chapter 1 Overview........................................................... 4 Chapter 2 Card Installation and Configuration ................................ 6 Chapter 3 References........................................................ 15
URL: www.openvox.cn
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
URL: www.openvox.cn
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.
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).
URL: www.openvox.cn
URL: www.openvox.cn
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.
URL: www.openvox.cn
-q -q -q -q -q -q -q
URL: www.openvox.cn
-q -q -q -q
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 asterisk-1.6.2.11.tar.gz cd asterisk-1.6.2.11 ./configure make make install make sample
URL: www.openvox.cn
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
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"
URL: www.openvox.cn
11
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:
URL: www.openvox.cn
12
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
URL: www.openvox.cn
13
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 -------------------------------------------------------------------------------
URL: www.openvox.cn
14
Chapter 3 References
URL: www.openvox.cn
15