ATCOM AX1D User manual

AX1D+EC32
ATCOM
ATCOM
ATCOM
ATCOM
®
®
®
®
Digital
Digital
Digital
Digital Card
Card
Card
Card AX
AX
AX
AX 1D/AXE1D
1D/AXE1D
1D/AXE1D
1D/AXE1D
Product
Product
Product
Product Guide
Guide
Guide
Guide
25/06/2011
Written by Robert.Ao

www.atcom.cn 1
Content
CONTACT
CONTACT
CONTACT
CONTACT ATCOM
ATCOM
ATCOM
ATCOM
......................................................................................................................................
......................................................................................................................................
......................................................................................................................................
......................................................................................................................................
2
2
2
2
CHAPTER
CHAPTER
CHAPTER
CHAPTER 1
1
1
1 THE
THE
THE
THE INTRODUCTION
INTRODUCTION
INTRODUCTION
INTRODUCTION OF
OF
OF
OF AX1D
AX1D
AX1D
AX1D
...............................................................................................
...............................................................................................
...............................................................................................
...............................................................................................
3
3
3
3
CHAPTER
CHAPTER
CHAPTER
CHAPTER 2
2
2
2 HARDWARE
HARDWARE
HARDWARE
HARDWARE INTRODUCTION
INTRODUCTION
INTRODUCTION
INTRODUCTION
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
5
5
5
5
CHAPTER
CHAPTER
CHAPTER
CHAPTER 3
3
3
3 SOFTWARE
SOFTWARE
SOFTWARE
SOFTWARE INSTALLATION
INSTALLATION
INSTALLATION
INSTALLATION
.....................................................................................................
.....................................................................................................
.....................................................................................................
.....................................................................................................
9
9
9
9
CHAPTER
CHAPTER
CHAPTER
CHAPTER 4
4
4
4 SOFTWARE
SOFTWARE
SOFTWARE
SOFTWARE CONFIGURATION
CONFIGURATION
CONFIGURATION
CONFIGURATION
..............................................................................................
..............................................................................................
..............................................................................................
..............................................................................................
11
11
11
11
CHAPTER
CHAPTER
CHAPTER
CHAPTER 6
6
6
6 REFERENCE
REFERENCE
REFERENCE
REFERENCE
...........................................................................................................................
...........................................................................................................................
...........................................................................................................................
...........................................................................................................................
14
14
14
14

www.atcom.cn 2
C
C
C
C ontact
ontact
ontact
ontact ATCOM
ATCOM
ATCOM
ATCOM
T he Introduction of ATCOM
Founded in 1998, ATCOM technology has been always endeavoring in the R&D and
manufacturing of the internet communication terminals. The product line of ATCOM includes IP
Phone , USB Phone, IP PBX,
VoIP
gateway and Asterisk Card.
C ontact sales:
Address District C, east of 2nd floor, #3, Crown industry buildings, Chegongmiao
Industry area, Futian district, Shenzhen, China
Tel + (86 ) 755-23487618
Fax + (86)755-23485319
E-mail sales@atcomemail.com
C ontact Technical Support:
Tel + (86)755-23481119
E-mail Support@atcomemail.com
W
ebsite address: http://www.atcom.cn/
ATCOM Wiki Website: http://www.openippbx.org/index.php?title=Main_Page
Download Center: http://www.atcom.cn/download.html

www.atcom.cn 3
C
C
C
C hapter
hapter
hapter
hapter 1
1
1
1 the
the
the
the Introduction
Introduction
Introduction
Introduction of
of
of
of AX1D
AX1D
AX1D
AX1D
Overview
Overview
Overview
Overview of
of
of
of the
the
the
the AX1D
AX1D
AX1D
AX1D
AX 1D Asterisk card is the telephony PCI card which support s one ISDN PRI E1 / T1 /J1 port ,
optional with teleco-grade hardware echo cancellation. Using AX 1D digital PRI card, open source
Asterisk PBX and stand alone PC, users can create their IP PBX telephony solution include all the
sophisticated features of traditional PBX, and extend features such as voicemail in IP PBX.
Features
Features
Features
Features
One ISDN PRI E1 /T1/J1 port
Support Dahdi, Zaptel(need to patch)
Support Asterisk, Freeswitch
Support Elastix directly
Trixbox, AsteriskNOW, PBX in a Flash by reinstalling Dahdi
100% compatible with all features of Asterisk PBX
32-bit bus master DMA data exchanges across PCI interface at 132 Mbytes/sec for minimum host
processor intervention
Supports standard telephony and data protocols(Including PRI , CAS, CCS for voice and
PPP,
HDLC, Cisco HDLC and Frame Relay for data modes)
Supports chan_ss7 and Openr2
O ptional hardware echo cancellation
Select the hardware echo cancellation direction
Applications
Applications
Applications
Applications
ISDN PRI IP PBX
ISDN least cost router
Calling Card Platforms
IVR system
Call Center
Traditional Calls/VoIP Calls Conference
VoIP
Gateway
Callback Service
O
O
O
O ptional
ptional
ptional
ptional DSP
DSP
DSP
DSP Hardware
Hardware
Hardware
Hardware Echo
Echo
Echo
Echo Cancell
Cancell
Cancell
Cancell ation
ation
ation
ation Module
Module
Module
Module
G.168 – 2002 echo cancellation in hardware
1024 taps/128 ms tail per channel on all channel densities
DTMF decoding and tone recognition
Voice quality enhancement: music protection, acoustic echo control, and adaptive noise reduction
Does not increase the physical size of the card, and no additional slot is required

www.atcom.cn 4
V
V
V
V
oice
oice
oice
oice Modes
Modes
Modes
Modes
P ri CPE and PRI NET:
EuroISDN
4ESS(AT&T)
5ESS(Lucent)
DMS100
H
H
H
H ardware
ardware
ardware
ardware Requirement
Requirement
Requirement
Requirement
1.6-Ghz Pentium IV
512 MB RAM
3.3V or 5V PCI 2.2 slot
PCI
PCI
PCI
PCI C
C
C
C ard
ard
ard
ard D
D
D
D imension
imension
imension
imension
1 31.5 mm (Length) * 9 4 mm (height)
O
O
O
O perating
perating
perating
perating System
System
System
System
Linux (all versions, releases and distributions from 1.0 up)

www.atcom.cn 5
C
C
C
C hapter
hapter
hapter
hapter 2
2
2
2 Hardware
Hardware
Hardware
Hardware Introduction
Introduction
Introduction
Introduction
AX1D
The Front and Rear View of EC32
LED Red: If the driver of the card is loaded correctly and the /etc/dahdi/system.conf file is
configured correctly, the LED Red of the four ports will be red clearly.
LED Green: If the PRI line is connected correctly, and it synchronizes to the other end
successfully, then the LED Green will be green clearly.
If the PRI line is connected correctly, and it is synchronizing to the other end, then both of the
LED Green and LED Red will be on clearly.

www.atcom.cn 6
SW1: It is used for selecting E1, T1, J1 mode, by default ATCOM will set it up according to your
requirement before shipping out. Customer can set up E1, T1/J1 like the following:
For E1 Mode For T1 and J1 Mode
SW2: It is used when you have more than one PRI card in your server, if you have two cards in
your server, then turn it to 0 in one card, and turn it to 1 in the other card; if you have four cards in
your server, then turn it to 0,1,2,3 respectively.
SW3: It is used to select the hardware echo cancelation direction, by default we set it up to delete
the echo for local side, if customers want to delete the echo for the far end side, please turn the
buttons to on state.
D elete the echo for local side Delete the echo for the far end side

www.atcom.cn 7
J17, J18: They are used to connect to other cards, when you have several cards in your server.
U sing clock line to connect each other, all of the cards work in one server can synchronize
accurately. If customer have PRI card and analog card in one server, the analog card can
synchronize accurately with telecom in this way, and it is useful for fax.
J18 and J17
JP5: It is used for selecting the PCI power feeding for the card, by default we choose the 3.3v for
the card, customer do not need to reset the jumper; the card can also choose 5.0v for power feedin
g in the case that the 3.3v in the motherboard of PC is not enough for the card, but this
phenomenon happens rarely.
For Choosing 3.3v Power For Choosing 5.0v Power

www.atcom.cn 8
JP4: It is used for selecting the power feeding for the hardware echo cancellation module, by
default we choose the 3.3v for the module, customer do not need to reset the jumper; the module
can also choose 5.0v for power feeding in the case that the 3.3v in the motherboard of PC is not
enough for the card, but this phenomenon happens rarely.
For Selecting 3.3v Power
For Selecting 5.0v Power

www.atcom.cn 9
C
C
C
C hapter
hapter
hapter
hapter 3
3
3
3 Software
Software
Software
Software Installation
Installation
Installation
Installation
T
est Environment:
libpri-1.4.10.2
dahdi-linux-complete-2.4.1.2+2.4.1
asterisk-1. 6.2.6
centos 5.4 (kernel version: 2.6.18-164.el5 )
A fter inserting the card into your PCI slot and boot your server, please use the “ lspci ” command to
check the PCI bus compatibility. From the correct output, you can see the following line:
----------------------------------------------------------------------------------------------------------------------
05:04.0 Communication controller: Device 1b74:0115 (rev 02)
----------------------------------------------------------------------------------------------------------------------
T he TE410P will be found, if you can not see one line like the line above, please poweroff your
server and try to use another PCI slot, if it still does not help, you have to check the compatibility
issue between the card and your PCI bus.
1. To install asterisk and dahdi, we have to use “ yum ” command to install the following
prerequisite packages:
bison bison-devel zlib zlib-devel openssl openssl-devel gnutls-devel gcc gcc-c++
2. Download libpri , dahdi-linux-complete-2.4.1.2+2.4.1.tar.gz , and asterisk
[root@localhost src]#
wget http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.4.10.2.tar.gz
Please download dahdi-linux-complete from ATCOM website.
[root@localhost src]#
Wget
http://www.atcom.cn/cn/download/cards/ax1d/dahdi-linux-complete-2.4.1.2+2.4.1-3.0.tar.gz
[root@localhost src]#
wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1. 6 . 2 . 6. tar.gz
3. I nstall libpri
1) [root@localhost src]# tar -xvzf libpri-1.4.10.2.tar.gz
2) [root@localhost libpri-1.4.10.2]# make
3) [root@localhost libpri-1.4.10.2]# make install
4. Install dahdi-linux and dahdi-tools
1) [root@localhost src]# tar -xvzf dahdi-linux-complete-2.4.1.2+2.4.1.tar.gz
2) [root@localhost dahdi-linux-complete-2.4.1.2+2.4.1]# make
3) [root@localhost dahdi-linux-complete-2.4.1.2+2.4.1]# make install
4) [root@localhost dahdi-linux-complete-2.4.1.2+2.4.1]# make config

www.atcom.cn 10
5. I nstall asterisk
1) [root@localhost src]# tar -xvzf asterisk-1. 6.2.6 .tar.gz
2) [root@localhost asterisk-1. 6 .2 .6 ]# ./configure
3) [root@localhost asterisk-1. 6.2.6 ]# make
4) [root@localhost asterisk-1. 6.2.6 ]# make install
5) [root@localhost asterisk-1 .6.2.6 ]# make samples

www.atcom.cn 11
C
C
C
C hapter
hapter
hapter
hapter 4
4
4
4 Software
Software
Software
Software Configuration
Configuration
Configuration
Configuration
1. P lease use the “ dahdi_genconf ” command to configure the /etc/dahdi/system.conf file and
generate /etc/asterisk/dahdi-channels.conf file.
[root@localhost ~]# dahdi_genconf
It does not show any output if dahdi_genconf run successfully.
After running dahdi_genconf successfully, the system.conf file will get the following
configuration:
/etc/dahdi/system.conf:
After running dahdi_genconf successfully, the dahdi-channels.conf file will get the following
configuration:
; Span 1: AX1D/0/1 "AX1D (E1|T1) 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
2. Please add the following line in the end of chan_dahdi.conf file
#include dahdi-channels.conf
# Autogenerated by /usr/sbin/dahdi_genconf do not hand edit
# This file is parsed by the Dahdi Configurator, dahdi_cfg
# Span 1: AX1D/0/1 "AX1D (E1|T1) Card 0 Span 1" (MASTER)
span=1,1,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16
#echocanceller=mg2,1-15,17-31
# Global data
loadzone = us
defaultzone = u s

www.atcom.cn 12
3. Please run asterisk with the following command :
asterisk
asterisk -vvvgrc
reload
4. Please run dahdi show channels command
Y
ou should see 31 channels
5. How to check if the hardware echo cancellation works or not
1) W hen you plug the EC128 into AX4D, please do not need to press hard, because the pin
is a little longer than the slot.
2) A fter booting your server with the AX4D and EC128, please run dmesg command to
check if the hardware is detected by dahdi or not.
Y
ou can get the following red
information.
VPM450: echo cancellation for 32 channels
AX1D 0000:05:04.0: VPM450: hardware DTMF disabled.
AX1D 0000:05:04.0: VPM450: Present and operational servicing 1 span(s)
3) W hen you are using hardware echocancellation, please disable the software
echocancellation in /etc/dahdi/system.conf, and enable the echocancel=yes line in
/etc/asterisk/chan_dahdi.conf file. After setting, please restart dahdi and asterisk.
4) R un asterisk, and make a call with channel 1, you can get the following information
marked with red line, if the EC32 is working.
Notice: If you enable the software echocancellation, you can also get the following red
lines, so please disable the software echocancellation when you use EC32.
localhost*CLI> dahdi show channel 1
Channel: 1
File Descriptor: 17
Span: 1
Extension: 300
Dialing: no
Context: from-pstn
Caller ID: 900
Calling TON: 33
Caller ID name: 900
Mailbox: none
Destroy: 0
InAlarm: 0
Signalling Type: ISDN PRI
Radio: 0
Owner: DAHDI/1-1

www.atcom.cn 13
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

www.atcom.cn 14
C
C
C
C hapter
hapter
hapter
hapter 5
5
5
5 Reference
Reference
Reference
Reference
http://www.asteriskguru.com/
http://www.asterisk.org/downloads
http://www.openippbx.org/index.php?title=Main_Page
http://www.atcom.cn/
Other manuals for AX1D
1
This manual suits for next models
1
Table of contents
Other ATCOM PCI Card manuals