OpenVox A800P User manual

User Manual
User ManualUser Manual
User Manual
OpenVox Communication Co. Limited. URL: www.openvox.cn
1
深圳开源通信有限公司
深圳开源通信有限公司深圳开源通信有限公司
深圳开源通信有限公司
OpenVox
OpenVoxOpenVox
OpenVox-
--
-Best Cost Effective Asterisk Cards
Best Cost Effective Asterisk CardsBest Cost Effective Asterisk Cards
Best Cost Effective Asterisk Cards
OpenVox A800P
OpenVox A800POpenVox A800P
OpenVox A800P
A800E
A800E A800E
A800E A1200P
A1200PA1200P
A1200P
User Manual
User ManualUser Manual
User Manual
A800P
A800P A800P
A800P
A800E
A800E A800E
A800E
A1200P
A1200PA1200P
A1200P
Written by: James.zhu
Date:30/12/2008
Version: 0.03

User Manual
User ManualUser Manual
User Manual
OpenVox Communication Co. Limited. URL: www.openvox.cn
2
深圳开源通信有限公司
深圳开源通信有限公司深圳开源通信有限公司
深圳开源通信有限公司
OpenVox
OpenVoxOpenVox
OpenVox-
--
-Best Cost Effective Asterisk Cards
Best Cost Effective Asterisk CardsBest Cost Effective Asterisk Cards
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-82535095,82535461,Fax:+86-755-82535174
Business Hours: 9:00AM-18:00PM from Monday-Friday
URL:www.openvox.cn
T
TT
Thank You for Choosing OpenVox
hank You for Choosing OpenVox hank You for Choosing OpenVox
hank You for Choosing OpenVox Products
ProductsProducts
Products!
!!
!

User Manual
User ManualUser Manual
User Manual
OpenVox Communication Co. Limited. URL: www.openvox.cn
3
Table of Contents
Table of ContentsTable of Contents
Table of Contents
Chapter 1
Chapter 1Chapter 1
Chapter 1
Overview
OverviewOverview
Overview…………………………………………………………………
……………………………………………………………………………………………………………………………………
…………………………………………………………………
4
44
4
Chapter 2
Chapter 2Chapter 2
Chapter 2
Software
Software Software
Software Installation and
Installation and Installation and
Installation and Configuration
ConfigurationConfiguration
Configuration…………………………
……………………………………………………
…………………………
6
66
6
Chapter 3
Chapter 3Chapter 3
Chapter 3
Hardware Setting
Hardware Setting Hardware Setting
Hardware Setting ………………………………………………………
………………………………………………………………………………………………………………
………………………………………………………
1
11
12
22
2
Chapter 4
Chapter 4Chapter 4
Chapter 4
References
ReferencesReferences
References………………………………………………………………
………………………………………………………………………………………………………………………………
………………………………………………………………
1
11
15
55
5

User Manual
User ManualUser Manual
User Manual
OpenVox Communication Co. Limited. URL: www.openvox.cn
4
Chapter 1 Overview
Chapter 1 OverviewChapter 1 Overview
Chapter 1 Overview
1.
1.1.
1. W
WW
What is
hat is hat is
hat is A800P/
A800P/A800P/
A800P/A800E/
A800E/A800E/
A800E/A1200P
A1200PA1200P
A1200P
A800P/A800E/A1200P series is a modular analog telephony interface product. It is
designed to be the small to middle business PBX usage. For example, each A1200P can
have up to 12 ports per card, and user can install 4 pcs of A1200P in one PC to get
48 ports.
A800P/A800E/A1200P series must be used with FXO-100 or FXS-100 together to build
a workable system. The FXO-100 and FXS-100 modules are also pin to pin compatible
with X100M and S100M。
Key Benefits:
Low CPU Payload : below 25% with 8 PCs of A1200P(96 ports) after driver installed,
on a Celereon D 2.53Ghz
Scalable: just add additional cards to extend system
Be easy to use: module Pin to Pin compatible with Digium’s X100M and S100M. User
can use diguim's X100M/S100M module on this card, or use our FXO-100/ FXS-100 Module
on TDM1200P
Excellent choice of upgrade Digium’s TDM400P based Asterisk system to A1200P,
achieving 96 ports density or more in one PC, and protecting user investment by
directly making use of user investment on modules of TDM400P
RoHS compliant
Certificates: CE, FCC
trixbox Officially Certified
Misc:(for A800P)
Temperature Operation: 0 to 50°C
Temperature Storage: - 40 to 125°C
Humidity:10 TO 90% NON-CONDENSING
Voltage:3.3/5V/12V,3REN
Power Dissipation Max:1.7W/4W/23.2W
Misc:(for A800E)
Temperature Operation: 0 to 50°C
Temperature Storage: - 40 to 125°C
Humidity:10 TO 90% NON-CONDENSING
Voltage:3.3V
Power Dissipation Max:3.46W

User Manual
User ManualUser Manual
User Manual
OpenVox Communication Co. Limited. URL: www.openvox.cn
5
Misc: (for A1200P)
Temperature Operation: 0 to 50°C
Temperature Storage: - 40 to 125°C
Humidity:10 TO 90% NON-CONDENSING
Voltage:3.3V,5V
Power Dissipation Max:1.7W,6W
Disclaimers
Asterisk
®
is a registered trademark of Digium, Inc.
2.
2.2.
2. What is Asterisk:
What is Asterisk:What is Asterisk:
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
Figure 1: AsteriskFigure 1: Asterisk
Figure 1: Asterisk_OpenVox
_OpenVox_OpenVox
_OpenVox
S
SS
Setup
etupetup
etup
Asterisk provides Voicemail services with Directory, Call Conferencing, Interactive

User Manual
User ManualUser Manual
User Manual
OpenVox Communication Co. Limited. URL: www.openvox.cn
6
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).

User Manual
User ManualUser Manual
User Manual
OpenVox Communication Co. Limited. URL: www.openvox.cn
7
Chapter 2 Software
Chapter 2 SoftwareChapter 2 Software
Chapter 2 Software
Installation
InstallationInstallation
Installation
and Configuration
and Configurationand Configuration
and Configuration
1. Hardware Installation and Setup
Hardware Installation and SetupHardware Installation and Setup
Hardware Installation and Setup
There are 2 RJ45 interfaces for A800P/A800E and 3 RJ45 interfaces for A1200P
on the bracket. There are 4 corresponding modules supported on each jack on main
motherboard.
There are 8 pins on the each RJ45 socket. A800P/A800E/A1200P series uses the
2 pins of it as a pair, to connect to your 2-wire telephone line, so each RJ45
socket can connect 4 telephone lines. Please see figure 7 and figure 8 for the
setting of A800P/A800E/A1200P. User has to use a splitter (refer figure 4) to
connect RJ11 normal telephone line. If the card equips with a FXS, please plug
in the power supply cable into power supply connector and connecting PSTN line
into FXO port and telephone into FXS.
Attention:if you found J914(input)and J915(output)interfaces on the card,
it means the card support clock line.When you use timing cable, please make sure
the timing cable connection input on the first card and output on the second
card. For more detail information, please refer to the following link:
http://bbs.openvox.cn/viewthread.php?tid=874&extra=page%3D
2.
2.2.
2. Software Installation and Setup
Software Installation and SetupSoftware Installation and Setup
Software Installation and Setup
A800P/A800E/ A1200P series supports zaptel software device driver on Linux. To
use A800P/A800E/A1200P series, user should install zaptel and asterisk.
A800P/A800E/A1200P series device driver is a signal file named opvxa1200.c.
A800P/A800E and A1200P share the same driver (opvxa1200.c). It can be downloaded
from:
http://downloads.openvox.cn/pub/drivers/zaptel/patches/a800_a1200/
Before installing zaptel and asterisk, please make sure that some supporting
packages have been installed.
Note that if there is no kernel source in the system, user should install them.
User can run yum
yumyum
yum again:
yum install kernel
yum install kernelyum install kernel
yum install kernel-
--
-devel
develdevel
devel
.
It is time to check for the availability of some supporting packages:
rpm
rpm rpm
rpm -
--
-q bison
q bisonq bison
q bison
rpm
rpm rpm
rpm -
--
-q bison
q bisonq bison
q bison-
--
-devel
develdevel
devel

User Manual
User ManualUser Manual
User Manual
OpenVox Communication Co. Limited. URL: www.openvox.cn
8
rpm
rpm rpm
rpm -
--
-q ncurses
q ncursesq ncurses
q ncurses
rpm
rpm rpm
rpm -
--
-q ncurses
q ncursesq ncurses
q ncurses-
--
-devel
develdevel
devel
rpm
rpm rpm
rpm -
--
-q zlib
q zlibq zlib
q zlib
rpm
rpm rpm
rpm -
--
-q zlib
q zlibq zlib
q zlib-
--
-devel
develdevel
devel
rpm
rpm rpm
rpm -
--
-q openssl
q opensslq openssl
q openssl
rpm
rpm rpm
rpm -
--
-q openssl
q opensslq openssl
q openssl-
--
-devel
develdevel
devel
rpm
rpm rpm
rpm -
--
-q gnutls
q gnutlsq gnutls
q gnutls-
--
-devel
develdevel
devel
rpm
rpm rpm
rpm -
--
-q gcc
q gccq gcc
q gcc
rpm
rpm rpm
rpm -
--
-q gcc
q gccq gcc
q gcc-
--
-c++
c++c++
c++
If any of those packages are not installed install them by using yum
yum install bison
yum install bisonyum install bison
yum install bison
yum install bison
yum install bisonyum install bison
yum install bison-
--
-devel
develdevel
devel
yum install ncurses
yum install ncursesyum install ncurses
yum install ncurses
yum install ncurses
yum install ncursesyum install ncurses
yum install ncurses-
--
-devel
develdevel
devel
yum install zlib
yum install zlibyum install zlib
yum install zlib
yum install zlib
yum install zlibyum install zlib
yum install zlib-
--
-devel
develdevel
devel
yum install openssl
yum install opensslyum install openssl
yum install openssl
yum install openssl
yum install opensslyum install openssl
yum install openssl-
--
-devel
develdevel
devel
yum install gnutls
yum install gnutlsyum install gnutls
yum install gnutls-
--
-devel
develdevel
devel
yum install gc
yum install gcyum install gc
yum install gcc
cc
c
yum install gcc
yum install gccyum install gcc
yum install gcc-
--
-c++
c++c++
c++
User can install the driver via the following steps (assuming use has the source
code of zaptel device driver installed in /usr/src/zaptel-1.4.XX directory):
1) Checking the A800P/A800E/A1200P hardware by command: lspci
lspci lspci
lspci –
––
–v
vv
vvvvv
vvvvvvvv
vvvv
From the figure 2, user can see that there is a device called communication
controller interface be found.
Figure 2: hardware detection
Figure 2: hardware detectionFigure 2: hardware detection
Figure 2: hardware detection

User Manual
User ManualUser Manual
User Manual
OpenVox Communication Co. Limited. URL: www.openvox.cn
9
2) Downloading and compiling
1. Copy opvxa1200.c to /usr/src/zaptel-1.4.XX/kernel.
2. Modify /usr/src/zaptel-1.4.XX/makefile:
Find the line start with TOPDIR_MODULES=
Add opvxa1200. Before editing, the Makefile should be like this:
TOPDIR_MODULES:=zaptel tor2 torisa wcusb wcfxo wctdm wctdm24xxp \
ztdynamic ztd-eth wct1xxp wct4xxp wcte11xp pciradio \
ztd-loc # ztdummy
After modified, it looks like
TOPDIR_MODULES=zaptel tor2 torisa wcusb wcfxo wctdm wctdm24xxp \
ztdynamic ztd-eth wct1xxp wct4xxp wcte11xp pciradio \
opvxa1200
opvxa1200opvxa1200
opvxa1200 \
Find the line: ztmonitor.o: kernel/zaptel.h
After that line, add another a new line:
opvxa1200.o :
opvxa1200.o : opvxa1200.o :
opvxa1200.o : kernel/
kernel/kernel/
kernel/zaptel.h
zaptel.h zaptel.h
zaptel.h
kernel/
kernel/kernel/
kernel/wctdm.h
wctdm.hwctdm.h
wctdm.h
Modify zaptel.sysconfig in /usr/src/zaptel-1.4.XX directory.
Add the following line
MODULES="$MODULES opvxa1200" # OPENVOX A1200P
Save the Makefile and exit your editor
3. Under /usr/src/zaptel-1.4.XX, execute the commands:
./configure
./configure./configure
./configure
make
makemake
make
make install
make installmake install
make install
make config
make configmake config
make config
4. Installing asterisk
cd /usr/src/
cd /usr/src/cd /usr/src/
cd /usr/src/asterisk
asteriskasterisk
asterisk-
--
-1.4.XX
1.4.XX1.4.XX
1.4.XX
./configure
./configure./configure
./configure
make
makemake
make
make install
make installmake install
make install
make config
make configmake config
make config
5. Detect and load modules for opvxa1200:
./genzaptelconf
./genzaptelconf ./genzaptelconf
./genzaptelconf –
––
–s
ss
sd
dd
dvM
vMvM
vM under /usr/src/zaptel-1.4.XX/kernel/xpp/utils
The command will automatically generate the zaptel.conf under /etc and
zapata-channels.conf under /etc/asterisk for you. But be sure, sometimes,
due to some reasons, it can not work perfectly. Please check the setting
of zaptel.conf, it looks like this:

User Manual
User ManualUser Manual
User Manual
OpenVox Communication Co. Limited. URL: www.openvox.cn
10
Figure 3: zaptel.conf
Figure 3: zaptel.confFigure 3: zaptel.conf
Figure 3: zaptel.conf
m
mm
modprobe zaptel
odprobe zaptelodprobe zaptel
odprobe zaptel
m
mm
modprobe opvxa1200
odprobe opvxa1200odprobe opvxa1200
odprobe opvxa1200
z
zz
ztcfg
tcfg tcfg
tcfg –
––
–vvvv
vvvvvvvv
vvvv
After loading zaptel and opvxa1200 driver, user should check the zapata.conf
and zapata-channels.conf, make sure the zapata-channels.cnf has been
included into zapata.conf.
..
.
zapata-channels.conf should be same with figure
4, and make sure that the context in zapata-channels.conf should exists in
extensions.conf

User Manual
User ManualUser Manual
User Manual
OpenVox Communication Co. Limited. URL: www.openvox.cn
11
Figure 4:
Figure 4: Figure 4:
Figure 4: Zapata
ZapataZapata
Zapata-
--
-channels.conf
channels.confchannels.conf
channels.conf
6. Starting asterisk and test calls
Checking the zap channel loading from asterisk console:
asterisk
asterisk asterisk
asterisk –
––
–vvvvvvvgc
vvvvvvvgcvvvvvvvgc
vvvvvvvgc
Entering asterisk console, run command: zap show channels. If user can see
the zap channels, which means the zap channels have been loaded into
asterisk.

User Manual
User ManualUser Manual
User Manual
OpenVox Communication Co. Limited. URL: www.openvox.cn
12
Figure 5: zap_show_channels
Figure 5: zap_show_channelsFigure 5: zap_show_channels
Figure 5: zap_show_channels
Figure 6: inbound call
Figure 6: inbound callFigure 6: inbound call
Figure 6: inbound call

User Manual
User ManualUser Manual
User Manual
OpenVox Communication Co. Limited. URL: www.openvox.cn
13
Chapter
Chapter Chapter
Chapter 3
33
3
Hardware Setting
Hardware SettingHardware Setting
Hardware Setting
Figure
Figure Figure
Figure 7
77
7:
: :
: A800P
A800PA800P
A800P
Hardware Configuration
Hardware ConfigurationHardware Configuration
Hardware Configuration
Notice: A800P V1.2 above and A800E have eight RJ11 interfaces, which do not need
to connect with splitter.

User Manual
User ManualUser Manual
User Manual
OpenVox Communication Co. Limited. URL: www.openvox.cn
14
Figure 8
Figure 8Figure 8
Figure 8:
: :
: A1200P
A1200PA1200P
A1200P
Hardware Configuration
Hardware ConfigurationHardware Configuration
Hardware Configuration
Figure 9
Figure 9Figure 9
Figure 9:
::
:
A800P/
A800P/A800P/
A800P/A1200P
A1200P A1200P
A1200P Splitter
Splitter Splitter
Splitter

User Manual
User ManualUser Manual
User Manual
OpenVox Communication Co. Limited. URL: www.openvox.cn
15
Notes:
Notes:Notes:
Notes:
T
TT
Test
est est
est environment
environmentenvironment
environments are:
s are:s are:
s are:
Centos-5.0
Kernel version: 2.6.18-8.el5
Zaptel: 1.4.12.1
Asterisk: 1.4.20.1
Hardware: OpenVox A1200P
Some problems with compiling A800P/A800E/A1200P have been summarized and documented
into FAQ of A800P/A800E/A1200P; please check that under A800P/A800E/A1200P
categories.

User Manual
User ManualUser Manual
User Manual
OpenVox Communication Co. Limited. URL: www.openvox.cn
16
C
CC
Chapter
hapter hapter
hapter 4
44
4
References
ReferencesReferences
References
www.openvox.cn
www.digium.com
www.asterisk.org
www.voip-info.org
www.asteriskguru.com
Other manuals for A800P
1
This manual suits for next models
2
Table of contents
Other OpenVox PCI Card manuals

OpenVox
OpenVox DAHDI D110P User manual

OpenVox
OpenVox G400E User manual

OpenVox
OpenVox B200P User manual

OpenVox
OpenVox B400P User manual

OpenVox
OpenVox D210P User manual

OpenVox
OpenVox A400M Series User manual

OpenVox
OpenVox B400P User manual

OpenVox
OpenVox DE410E User manual

OpenVox
OpenVox B200E User manual

OpenVox
OpenVox B100E on DAHDI User manual