Page 1
B200P/BE200P on DAHDI User Manual OpenVox Communication Co.Ltd B200P/BE200P on DAHDI User Manual Version: 2.2 OpenVox Communication Co. LTD. URL: www.openvox.cn...
Page 2
B200P/BE200P on DAHDI User Manual OpenVox Communication Co.Ltd Most Advanced Asterisk Cards Address: F/3, Block 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...
PC. 4. For avoiding personal injuries and damage to your computer and B200P/BE200P card, make sure bracket of the card is secured to the PC’s chassis ground by fastening the card with screws.
B200P/BE200P on DAHDI User Manual Chapter 1 Overview 1.1 What is Asterisk The Definition of Asterisk is described as follows: 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.
B200P/BE200P on DAHDI User Manual 1.2 What is B200P/BE200P OpenVox B200P/BE200P is a PCI 2.2 compliant card which supports 2 BRI S/T interface, and BE200P is B200P with an hardware echo cancellation module. It takes full advantage of Siemens® technology...
Page 9
B200P/BE200P on DAHDI User Manual 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 ...
3.3V. 2.2 Slot compatibility B200P/BE200P is compatible with 32-bit 3.3V PCI slot, 32-bit 5.0V PCI slot, 64-bit 3.3V PCI slot and 64-bit 5.0V PCI slot except PCI-E slot; you should confirm your slot type firstly and then insert B200P/BE200P into any type of PCI slot as previously described.
B200P/BE200P on DAHDI User Manual 2.3 Setting Card ID If want to install more than one card of B200P/BE200P in a PC, you should take care of the card id switch. The state of ON stands for "1" and OFF represents "0", Card ID is calculated by binary. For instance, the four switches should be all set to OFF if there is only one card, which means their corresponding binary value is "0000"...
B200P/BE200P on DAHDI User Manual (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). 2.5 Power Feeding Connector These jumpers control whether supply power for the external ISDN terminals.
Set card ID as previously stated if there are more than one BRI card and set the switches appropriately. Insert B200P/BE200P into a 3.3V or 5.0V PCI slot vertically Plug the hard disk power supply cable (D style) to power feeding OpenVox Communication Co.
Page 14
B200P/BE200P on DAHDI User Manual input jack if it is need to provide power by external equipments, please refer jumper setting section for more details. 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 ...
B200P/BE200P on DAHDI User Manual Chapter 3 Software Installation and Configuration B200P/BE200P supports DAHDI software driver on Linux. To make full use of B200P/BE200P, 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.
Page 16
# tar -zxvf dahdi-linux-complete-current.tar.gz #_wget_http://downloads.asterisk.org/pub/telephon y/asterisk/releases/asterisk-1.8.5.0.tar.gz # tar -zxvf asterisk-1.8.5.0.tar.gz Also you can get the DAHDI source code from Digium official website, but need to get a patch from OpenVox official website for Hardware Echo Cancellation Module: # wget http://downloads.asterisk.org/pub/telephon y/dahdi-linux-complete/releases/dahdi-linux-compl ete-2.4.1.2+2.4.1.tar.gz # tar -zxvf dahdi-linux-complete-2.4.1.2+2.4.1.ta...
Page 17
B200P/BE200P on DAHDI User Manual # wget http://downloads.openvox.cn/pub/drivers/da hdi-patches/b200p_b400p/wcb4xxp.tar.gz (For BE200P) # tar -zxvf wcb4xxp.tar.gz Use the files decompressed from wcb4xxp.tar.gz to replace the original files in /dahdi-linux-complete-xx/linux/drivers/dahdi/wcb4xxp before you compile DAHDI. If using Asterisk 1.8, it is not need to make any patches more.
Kernel driver in use: wcb4xxp Kernel modules: wcb4xxp Figure 4 Hardware detection If B200P/BE200P is not recognized by the system, you have to power off and take out the card to insert it into another PCI slot. 2. Software installation Some dependencies are crucial.
Page 19
B200P/BE200P on DAHDI User Manual 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...
Page 20
B200P/BE200P on DAHDI User Manual do, which means you could go to next one directly. Otherwise, the system will 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.
B200P/BE200P on DAHDI User Manual # cd asterisk-1.8.5.0 # ./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"...
Page 22
TE/NT mode automatically without any parameters. When the driver module "wcb4xxp" loaded, B200P/BE200P card can be configured for TE or NT mode individually by jumpers. This port configuration is detected by the driver automatically. You can see the messages when execute a command...
Page 23
B200P/BE200P on DAHDI User Manual After running "modprobe dahdi" or "modprobe wcb4xxp", there is not any information displayed if loaded normally and successfully. "wcb4xxp" is the driver module name of B200P/BE200P. If there is any error, please trace the cause. Until all errors are clear up, you could execute "dahdi_genconf"...
Page 24
B200P/BE200P on DAHDI User Manual # Autogenerated by /usr/sbin/dahdi_genconf on Thu Sep 29 15:01:02 2011 # If you edit this file and execute /usr/sbin/dahdi_genconf again, # your manual changes will be LOST. # Dahdi Configuration File # This file is parsed by the Dahdi Configurator, dahdi_cfg # Span 1: B4/0/1 "B4XXP (PCI) Card 0 Span 1"...
Page 25
B200P/BE200P on DAHDI User Manual /etc/asterisk/indications.conf. country=cn A part of file /etc/asterisk/dahdi-channels.conf is showed as below. (Modification, if it is not agree with the hardware setup. Here is an example that assumes port 1& 2 are set to TE mode, port 3& 4 are set to NT mode.)
Page 26
B200P/BE200P on DAHDI User Manual # asterisk -vvvvvvgc If Asterisk is already activate, run "asterisk –r" instead. In the CLI, please run the following commands "dahdi show channels" and "pri show spans": *CLI> dahdi show channels Chan Extension Context Language...
Page 27
B200P/BE200P on DAHDI User Manual [from-isdn] exten => s,1,Dial(SIP/100,,r) exten => s,n,Hangup() [from-internal] exten => _X.,1,Dial(dahdi/1/${EXTEN},,r) exten => _X.,n,Hangup() exten => _0XX,1,Dial(dahdi/${EXTEN:1},,r) exten => _0XX,n,Hangup() Figure 8 dial plan After saving your dialplan, please run "asterisk –r", then execute "reload" in the CLI. Now you are able to make calls. The above dialplan achieves that: ...
Page 28
B200P/BE200P on DAHDI User Manual *CLI> dahdi show channel 1 Channel: 1 File Descriptor: 9 Span: 1 Extension: Dialing: no Context: from-isdn Caller ID: 10086 Calling TON: 33 Caller ID subaddress: Caller ID name: 10086 Mailbox: none Destroy: 0 InAlarm: 0...
B200P/BE200P on DAHDI User Manual Chapter 4 Reference www.OpenVox.cn www.digium.com www.asterisk.org www.voip-info.org www.asteriskguru.com Tips Any questions during installation please consult in our forum or look up for answers from the following websites: Forum wiki OpenVox Communication Co. LTD. URL: www.openvox.cn...
B200P/BE200P on DAHDI User Manual Appendix A Specifications • Weight and size Weight: 115g (4.06oz) Size: 14.0× 9.5× 1.8cm (5.51× 3.74× 0.71 inch) • Interfaces PCI Bus: 3.3V or 5V bus slot, PCI 2.2 or above Local Loop Access: RJ-45 ports used on certain ISDN S/T/U interfaces •...
B200P/BE200P on DAHDI User Manual Appendix B PIN Assignments Basic Rate ISDN lines can use straight ("flat") modular cable if necessary. However, twisted-pair are more common. ISDN U-interface 8-pin RJ45 port PIN Color Description White/Orange Orange White/Green Blue U interface...
Page 32
B200P/BE200P on DAHDI User Manual company. BRI S-Interface 8-pin RJ45 port PIN Color Description White/Orange Orange White/Green Receive+ Blue Transmit + White/Blue Transmit - Green Receive - White/Brown -48VDC Power(optional) Brown -48VDC Return (optional) The BRI S-Interface is a 4-wire interface, with separate Transmit and Receive pairs.
Page 33
B200P/BE200P on DAHDI User Manual distances of up to 500 meters from the NT-1. Star Bus Mode allows interconnection of up to 8 terminals to a central NT-1. Each terminal can be up to 1 KM from the NT-1.
Need help?
Do you have a question about the B200P and is the answer not in the manual?
Questions and answers