OpenVox A400E on DAHDI User manual

A400E on DAHDI User ManualA400E on DAHDI User Manual
OpenVox Communication Co.LtdOpenVox Communication Co.Ltd
A400E on DAHDI User ManualA400E on DAHDI User Manual
Version: 2.2Version: 2.2

A400E on DAHDI User ManualA400E on DAHDI User Manual
OpenVox Communication Co.LtdOpenVox Communication Co.Ltd
OpOp
ee
nVnV
oo
xx
--
BB
ee
st st
CC
oo
st st
EE
ffff
ee
ctct
ii
vv
e e
AA
stst
ee
rr
ii
sk sk
CC
aa
rr
dd
ss
AddressAddress
: F/3, : F/3,
BuBu
ii
ll
dd
ing ing
NoNo
.127.127
, ,
JinJin
di di
InduIndu
strial strial
ZonZon
e,e,
Shazui RoadShazui Road
, ,
Futian DiFutian Di
strict, strict,
ShenzhShenzh
ee
n, n,
GuangGuang
dong dong
518518
048048
, ,
ChinChin
aa
Tel:+86-755-82535461, 82535095, 82535362, Fax:+86-755-83823074Tel:+86-755-82535461, 82535095, 82535362, Fax:+86-755-83823074
Business Contact: sales@openvox.com.cnBusiness Contact: sales@openvox.com.cn
Technical SupportTechnical Support
: support@openvox.com.cn: support@openvox.com.cn
BusiBusi
ness ness
Hours: 09:00-Hours: 09:00-
18:0018:00
(GMT+8(GMT+8
) from ) from
MondaMonda
y y
to to
FridayFriday
URL: www.openvox.cnURL: www.openvox.cn
Thank YThank Y
ou ou
for for
ChoosiChoosi
ng ng
OpenVOpenV
ox Products!ox Products!

A400E on DAHDI User Manual
Copyright
Copyright
©
2011 OpenV
ox
In
c. All r
ights res
erved. N
o part of this document may be
reprodu
ced without prior written permiss
ion.
Confidentiality
Information contained herein is of a highly sensitive nature and is confidential and
proprietary to OpenVox Inc. No part may be distributed, reproduced or disclosed
orally or in written form to any party other than the direct recipients without the
express written consent of OpenVox Inc.
Disclaimer
OpenV
ox Inc.
reserves the right to
modify the design, c
haracteristics, and
produ
cts
at
any time without notification or obligation and shall not be held liable for any error or
damage of any kind resulting from the use of this document.
OpenVox has made every effort to ensure that the information contained in this
document is acc
urate and complete; ho
wever, the c
onten
ts of
this document are
subject to revision without notice. Please contact OpenVox to ensure you have the
latest version of this document.
Trademarks
A
ll oth
er trade
marks
menti
one
d in t
his d
ocumen
t ar
e th
e prop
erty o
f th
eir respe
ctive
owners.

A400E on DAHDI User Manual
Contents
Gener
al
Safety
Instruct
ions
....................
.........................
.........................
..................
4
Test
En
vironm
e
nt
s
...................
.........................
.........................
.....................
............. 5
Ch
apte
r
1
Ove
r
vie
w ..........
.........................
......................
........................
.................... 6
1.1
Wh
at
is
Asterisk
....................
.........................
........................
......................
..... 6
1.2
Wh
at
is
A400E .............................
.........................
........................
....................
7
Ch
apte
r
2
Hardware
Setup .....................
.........................
........................
.................
10
2.1
Power
supply
.....................
.........................
.........................
.....................
....... 10
2.2
Sl
ot
compatibility .............................
.........................
........................
.............. 10
2.3
Ti
ming
cab
l
e
......................
.........................
........................
......................
....... 11
2.4
FXO
an
d
FXS
m
odules .....................
........................
.........................
............. 1
1
2.5
Har
dware
set
u
p
procedure
....................
.........................
.........................
........
12
Ch
apte
r 3
Softwar
e
In
stallatio
n and
Configura
tion ..........
.........................
............
14
3.1
Downlo
ad
......................
.........................
.........................
.....................
........... 14
3.2
Inst
a
llation........................
.........................
.........................
.........................
.... 15
3.3
Configur
atio
n
....................
.........................
.........................
.....................
....... 19
Ch
apte
r
4
Re
feren
ce
....................
.........................
.........................
.....................
....... 26
App
endix
A
Specificati
o
n
s
..................
.........................
........................
.....................
27
App
endix
B
PI
N
Assignm
ents .................
.........................
.....................
....................
28

A400E on DAHDI User Manual
General Safety Instructions
CAUTION
1.
The computers that have A400E card installed must comply with
the country
’
s
specific safety
regulation
s.
2.
Only service person
nel s
hou
ld
go to i
nstall A400E card.
3.
Before installing A400E card, please unplug the power cord and
remove the cover from your PC
.
4.
For avoiding personal injuries and damages to your machine and
A400E card, make sure bracket of the card is secured to the PC
’
s
chass
is
grou
nd b
y fa
stening the
card with
a sc
rew
.
5.
Elec
trical Sur
ges
, ESD
are very destructive to the equipment
.
To
avoid it, make sure there is a low impedance discharge path from
your computer to chassis ground.
6.
To reduce the risk of damage or injury, please follow all steps or
procedures as instructed.

A400E on DAHDI User Manual
Test Environments
CentOS-5.6
Kernel version: 2.6.18-238.12.1.el5
DAHDI: dahdi-linux-complete-current
Asterisk:
1.8.0
Hardware:
Op
enV
o
x
A400E

A400E on DAHDI User Manual
# make ins
tall
# make sam
ples
"
make samples
"
will install the standard
sample
configuration
file in the directory /etc/asterisk. As a
freshma
n,
you s
houl
d p
erform ma
ke s
ampl
es, that is to s
ay
,
it is unnecessary to perform make samples every time. Because once
perform
ed, i
t
wi
l
l
co
ve
r
the old sam
ple confi
gur
ati
on
fi
l
es
you
hav
e
installed.
3.3
Configur
ation
1. D
riv
er loading
After co
mpil
in
g
and i
nstalli
ng
DA
HD
I
and Asterisk, please load the
driver by running:
# modp
robe d
ahdi
# modprobe wctdm opermode=CHINA
# dahdi_genconf
After running
"
modprob
e
dahdi
"
or
"
modprob
e w
ctdm
opermode=CHINA
"
, there is not any indication
i
nformation
disp
la
yed i
f loaded normall
y
and
s
ucc
ess
ful
l
y.

A400E on DAHDI User Manual
"
wctdm
"
is the driver module name of A400E.
"
opermode
"
appli
es
to
FXO port and i
s
i
nva
l
i
d
for F
XS
po
rt, and you are all
owed
to take place
of
"
CHINA
"
to o
ther mod
e
name whi
c
h is avai
lable
in the fil
e:
../dahdi-linux-XX/linux/drivers/dahdi/fxo_modules.h
If there i
s any erro
r, pl
ease
trace the cause. Unti
l
al
l erro
rs are clear up,
you c
ould exe
cute
"
dahdi_genconf
"
again, and then go to the next step.
By running
"
dahdi_genconf
"
,
it
wi
ll generate /etc
/dahd
i/system.
co
nf
and
etc/asterisk/dahdi-channels.conf automatically. Checking whether the
generated fil
es
in
formation
agrees wi
th
your hardware setup
,
if not,
you
sho
ul
d modify to your
sp
ecifi
c
requi
rem
ents.
Do not forget to c
onfir
m
dahdi-channels.conf is included in chan_dahdi.conf, if not, run command:
# echo "#include
dahdi-ch
annels.conf" >>
/etc/asterisk/chan_dahdi.conf
FXO ports use FXS signa
l
i
ng,
wh
i
l
e
FXS
po
rts
ado
pt FXO signal
i
ng.
A
part of
system.conf
wh
i
ch
i
s
one
of the basi
c chan
nel co
nfi
gu
rat
i
on
fi
l
es
is displayed.

A400E on DAHDI User Manual
# Span 1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER)
fxoks=1
fxoks=2
fxsks=3
fxsks=4
# Global data
loadzone
=
us
defaultzon
e
=
us
Figur
e
6 A pa
rt of sys
te
m.conf
2. Country mode modification
In ord
er
to mat
ch
your co
untry
pattern,
you ne
ed to c
hang
e
paramet
ers
l
oadzo
ne and d
efau
l
tzone
to yo
ur co
untry
. Fo
r e
xam
ple,
your s
ystem i
s
i
n
CHINA, you would like them change to:
loadzone = cn
defaultzone = cn
S
o
me
zo
ned
ata i
s avail
ab
le
in the fi
le
.. /dahdi-XX/tools/zonedata.c, you can refer to it to match
your c
ountry mod
e.
Mean
whi
le
,
you a
lso need to mod
i
fy
another parameter which is in file
/etc/asterisk/indications.conf.
country=cn

A400E on DAHDI User Manual
A
part o
f fi
l
e
/etc/asteri
sk/d
ahdi
-channel
s.
co
nf
i
s
sho
wed
as b
el
ow
.
(Modification, if it is not agree with the hardware setup)
span 1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5"
(MASTER)
;;; line="1 WCTDM/4/0 FXOKS"
signalling=fxo_ks
callerid="Channel 1" <4001>
mailbox=40
01
group=5
context=from-internal
channel => 1
callerid=
mailbox=
group=
context=default
;;; line="2 WCTDM/4/1 FXOKS"
signalling=fxo_ks
callerid="Channel 2" <4002>
mailbox=40
02
group=5
context=from-internal
channel => 2
callerid=
mailbox=
group=
context=default
;;; line="3 WCTDM/4/2 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 3
callerid=
group=
context=default
;;; line="4 WCTDM/4/3 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 4
callerid=
group=
context=default
Figure 7 A part of dahdi-channels.conf

A400E on DAHDI User Manual
Chapter 4
Reference
www.openvox.cn
www.digium.com
www.asterisk.org
www.voip-info.org
www.asteriskguru.com
Tips
Any quest
i
ons during i
nstall
ation
please co
nsult i
n our forum or
look up
for an
swers fro
m
the fo
l
lowi
ng
webs
ites:
Forum
wiki

A400E on DAHDI User Manual
Appendix A
Specifications
•
Weight and size
Wei
ght:
89g
(3.1
4o
z)
Size:
13.8×11.1×1.
8cm
(5.43×4.
37×0.71
in
ch)
•
Interfaces
PCI-E B
us: Be
co
mpati
ble w
i
th
PCI
-E ×1, ×2, ×4, ×8, ×16
Power Supply Connect: 12V 4-pin connector (When any FXS modules
are installed)
Local Loop Access: Four industry standard RJ-11 ports
•
Environment
Temperature:
0
~50°C
(Op
erati
on)
-
40
~125°C
(Sto
rage)
Humi
d
ity:
10
~90%
NON-CO
NDEN
SI
NG
•
Pow
er co
nsum
pti
on
Voltage: 3.3/12V, 3REN
Maximum power dissipation: 2.06W/11.6W
•
Hard
ware a
nd s
oftware requi
rement
s
RAM
128
+
MB
CP
U
800+
MHZ
Li
nux kernel
2.4.X or
2.6.X

A400E on DAHDI User Manual
Appendix B
PIN
Assignment
s
Either 4-pin or 6-pin RJ11 port is compatible with A400E, let
’
s illustrate
pin assig
nm
ent
s
of RJ1
1 port by
the
fol
l
owi
ng
tabl
es.
4-pin RJ11 port
4-pin
RJ11
por
t
P
IN
Desc
r
ip
tion
1
2
3
4
1
Not
used
2 Tip
3 Ring
4
Not
used
6-pin RJ11 port
6-pin
RJ11
por
t
P
IN
Desc
r
ip
tion
1
6
1
Not
used
2
Not
used
3 Tip
4 Ring
5
Not
used
6
Not
used
Table of contents
Other OpenVox Computer Hardware manuals