OpenVox B200M User Manual for Bristuff

From Wiki

Jump to: navigation, search

Contents

B200M user manual

Chapter 1 Overview

1. What is B200M
B200M series is a mini-PCI compliant card supporting 2 BRI S/T interfaces, with an onboard multi NT power feeding circuit. NT/TE mode can be independently configured on each of the 2 ports.
B200M can be implemented for building Open Source Asterisk based systems such as ISDN PBX and VoIP gateway.

Target Applications:
1) High Performance ISDN PC Cards
2) ISDN PABX for BRI
3) VoIP Gateways
4) ISDN LAN Routers for BRI
5) ISDN Least Cost Routers for BRI
6) ISDN Test Equipment for BRI

Main Features:
1) Two integrated S/T interfaces
2) ITU-T I.430 and TBR 3 certified and S/T ISDN supporting in TE and NT mode 3) Integrated mini-PCI bus interface (Spec.2.2) for 3.3V and 5V signal environments 4) DTMF detection on all B-channels
5) Multiparty audio conferences bridge
6) Onboard power feeding
7) PCM bus connectors daisy chaining
8) Each port can be independently configured for TE or NT mode
9) Full software and hardware compatible with bristuff 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/12V(NT ONLY)
5) Power Dissipation Max:0.44W/4.4W

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:
1) Voicemail services with Directory
2) Call Conferencing
3) Interactive Voice Response
4) Call Queuing
5) Three-way calling
6) Caller ID services
7) ADSI, IAX, SIP, H.323, MGCP and SCCP/Skinny.

Chapter 2 Card Installation and Configuration

1. Hardware Installation and Setup
Please refer jumper setting for details. The default setting is TE mode. To install B200M, user should follow the steps.

A. Adjusting Termination of S/T Interface (100 ohm)
1) If a port will work on NT mode, you should set jumper (SW100) to CONNECT (ON) and adjust the jumper (SW200) to NT position. Please check the jumper setting in chapter 3.
2) If a port will work 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, for such equipments, you should set it to CONNECT(ON).
3) Use the cable to connect B200MM and B200MS. On the B400MS, there are two RJ45 interfaces. Please connect CON1 on B200MS and CON2 on B200MM. The connection should be: Con 1 on B200MS <-> Con 2 on B200MM

B.Power Feeding Connector
These jumpers control whether the card will feed power to the external isdn terminal. User should adjust accordingly.

1) If the port will work on TE mode, user MUST set the jumper (power) to OPEN(OFF)
2) If this port will work on NT mode, the ISDN terminal requires ISDN power supply; user should set the jumper (power) to CONNECT (ON). ISDN terminal does not require ISDN power supply, user should set the jumper to OPEN(OFF).

3) Power Feeding Input
If the power feeding connector is CONNECT(ON), plug in the DC input power supply that can provide 34-42 V power supply. Please refer the hardware setting section. You also can use PFM100 to convert the power supply for NT mode. For more information about PFM100, please check from OpenVox website.

4) PCM IN/PCM OUT
These are for future usages.

1) Power off PC, remembering unplug the AC power cable
2) Insert B400M into a mini PCI slot
3) Plug the power supply cable to power feeding input jack if need providing power to external equipment, please refer jumper setting section in chapter 3 for the detail
4) Plug back the AC power cable, and power on PC

chapter 3 Software Configuration and configuration

B200M supports original Bristuff driver from junghanns.net. Customers can download it from http://www.junghanns.net/. There are few steps to install the driver.

1) Checking the B200M hardware by command: lspci -vvvvvvvvv You can see the information like this:

ISDN controller: Cologne Chip Designs GmbH ISDN network Controller [HFC-4S] (rev 01)

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++

1. Download OpenVox patch called qozap.c from www.openvox.com.cn.
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

2. 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

3. Compiling Bristuff

cd /usr/src/usr/src/bristuff-0.3.0-PRE-1y-j
chmod 777 install.sh
./install.sh

overwrite the orginal qozap.c file with the new qozap.c under /usr/src/bristuff-<version>/qozap.
run ./compile.sh to recompile all packages.
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.

4. Modifying and loading modules for zaptel and qozap
vi /etc/zaptel.conf, and edit the zaptel.conf like this:

loadzone=nl
defaultzone=nl
# qozap span definitions
# most of the values should be bogus because we are not really zaptel
span=1,1,3,ccs,ami
span=2,2,3,ccs,ami
bchan=1,2
dchan=3
bchan=4,5
dchan=6
cd /usr/src/bristuff-0.3.0-PRE-1y-j/qozap
modprobe zaptel
modprobe qozap.ko (for kernel 2.6.o)
ztcfg –vvvvvv

5. If user wants to modify the call rules, edit zapata.conf file under /etc/asterisk to make sure asterisk run successfully

asterisk –vvvvvvvvvvgc
zap show channels // there must be some channels.
Notes:
Test environments:
OS: Centos 5
Kernel version: 2.6.18-8.15
Bristuff version: bristuff-0.3.0-PRE-1y-j
Hardware:OpenVox B200M
Personal tools