OpenVox B100P User manual

B100P on DAHDI User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
OpenVox Communication Co.Ltd
B100P on DAHDI User Manual
Version: 2.2

B100P on DAHDI User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
1
OpenVox Communication Co.Ltd
OpenVox-Best Cost Effective Asterisk Cards
Address: F/3, Building No.127, Jindi Industrial Zone,
Shazui Road, Futian District, Shenzhen, Guangdong 518048, China
Tel:+86-755-82535461, 82535095, 82535362, Fax:+86-755-83823074
Business Contact: sales@OpenVox.com.cn
Technical Support: support@OpenVox.com.cn
Business Hours: 09:00-18:00(GMT+8) from Monday to Friday
URL: www.OpenVox.cn
Thank You for Choosing OpenVox Products!

B100P on DAHDI User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
2
Copyright
Copyright© 2011 OpenVox Inc. All rights reserved. No part of this document maybe
reproduced without prior written permission.
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 formto any party other than the direct recipients without the
express written consentof OpenVox Inc.
Disclaimer
OpenVox Inc. reserves the right to modify the design, characteristics,andproducts at
any time without notification or obligation and shall not be held liable for any error or
damage of any kind resulting from the useof this document.
OpenVox has made every effort to ensure that the information contained in this
document is accurate and complete; however, the contents of this documentare
subject to revision without notice. Please contact OpenVox to ensure you have the
latest version of this document.
Trademarks
All other trademarks mentioned in this document are the property of their respective
owners.

B100P on DAHDI User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
3
Contents
General Safety Instructions ........................................................................................4
Test Environments.......................................................................................................5
Chapter1 Overview.....................................................................................................6
1.1 What is Asterisk ................................................................................................6
1.2 What is B100P ..................................................................................................7
Chapter2 Hardware Setup.........................................................................................9
2.1 Power supply.....................................................................................................9
2.2 Slot compatibility..............................................................................................9
2.3 Adjusting Termination of S/T Interface (100 ohm).........................................10
2.4 Hardware setup procedure ..............................................................................10
Chapter 3 Software Installation and Configuration...............................................12
3.1 Download........................................................................................................12
3.2 Installation.......................................................................................................14
3.3 Configuration..................................................................................................18
Chapter4 Reference ..................................................................................................23
Appendix A Specifications ........................................................................................24
Appendix B PIN Assignments...................................................................................25

B100P on DAHDI User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
4
General Safety Instructions
CAUTION
1. The computers that have B100P card installed must comply with
the country’s specific safety regulations.
2. Only service personnel should install B100P card.
3. Before you install B100P card, please unplug the power cord from
the computer and remove the cover from your PC.
4. For avoiding personal injuries and damage to your computer and
B100P card, make sure bracket of the card is secured to the PC ’s
chassis ground by fastening the card with screws.
5. Electrical Surges, 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.

B100P on DAHDI User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
5
Test Environments
CentOS-5.6
Kernel version: 2.6.18-238.12.1.el5
DAHDI: dahdi-linux-complete-current
Asterisk: 1.8.4.4
Libpri: 1.4.11.5
Hardware: OpenVox B100P

B100P on DAHDI User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
6
Chapter 1 Overview
1.1 What is Asterisk
The Definition ofAsterisk is described as follows:
Asterisk is a complete PBX in software. It runs onLinux, 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 standard-basedtelephony equipments using
relatively cost-effective hardware. Asterisk provides Voicemail services
with Directory, Call Conferencing, Interactive Voice Response,and Call
Queuing. It supports three-way calling, caller ID services, ADSI, IAX,
SIP, H323 (as both client and gateway), MGCP (call manager only) and
SCCP/Skinny (voip-info.org).
PC+Softphone
SIP phone
Analog phone
Switch Asterisk
VOIP PBX
Operating System Linux and FreeBSD
OpenSource Drivers Asterisk®,DAHDI,
Zaptel,Bristuff,Misdn and ISDN4BSD
Protocol SIP, IAX, SS7, MGCP, H323, R2 and more..
Applications IVR, CRM, FAX, E-mail, CallCenter, Billing
and your application..
Figure 1 Topology

B100P on DAHDI User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
7
1.2 What is B100P
OpenVox B100P is a PCI 2.2 compliant card which supports 1 BRI S/T
interface. The BRI port can be set to TEorNT mode by jumpers. B100P
S/TBRI interface card delivers great voice quality in the telephony
systems.It can provide 2 simultaneous voices calls over 1 ISDN BRI line,
turns your legacy ISDN BRI equipments into powerful Voice over IP
devices and provides a soft migration path from ISDN technology to the
new Voice over IP world. B100P is designed for building Open Source
systems based onAsterisk such as ISDN PBX and VoIPgateway.
The B100P and drivers complywith fully GPLed for the Linux kernel
bring powerful ISDN BRI connectivity to your Linux machine.
B100P works well with Asterisk®, Elastix®, FreeSWITCH™,PBX in a
Flash, trixbox®, Yate™and IPPBX/IVR projects as well as other Open
Sourceand proprietary PBX, Switch, IVR, and VoIPgateway
applications.
Targetapplications
High Performance ISDN PC Cards
ISDN PABX for BRI
VoIPGateways
ISDN LAN Routers for BRI
ISDN Least CostRouters for BRI

B100P on DAHDI User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
8
ISDN TestEquipment for BRI
Mainfeatures
One integrated S/Tinterfaces
SupportsPCI2.2 or above, 3.3 V and 5 V PCIslot
ITU-T I.430 and TBR 3 certified and S/T ISDN supporting TE/NT
mode
Industry standard full size length PCIcard
32 bit bus master DMA data exchanges across PCIinterface at
132Mbytes/sec for minimum host processorintervention
DTMF detection on all B-channels
Multiparty audio conferences bridge
Full software and hardware compatible with Junghanns.NET ISDN,
mISDN driver, DADHI and so on.
RoHScompliant
Certificates: CE, FCC, A-Tick
trixbox TM Officially Certified
Elastix® officially Certified

B100P on DAHDI User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
9
Chapter 2 Hardware Setup
There are some points should be paid attention to when setting up B100P.
2.1 Powersupply
The board is powered by PCI slot, but some newest model PCs do not
provide +5Von PCIslots, in such cases, you have to set the jumper to
3.3V.
2.2 Slot compatibility
B100P is compatible with 32-bit 3.3V PCI slot, 32-bit 5.0V PCI slot,
64-bit 3.3V PCI slot or 64-bit 5.0V PCI slot except PCI-Eslot; you
should confirm your slot type firstly and then insert B100P into any type
of PCI slot as previously described.Some slots are described like that.
64-bit 5.0V PCI slot
64-bit 3.3V PCI slot
32-bit 5.0V PCI slot
PCI-E slot
32-bit 3.3V PCI slot
1
2
3
4
5
Figure 2 PCI-E and PCI slots

B100P on DAHDI User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
10
2.3 Adjusting Termination of S/T Interface (100 ohm)
You are able to set a port to NT or TE mode, please refer to figure 3 for
visualized information.
If a port works on NT mode, you should set jumper to CONNECT
(ON).
If a port works on TE mode, theoretically it should be set to OPEN
(OFF),but it might connect to some non-standard ISDN terminal
equipments that do not have terminal resistors, for such equipments,
you should set it to CONNECT(ON).
OpenVox
NT/TE Settings
Select NT mode by
setting jumpers on
the left
Select NE mode by
setting jumpers on
the right Connect: Termination = ON
Open: Termination = OFF
Termination of S/T interface (100 ohm)
CON 1 SW1 SW2
TR1
B100P
Figure 3 Jumper setting
2.4 Hardware setup procedure
Power off your PC, remember to unplug the AC power cable

B100P on DAHDI User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
11
Set card ID as previously stated if there are more than one BRI card
Insert B100P into a 3.3V or 5.0V PCIslot vertically
Plug ISDN lines into RJ-45 interfaces which set as TE mode and
ISDN phone lines into RJ-45 interface which set as NT mode.
Fix the boardby a screw
Power on PC
Caution:If need to connect ISDN phone to B100P which
set to NT mode, the phone must have the powersupply
function. During the above processes, an ESD wrist strap
is needed. Once power is on, you must not attempt to install or take down
the board.After hardware setup appropriately, it is time to install
software.

B100P on DAHDI User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
12
Chapter 3 Software Installation and Configuration
B100P supports DAHDI software driver on Linux. To make full use of
B100P, you should download, compile, install and configure DAHDI,
Libpri and Asterisk. Let’s make specific versions for an example to state
how to install software.
3.1 Download
DAHDI software packages are available on OpenVox official website or
Digium. Some patches should be applied when the driver sourceis from
Digium.
Get DAHDI package from OpenVox official website:
http://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/openvox_
dahdi-linux-complete-current.tar.gz
Get Libpri and Asterisk software packages from:
http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.4.11.
5.tar.gz
http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.8
.4.4.tar.gz
Execute the following commands under the directory of/usr/src/ in
generally to download and decompress these packages:

B100P on DAHDI User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
13
#_wget_http://downloads.asterisk.org/pub/telephon
y/libpri/releases/libpri-1.4.11.5.tar.gz
# tar -zxvf libpri-1.4.11.5.tar.gz
#_wget_http://downloads.openvox.cn/pub/drivers/da
hdi-linux-complete/openvox_dahdi-linux-complete-c
urrent.tar.gz
#_tar_-xvzf_openvox_dahdi-linux-complete-current.
tar.gz
#_wget_http://downloads.asterisk.org/pub/telephon
y/asterisk/releases/asterisk-1.8.4.4.tar.gz
# tar -zxvf asterisk-1.8.4.4.tar.gz
If using Asterisk 1.8, it is not need to make any patches more.
If using Asterisk 1.6, please modify the file
asterisk-1.6.xx/channels/chan_dahdi.c as the following introduction.
Please comment out the following line:
/*ast_log(LOG_WARNING, "How cool would it be if someone Implemented
this mode!For now, sucks for you.(line %d)\n", v->lineno);*/
Then add the following two lines after the above action:
confp->chan.sig = SIG_BRI_PTMP;
Confp->pri.nodetype = PRI_NETWORK;

B100P on DAHDI User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
14
3.2 Installation
1. Hardware detection
# lspci –vvvv
Check the outcome and confirm your system has recognized B100P. If it
has been recognized, "Network controller" will be displayed in the output
information like that:
02:0b.0 Network controller: Cologne Chip Designs GmbH ISDN network
controller [HFC-PCI] (rev 02)
Subsystem: Cologne Chip Designs GmbH ISDN Board
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 16 (4000ns max)
Interrupt: pin A routed to IRQ 177
Region 0: I/O ports at dfe0 [disabled] [size=8]
Region 1: Memory at feafac00 (32-bit, non-prefetchable)
[size=256]
Capabilities: [40] Power Management version 1
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA
PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: vzaphfc
Kernel modules: zaphfc, hisax
Figure 4 Hardware detection
If B100P is not recognized by the system, you have to power off and take
out the card to insert it into another PCIslot.

B100P on DAHDI User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
15
2. Softwareinstallation
Some dependencies are crucial. If any of them is absent, the software
installation process would not go through successfully. Let’s run "yum
install XX"(XX stands for the dependency’s name) to check the
availability of dependencies.
# 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++
# yum install libxml2
# yum install libxml2-devel

B100P on DAHDI User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
16
If there is no kernel-devel sourcein the system, users
should run the following command to install the
kernel-devel to peer current kernel:
# yum install kernel-devel-`uname –r`
While if there is no matched kernel-devel found, you should download
matched RPMpackage to install it, or execute the following command to
update to the latest and stable kernel version:
# yum install kernel kernel-devel
After installed, please rebootyour machine to apply the new kernel and
install the dependencies. If the dependency has been installed, system
indicates that nothing to do which means youcould go to next one
directly. Otherwise, the systemwill keep on installing it.
Change to the directory dahdi-linux-complete-XX (XX represents
DAHDI version), then perform commands one by one to install DAHDI.
# cd /usr/src/dahdi-linux-complete-xx
# make
# make install
# make config

B100P on DAHDI User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
17
Caution: If there is something wrong after "make",
please refer to HERE. In the url link, the moderator
introduces you a method how to patch. After patching,
save your changes and exit. Then run "make"again, if successfully done,
it is time for you to install Libpri and Asterisk.
Please execute those commands to install Libpri and Asterisk:
# cd ../libpri-1.4.11.5
# make
# make install
# cd ../asterisk-1.8.4.4
# ./configure
# make
# make install
# make samples
"make samples" will install the standard
sample configuration file in the directory /etc/asterisk. As a
freshman, you should perform "make samples", that is
to say, it is unnecessary to perform "make samples"every time.

B100P on DAHDI User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
18
Because once performed, it will cover the old sample configuration files
you have installed.
3.3 Configuration
1. Driverloading
After compiling and installing DAHDI, Libpri and Asterisk, please load
the driver by running commands:
# modprobe dahdi
# modprobe zaphfc (In TEmode)
# dahdi_genconf
# dahdi_cfg -vvv
There are two issues for B100P NT mode:
Sometimes the first call can't work normally, in such cases,it is need
to restart Asterisk.
The systemruns "modprobe zaphfc"in default, but it is for TE
mode, soit is necessary to run "modprobe zaphfc modes=1
force_11_up=0"for NT mode when the machine restarts. After
reboot, please run commands:
# modprobe -r zaphfc

B100P on DAHDI User Manual
OpenVox Communication Co. LTD. URL: www.openvox.cn
19
# modprobe zaphfc modes=1 force_l1_up=0
Or add the following line in the file /etc/modprobe.conf:
options modprobe zaphfc modes=1 force_l1_up=0
After running "modprobe dahdi"or "modprobe zaphfc", there is
not any information displayed if loaded normally and successfully.
"zaphfc"is the driver module name of B100P.
If there is any error, please trace the cause. Until all errors are clear up,
you could execute "dahdi_genconf"again, and then go to the next
step.By running "dahdi_genconf", it will generate
/etc/dahdi/system.conf and etc/asterisk/dahdi-channels.conf automatically.
Checking whether the generated files information agrees with your
hardware setup, if not, you should modify to your specific requirements.
Do not forget to confirm that dahdi-channels.conf is included in
chan_dahdi.conf,if not, run command:
# echo "#include dahdi-channels.conf" >>
/etc/asterisk/chan_dahdi.conf
A part of system.confwhich is one of the basic configuration files is
Table of contents
Popular Control Unit manuals by other brands

Emerson Network Power
Emerson Network Power TD3200 Series user manual

Becker
Becker Centronic SunWindControl SWC245-II Assembly and operating instructions

KSB
KSB LevelControl Basic 2 Installation & operating manual

Watts
Watts Tekmar 256 Installation & operation manual

CLA-VAL
CLA-VAL 49-01/649-01 Installation, operation and maintanance manual

ArduCAM
ArduCAM 8MP IMX179 quick start guide