OpenVox B800P User Manual for Bristuff
From Wiki
Contents |
Chapter 1 Overview
1. What is B800P
B800P is a PCI 2.2 compliant card supporting 8 BRI S/T interfaces, with an onboard multi NT power feeding circuits. NT/TE mode can be individually configured on each of the 8 interfaces. B800P can be implemented for building Open Source Asterisk? based systems such as ISDN PBX and VoIP gateway.
Target Applications:
High Performance ISDN PC Cards
ISDN PABX for BRI
VoIP Gateways
ISDN LAN Routers for BRI
ISDN Least Cost Routers for BRI
ISDN Test Equipment for BRI
Main Features:
Eight integrated S/T interfaces
ITU-T I.430 and TBR 3 certified and S/T ISDN supporting in TE and NT mode
Integrated PCI bus interface (Spec.2.2) for 3.3V and 5V signal environments
DTMF detection on all B-channels
Multiparty audio conferences bridge
Onboard power feeding for 8 NT interfaces
PCM bus connectors daisy chaining
Each of the 8 interfaces can be independently configured for TE or NE mode
Full software and hardware compatible with Junghanns.NET Bristuff driver and
mISDN driver
Application ready: use Asterisk to build your IP-PBX/Voicemail system
RoHS compliant
Certificates: CE, FCC
Misc
1) Temperature Operation: 0 to 50°C
2) Temperature Storage: - 40 to 125°C
3) Humidity:10 TO 90% NON-CONDENSING
4) Voltage:3.3V/5V/12V(NT ONLY)
5) Power Dissipation Max:1.22W/1.85W/17.6W
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:
Voicemail services with Directory
Call Conferencing
Interactive Voice Response
Call Queuing
Three-way calling
Caller ID services
ADSI, IAX, SIP, H.323, MGCP and SCCP/Skinny
Chapter 2 Card Installation and Configuration
1. Hardware Installation and Setup
1) Configure the Jumper Settings
Please check the jumper setting first. To install B800P, user should follow these steps:
A. Setting Card ID Switch
User should pay attention to the card id switch, if user wants to install more than one cards of B800P in one pc. Please follow these produces:
1. The card id of the first card should be set to 0, and the second card should be set to 1, and so on.
2. The first card is a card that will be initialized (i.e installing driver) first when system is booting.
3. At most of cases, Linux will initialize PCI devices according to PCI slot order. The slot is nearest to the CPU will be initialized first; the slot at the far end from CPU will be initialized at last. That is to say that if user has more than one cards of B800P in pc, the one is nearest to CPU should be set to card id 0.
4. For more details about Card ID, please check F&Q section.
B. Adjusting Termination of S/T Interface (100 ohm)
1. If a port works on NT mode, user should set jumper to CONNECT (ON).
2. If a port works on TE mode, Theoretically it should be to OPEN(OFF), but user might connect to some non-standard isdn terminal equipments that do not have terminal resistors. If you have such equipments, you should set it to CONNECT(ON).
1. If a port works on NT mode, user should set jumper to CONNECT (ON).
2. If a port works on TE mode, Theoretically it should be to OPEN(OFF), but user might connect to some non-standard isdn terminal equipments that do not have terminal resistors. If you have such equipments, you should set it to CONNECT(ON).
C. Power Feeding Connector
These jumpers control whether the card will feed power to the external isdn terminal. User should adjust accordingly based on these produces:
1. If the port will work on TE mode, user MUST set the jumper to OPEN(OFF)
2. If this port will work on NT mode, the ISDN terminal requires ISDN
power supply, user should set the jumper to CONNECT(ON). ISDN terminal does not require ISDN power supply, user should set the jumper to OPEN(OFF).
D. Power Feeding Input
If one of the eight power feeding connectors is CONNECT(ON), user should connect a D-type connecter from pc power supply to this jack, the D-type connecter is used to provide power to your CDROM ahd 3.5”HDD.
E. Power Supply Selection
Some newest model PCs do not provide +5V on the PCI slots, at those cases, use has to set the jumper to 3.3V.
F. PCM IN/PCM OUT
These are for future usages.
2) Power off PC, remembering unplug the AC power cable
3) Insert B800P card into a 3.3V or 5.0V PCI slot
4) Plug the hard disk power supply cable( D style) to power feeding input jack if needing providing power to external equipments, please refer jumper setting section for the detail
5) Plug back the AC power cable, and power on PC
Chapter 3 Software Installation and Setup
B800P supports original Bristuff driver from junghanns.net. Customers can download it from http://www.junghanns.net/. There are few steps to install the driver drivers.
1) Checking the B800P hardware by command: lspci -vvvvvvvvv
Note that if there is no kernel source in the system, user should install them. User can run yum again: yum install kernel-devel`. If user runs this command yum will install the sources for your current version of the kernel.
It is time to check for the availability of some other packages:
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 any of those packages are not installed,please install them by using yum
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++
Downloading, unzipping and compiling driver
A. Download the stable version of bristuff drivers from http://www.junghanns.net/, and copy the tar file to /usr/src/:
cp bristuff-<version>.tar.gz /usr/src
cd /usr/src/
tar -xvzf bristuff-<version>.tar.gz
B. Download OpenVox patch called qozap.c from www.openvox.com.cn. It contains a patched qozap.c file. User overwrites the orginal qozap.c file with the new qozap.c under /usr/src/bristuff-<version>/qozap.
C. Make links with kernel source:
ln -s /usr/src/kernels/2.6.18-8.el5-i686/ /usr/src/linux-2.6
Here, under /usr/src there is kernel source, user must create link
linux-2.6 under /usr/src/. There are many files under
/usr/src/bristuff-0.3.0-PRE-1y-j, please check:
D. Compiling Bristuff
cd /usr/src/bristuff-0.3.0-PRE-1y-j chmod 777 install.sh ./install.sh
Above steps will install zaptel, libpri and asterisk. After finishing the three steps, under asterisk directory, running make samples if user install asterisk for first time.
E. Modifying and loading modules for zaptel.conf and zapata.conf vi /etc/zaptel.conf, and edit the zaptel.conf like this:
loadzone=nl defaultzone=nl span=1,1,1,ccs,ami # termtype: te bchan=1-2 dchan=3 span=2,2,1,ccs,ami # termtype: te bchan=4-5 dchan=6 span=3,3,1,ccs,ami # termtype: te bchan=7-8 dchan=9 span=4,4,1,ccs,ami # termtype: te bchan=10-11 dchan=12 span=5,5,1,ccs,ami # termtype: te bchan=13-14 dchan=15 span=6,6,1,ccs,ami # termtype: te bchan=16-17 dchan=18 span=7,7,1,ccs,ami # termtype: te bchan=19-20 dchan=21 span=8,8,1,ccs,ami # termtype: te bchan=22-23 dchan=24
cd /usr/src/bristuff-0.3.0-PRE-1y-j/qozap modprobe zaptel insmod qozap.ko (for kernel 2.6) ztcfg –vvvvvvv
E. If user wants to modify the call rules, edit zapata.conf and extensions.conf file under /etc/asterisk to make sure asterisk run successfully:
F. Start running asterisk:
asterisk –vvvvvvvgc zap show channels
Chapter 4 F&Q
How to set the ports under NT mode?
Please adjust the interface into NT status first, and load qozap.ko like this:
modprobe zaptel
insmod qozap.ko ports=X
ztcfg –vvvvv
Here, X is bitmap associating with port configuration of B800P. The example here is:
User sets 1, 2 and 3 are NT mode, 4, 5, 6, 7 and 8 are TE mode.
X (binary) = 00000111
X (Decimal) = 7
Therefore, insmod qozap.ko ports=7, refer figure 4 and figure 5 (in PDF) to check the NT setting.
How to adjust the card id?
User can switch Card ID from S5 labeled in figure 13. The default is ON(1), therefore the value will be 0x3f. if user wants to insert more than one cards in pc slot, user should adjust the CardID.
An example is given here. user sets 5 and 6 with off status. Therefore, the dips should be 0xf and cid =15. Figure 6 shows that if user runs: dmesg, the dips and cid are shown as what user has configured before.
How to monitor the LEDs of B800P?
The style of LEDs of B800P is different with B200P/B400P. If the system loads zaptel, qozap and Asterisk® successfully, in B200P/B400P, the LEDs will start blinking, but in B800P, it will not turn to be active. until ISDN cable plug into ports, the LEDs will be turned into green.
Chapter 5 References
Notes: Test environments: OS: Centos 5 Kernel version: 2.6.18-8.15 Bristuff version: Bristuff-0.3.0-PRE-1y-j Hardware:OpenVox® B800P under TE mode
www.openvox.com.cn
www.Asterisk.org
www.voip-info.org
www.misdn.org
http://www.junghanns.net/de/download.html
Trademarks and Copyrights in this user manual:
1) Asterisk® is a registered trademark of Asterisk.
2) Junghanns.NET™ is trademark of Gesellschaft für Internet-Services und Software-Development mbH.
3) mISDN© is copyright of mISDN.org.
4) OpenVox® is a registered trademark of ShenZhen OpenVox Technologies LTD.
>
