OpenVox BE400P User Manual for mISDN
From Wiki
Contents |
OpenVox BE400P User manual for mISDN
Chapter 1 overview
1. What is BE400P
The BE400P is a bundling of OpenVox B400P (4.0 above version) product and one EC4008 module,which supports 8 channels 128ms/1024 taps echo cancellation.
BE400P is a PCI 2.2 compliant card supporting 4 BRI S/T interfaces, with an onboard multi NT power feeding circuit. NT/TE mode can be independently configured on each of 4 ports.
BE400P 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) Four 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 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 of the 4 ports can be independently configured for TE or NT mode
Full software and hardware compatible with Junghanns.NET ISDN and mISDN driver
9) Application ready: Use Asterisk to build your IP-PBX/Voicemail system
RoHS compliant
Certificates: CE, FCC
Misc:(for B400P)
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/38V(NT ONLY)
5) Power Dissipation Max:0.7W/1.16W/8.8W
Misc:(for EC4008)
1) Temperature Operation: 0 to 85°C
2) Voltage:3.3V
3) Power Dissipation Max:0.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:
1) Voicemail services with Directory
2) Call Conferencing
3) Interactive Voice Response
4) Call Queuing
5) Three-way calling
6) Caller ID services
7) Support 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 refer jumper setting for details. To install BE400P, user should follow the steps.
A. Setting Card ID Switch
If user wants to install more than one cards of BE400P in one pc, you should take care of the card id switch. It has three rules, which user must follow:
1. The card id of the first card must 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, if user has more than one cards of BE400P in pc, the one is nearest to CPU should be set to card id 0.
B. Adjusting Termination of S/T Interface (100 ohm)
1. If a port will work on NT mode, user should set jumper to CONNECT (ON).
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).
C. 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 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 four power feeding connectors is CONNECT(ON), user should connect a D-type connector from pc power supply to this jack, the D-type connector is used to provide power to your CDROM ahd 3.5”HDD.
E. Power Supply
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
This feature will be used to connect two BRI cards.
2) Power off PC, remembering unplug the AC power cable
3) Put BE400P 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 need providing power to external equipment, please refer jumper setting section for the detail
5) Plug back the AC power cable, and power on PC
Chapter 3 Software Installation and Configuration
1) check the hardware detection by : lspci -vvvvvv
User should see the device information like this:
ISDN controller: Cologne Chip Designs GmbH ISDN network Controller [HFC-4S] (rev 01)
If user can not see that, please
swap to other slots to try.
2) Checking the supporting packages
Note that if there is no kernel source in the system, user should install them. User can run yum again: yum install kernel-devel. 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 is not installed, please install those packages 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++
3) Downloading, unzipping and compiling
A. Download mISDN-1.1.9.1 and mISDNuser-1.1.9.1 from http://www.misdn.org/index.php/Installing_mISDN, and copy the tar file to /usr/src/.
Download asterisk from: http://downloads.asterisk.org/pub/telephony/asterisk/, here, we are using asterisk 1.8.0
Download b200P_b400P_ec.tar.gz http://downloads.openvox.cn/pub/drivers/mISDN/b200p_b400p_ec.tar.gz
Run the following commands: cd /usr/src
cp b200p_b400p_ec/opvxec-i686/* /usr/src/mISDN-1_1_9.1/drivers/isdn/hardware/mISDN/
cp b200p_b400p_ec/mISDN-1_1_9.1.patch /usr/src/
patch –p0 < mISDN-1_1_9.1.patch
B. Make links with kernel source:
ln -s /usr/src/kernels/2.6.18-194.el5/ /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/
C. Compiling mISDN, mISDNuser and asterisk
cd /usr/src/mISDN-1_1_9.1 make make install cd /usr/src/mISDNuser-1_1_9.1 make make install cd /usr/src/asterisk-1.8.XX ./configure make menuselect Now you should enable chan_misdn in the Channel Driver Section and reinstall asterisk with "make install".
After that procedure you should have the current mISDN releases installed and the current chan_misdn with asterisk.
4) Modifying and loading mISDN A. Loading mISDN After modifying the mISDN file, the system will able to detect the B400P card. Now, user can run following commands under /usr/sbin:
./mISDN scan // detect Cards ./mISDN config // set configuration files under /etc/mISDN.conf ./mISDN start // start the drivers.
B. Checking EC module Then run the command dmesg, if user can see the following information, it shows that hardware Echo Canceller module has been loaded successfully.
OPVXEC:before download fw, OPVXEC revision register : 0x5266 OPVXEC:now start download pram firmware... OPVXEC:now start download dram firmware... OPVXEC:Download the firmware successfully!!! OPVXEC:after download fw ,OPVXEC revision register : 0x5207 OPVXEC:FWCAP: nPCM: 8 nALM: 2 nSIG: 4 nCOD: 4 OPVXEC:FWCAP: nNLEC: 4 nWLEC: 4 nAGC: 4 nFAX: 4 OPVXEC:FWCAP: nUTG: 8 UTG/CH: 2 nMFTD: 4
C. Configuration Follow your situation to set te/nt mode in /etc/mISDN.conf.
<port mode="te" link="ptmp">1</port> <port mode="te" link="ptmp">2</port> <port mode="te" link="ptmp">3</port> <port mode="te" link="ptmp">4</port>
Edit /etc/asterisk/misdn.conf to set a call routing.
Please note these two parameters,set it like the following:
debug=4
echocancel=yes
Write dialplan in /etc/asterisk/extensions.conf
run: asterisk –vvvvvvvgc to start up asterisk server
under asterisk console, run: misdn show stacks
if you can see the ports with active and up status, you will able to make calls.
Otherwise, please check the setting files and physical connections.
Besides, when the active is active, user can run misdn toggle echocancel to check the status of EC.
localhost*CLI> misdn toggle echocancel mISDN/1-u13 localhost*CLI> P[ 1] ec_enable P[ 1] Sending Control ECHOCAN_ON taps:128 P[ 1] Taps is 128 Toggling EchoCancel on mISDN/1-u13 P[ 1] ec_enable P[ 1] Sending Control ECHOCAN_ON taps:128 P[ 1] Taps is 128
Chapter 4 Reference
Notes: Test environments: OS: Centos 5.5 Kernel version: 2.6.18-194.el5 Asterisk version: Asterisk-1.8.0 mISDN version: mISDN-1_1_9.1 Hardware:OpenVox B400P V4.0 EC4008 V1.0
Status of LEDs : 1) LEDs will turn into red and blink if the drivers are loaded. 2) When a call is established, the LED will be turned into green status for very short while. 3) If ISDN cable plugs into the port, the LED will not blink, but in red color.
http://www.openvox.cn
http://www.misdn.org/index.php/Main_Page
http://www.asterisk.org
http://www.voip-info.org
User can refer this manual for more details: http://downloads.openvox.cn/pub/manuals/eng/BE200P_BE200E_BE400P_BE400E_User-Manual_mISDN.pdf
