13
User Manual 深圳开源通信有限公司 OpenVox-Best Cost Effective Asterisk Cards OpenVox D210E D410E User Manual Written by: James.zhu Email:[email protected],[email protected] Date:21/12/2007 Version: 0.01 1 VoIPon www.voipon.co.uk [email protected] Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299

OpenVox D210E D410E User Manual · OpenVox Communication Co. Ltd. Address: ... Futian District,ShenZhen ,Guangdong 518048,China Tel:+86-755-82535095,82535461,Fax:+86-755-82535174

  • Upload
    others

  • View
    14

  • Download
    0

Embed Size (px)

Citation preview

Page 1: OpenVox D210E D410E User Manual · OpenVox Communication Co. Ltd. Address: ... Futian District,ShenZhen ,Guangdong 518048,China Tel:+86-755-82535095,82535461,Fax:+86-755-82535174

User Manual

深圳开源通信有限公司

OpenVox-Best Cost Effective Asterisk Cards

OpenVox D210E D410E User Manual

Written by: James.zhu

Email:[email protected],[email protected]

Date:21/12/2007

Version: 0.01

1

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

Page 2: OpenVox D210E D410E User Manual · OpenVox Communication Co. Ltd. Address: ... Futian District,ShenZhen ,Guangdong 518048,China Tel:+86-755-82535095,82535461,Fax:+86-755-82535174

User Manual

深圳开源通信有限公司

OpenVox-Best Cost Effective Asterisk Cards

OpenVox Communication Co. Ltd.

Address: F/2,Building No.14,Shangsha Science & Technology Park,

No.9283,Binhe Road, Futian District,ShenZhen ,Guangdong 518048,China

Tel:+86-755-82535095,82535461,Fax:+86-755-82535174

E-Mail:[email protected] [email protected]

IM for Sales: [email protected] [email protected]

IM for Technical Support: [email protected],[email protected],[email protected]

Business Hours: 9:30AM-17:30PM from Monday-Friday

URL:www.openvox.com.cn

2

Thank You for Choosing OpenVox’s Products!

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

Page 3: OpenVox D210E D410E User Manual · OpenVox Communication Co. Ltd. Address: ... Futian District,ShenZhen ,Guangdong 518048,China Tel:+86-755-82535095,82535461,Fax:+86-755-82535174

User Manual

3

Table of Contents

Chapter 1 Overview………………………………………………………………… 4

Chapter 2 Card Installation and Configuration……………………………… 5

Chapter 3 R e fe r en ce……………………………………………………… 12

Chapter 4 Hardware Setting……………………………………………………… 13

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

Page 4: OpenVox D210E D410E User Manual · OpenVox Communication Co. Ltd. Address: ... Futian District,ShenZhen ,Guangdong 518048,China Tel:+86-755-82535095,82535461,Fax:+86-755-82535174

User Manual

4

Chapter 1 Overview

1. What is D410E/D210E

The D410E/D210E series supports E1, T1 and J1 environments and is selectable on a

per-card or per-port basis. This feature enables signaling translation between E1

and T1 equipment and allows inexpensive T1 channel banks to connect with E1 circuits.

With the improved I/O speed, the card reduces CPU usage and increased card density

per server. D410E/D210E series is fully compatible with Asterisk applications. The

open source driver supports an API interface for custom application development.

D410E/D210E series 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.

Other Features Include:

Supporting PCI Express 1.0

Be easy to install: Support wct4xxp driver included in original zaptel without any

patch

RoHS compliant

Certificates: CE and FCC

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.

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

Page 5: OpenVox D210E D410E User Manual · OpenVox Communication Co. Ltd. Address: ... Futian District,ShenZhen ,Guangdong 518048,China Tel:+86-755-82535095,82535461,Fax:+86-755-82535174

User Manual

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).

5

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

Page 6: OpenVox D210E D410E User Manual · OpenVox Communication Co. Ltd. Address: ... Futian District,ShenZhen ,Guangdong 518048,China Tel:+86-755-82535095,82535461,Fax:+86-755-82535174

User Manual

Chapter 2 Card Installation and Configuration

1. Hardware Installation and Setup

Before inserting the D410E/D210E card in to PC, customer should set the jumpers

correctly. If customers can not sure the difference of the PCI and PCI Express,

please check that from below:

(Source:http://www.geeks.com/techtips/2006/Images/motherboard.gif)

There are three steps that customers should check:

1) SPAN Type Setup

DIP Switch S1 controls the function of each span at E1 or T1 mode, for more

detail, please refer chapter 4.

2) CardID: if customers only have one D410E/D210E card in pc PCI express slot,

customers should set SW1 to 0, otherwise set to SW1 of each card to different

values, and it must start from 0 to card number -1.

2. Software Installation and Setup

D410E/D210E supports original zaptel wct4xxp driver. Customers can download

zaptel driver from asterisk.org. There are few steps to install wct4xxp drivers.

1) Checking the D410E/D210E hardware by command: lspci -v

6

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

Page 7: OpenVox D210E D410E User Manual · OpenVox Communication Co. Ltd. Address: ... Futian District,ShenZhen ,Guangdong 518048,China Tel:+86-755-82535095,82535461,Fax:+86-755-82535174

User Manual

2) Downloading and compiling

Before installing libpri, zaptel and asterisk, make sure that all supporting

packages have been installed in system.

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 the kernel is smp

kernel, please run this command: yum install kernel-smp-devel.

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 openssl

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:

7

1. Installing libpri:

cd /usr/src/libpri

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

Page 8: OpenVox D210E D410E User Manual · OpenVox Communication Co. Ltd. Address: ... Futian District,ShenZhen ,Guangdong 518048,China Tel:+86-755-82535095,82535461,Fax:+86-755-82535174

User Manual

8

make clean

make

make install

2. Installing zaptel

cd /usr/src/zaptel

make clean

make

make install

3. Installing asterisk

cd /usr/src/asterisk

make clean

make

make install

make samples

3) Configuration for zaptel.conf and zapata.conf

1) Modify the zaptel.conf by vi /etc/zaptel.conf

# Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1"

span=1,1,1,ccs,hdb3

# termtype: te

bchan=1-15,17-31

dchan=16

# Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2"

span=2,2,1,ccs,hdb3

# termtype: te

bchan=32-46,48-62

dchan=47

# Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3"

span=3,3,1,ccs,hdb3

# termtype: te

bchan=63-77,79-93

dchan=78

# Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4"

span=4,4,1,ccs,hdb3

# termtype: te

bchan=94-108,110-124

dchan=109

# Global data

loadzone = us

defaultzone = us

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

Page 9: OpenVox D210E D410E User Manual · OpenVox Communication Co. Ltd. Address: ... Futian District,ShenZhen ,Guangdong 518048,China Tel:+86-755-82535095,82535461,Fax:+86-755-82535174

User Manual

9

4) Edit the zapata.conf by vi /etc/asterisk/zapata.conf:

[channels]

context=zap-in

switchtype=euroisdn

pridialplan=national

signalling=pri_cpe

usecallerid=yes

hidecallerid=no

callwaiting=yes

callwaitingcallerid=yes

threewaycalling=yes

transfer=yes

cancallforward=yes

echocancel=yes

rxgain=0.0

txgain=0.0

group=1

callgroup=1

pickupgroup=1

immediate=no

callprogress=no

callerid=asreceived

group=1

signalling=pri_cpe

channel => 1-15,17-31

group=2

signalling=pri_cpe

channel => 32-46,48-62

group=3

signalling=pri_cpe

channel => 63-77,79-93

group=4

signalling=pri_cpe

channel => 94-108,110-124

5) Loading wct4xxp driver for D410E/D210E:

modprobe zaptel

modprobe wct4xxp

ztcfg –vvvvvvvv

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

Page 10: OpenVox D210E D410E User Manual · OpenVox Communication Co. Ltd. Address: ... Futian District,ShenZhen ,Guangdong 518048,China Tel:+86-755-82535095,82535461,Fax:+86-755-82535174

User Manual

dmesg

10

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

Page 11: OpenVox D210E D410E User Manual · OpenVox Communication Co. Ltd. Address: ... Futian District,ShenZhen ,Guangdong 518048,China Tel:+86-755-82535095,82535461,Fax:+86-755-82535174

User Manual

6) Starting asterisk by asterisk –vvvvvvvgc and run: zap show channels:

11

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

Page 12: OpenVox D210E D410E User Manual · OpenVox Communication Co. Ltd. Address: ... Futian District,ShenZhen ,Guangdong 518048,China Tel:+86-755-82535095,82535461,Fax:+86-755-82535174

User Manual

12

Chapter 3 References

www.openvox.com.cn

www.digium.com

www.asterisk.org

www.voip-info.org

www.asteriskguru.com

Trademarks and Copyrights in this user manual:

Asterisk® and Digium® are registered trademarks of Digium, Inc.

OpenVox® is a registered trademark of ShenZhen OpenVox Technologies LTD.

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

Page 13: OpenVox D210E D410E User Manual · OpenVox Communication Co. Ltd. Address: ... Futian District,ShenZhen ,Guangdong 518048,China Tel:+86-755-82535095,82535461,Fax:+86-755-82535174

User Manual

Chapter 4 Hardware Setting

13

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