OpenVox D210E Zaptel en

From Wiki

Jump to: navigation, search

Contents

D210E User Manual

Chapter 1 Overview

1. What is D210E

D210E is a high-performance, cost-effective two span digital voice card. It provides compact and powerful interface to asterisk that can support E1/T1/J1 and PRI interface.

With the improved I/O speed, the card reduces CPU usage and increased card density per server. D210E is fully compatible with Asterisk application. The open source driver supports an API interface for custom application development.

D210E 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:
1) Supporting PCI-Express
2) High Performance PCI BusMaster with up to 2Kbytes FIFO
3) Be easy to install: Support wct4xxp driver included in original zaptel without any patch

Certificates: CE, FCC

Misc:
1) Temperature Operation: 0 to 70°C
2) Temperature Storage: - 65 to 125°C
3) Humidity:10 TO 90% NON-CONDENSING
4) Voltage:3.3V
5) Power Dissipation Max:2.53W

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:
1) Voicemail services with Directory
2) Call Conferencing
3) Interactive Voice Response
4) Call Queuing
5) Support for three-way calling, caller ID services
6) ADSI, IAX, SIP, H.323, MGCP and SCCP/Skinny.

Chapter 2 Card Installation and Configuration

1. Hardware Installation and Setup
Before inserting the D210E card in to PC-express slot, customer should set the jumpers correctly. There are four points that customers should check:
1) SPAN Type Setup
P5 controls the function of each span at E1 or T1 mode.

2) Software Installation and Setup
D210E supports original zaptel wct4xxp driver. Customers can download zaptel driver from asterisk.org. There are few steps to install wct4xxp drivers.

Checking the hardware by command: lspci -v
Downloading and compiling, to make the asterisk and zaptel running, users have to download libpri, zaptel and asterisk. For more details about source of these packages, please visit the asterisk.org.

Note:
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.
Checking and installing these packages before proceeding with the installation of Asterisk.

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 one of the packages is missed, please install that as follow:

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++

Attention:if you found J914(input)and J915(output)interfaces on the card, it means the card support clock line, for the detail information, please refer to the following link:

http://bbs.openvox.cn/viewthread.php?tid=874&extra=page%3D1

Here,assuming the three packages are stored in /usr/src directory. Customers compile those packages as following in ORDER:

1. Installing libpri:

cd /usr/src/libpri
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

Loading wct4xxp driver for D210E, editing zaptel.conf:

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

# Global data
loadzone        = us
defaultzone     = us
modprobe zaptel
modprobe wct4xxp
ztcfg –vvvvvvvv
dmesg

Configuring zapata.conf and extensions.conf
1) 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

2) Edit the extensions.conf by vi /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]  // test outbound calls
exten => 200,1,Dial(zap/1/outgoing_number) // dial 200 to dialout from zap 1
exten => 200,2,Hangup

4) Starting asterisk by asterisk –vvvvvvvgc
after starting asterisk, please check the zap channels. Under asterisk console, check the status of card by these commands:

zap show channels. It should shows zap channels, if the zapata.conf is correct.
pri show spans. It will show the status of the physical connections. MUST be UP, active to make calls.   

Chapter 3 References

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

Test environment

Centos-5.0 
Kernel version: 2.6.18-8.el5
Zaptel: 1.4.XXX
Asterisk: 1.4.XXX
Hardware: OpenVox D210E
Personal tools