Page 1
B400P/BE400P on DAHDI User Manual OpenVox Communication Co.Ltd B400P/BE400P on DAHDI User Manual Version: 2.2 OpenVox Communication Co. LTD. URL: www.openvox.cn...
Page 2
B400P/BE400P on DAHDI User Manual OpenVox Communication Co.Ltd Most Advanced 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...
B400P/BE400P on DAHDI User Manual General Safety Instructions CAUTION 1. The computers that have card installed must comply B400P/BE400P with the country’s specific safety regulations. 2. Only service personnel should install card. B400P/BE400P 3. Before you install card, please unplug the power cord B400P/BE400P from the computer and remove the cover from your PC.
B400P/BE400P 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.
B400P/BE400P on DAHDI User Manual 1.2 What is B400P/BE400P OpenVox B400P/BE400P is a PCI 2.2 compliant card which supports 4 BRI S/T interface, and BE400P is B400P with a hardware echo cancellation module. It takes full advantage of Siemens® technology...
Page 9
B400P/BE400P 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 B400P/BE400P 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-E slot; you should confirm your slot type firstly and then insert B400P/BE400P into any type of PCI slot as previously described.
B400P/BE400P on DAHDI User Manual 2.3 Setting Card ID If want to install more than one card of B400P/BE400P in a PC, you should take care of the card id switch. The state of ON stands for "1"in binary, OFF represents "0", and 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"...
B400P/BE400P on DAHDI User Manual 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).
Power off your PC, remember to unplug the AC power cable Set card ID as previously stated if there is more than one BRI card. Insert B400P/BE400P into a 3.3V or 5.0V PCI slot vertically OpenVox Communication Co. LTD.
Page 14
B400P/BE400P on DAHDI User Manual Plug the hard disk power supply cable (D style) to power feeding input jack if need to provide power by external equipments, please refer jumper setting section for more details. Plug ISDN lines into RJ-45 interfaces which sets as TE mode and ISDN phone lines into RJ-45 interface which sets as NT mode ...
B400P/BE400P on DAHDI User Manual Chapter 3 Software Installation and Configuration B400P/BE400P supports DAHDI software driver on Linux. To make full use of B400P/BE400P, 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
B400P/BE400P on DAHDI User Manual generally to download and decompress these packages: #_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.5.0.tar.gz # tar -zxvf asterisk-1.8.5.0.tar.gz 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 B400P/BE400P is not recognized by the system, you have to power off and take out the card to insert it into another PCI slot. OpenVox Communication Co. LTD.
Page 18
B400P/BE400P on DAHDI User Manual 2. Software installation 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.
Page 19
B400P/BE400P on DAHDI User Manual If there is no kernel-devel source in 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...
Page 20
B400P/BE400P on DAHDI User Manual 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.
TE/NT mode automatically without any parameters. When the driver module "wcb4xxp" loaded, B400P/BE400P card can be configured for TE or NT mode individually by jumpers. This port configuration is detected by the driver automatically. You can see following outcome when execute the...
Page 22
B400P/BE400P on DAHDI User Manual [root@localhost Dahdi]# dmesg|grep wcb4xxp wcb4xxp 0000:02:0a.0: probe called for b4xx... wcb4xxp 0000:02:0a.0: Identified OpenVox B400P (controller rev 1) at 0001dff0, IRQ 209 <6>wcb4xxp 0000:02:0a.0: Hardware echo cancellation enabled. wcb4xxp 0000:02:0a.0: Port 1: TE mode wcb4xxp 0000:02:0a.0: Port 2: TE mode wcb4xxp 0000:02:0a.0: Port 3: NT mode...
Page 23
B400P/BE400P on DAHDI User Manual 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.conf which is one of the basic configuration files is...
Page 24
B400P/BE400P on DAHDI User Manual 2. Country mode modification In order to match your country mode, it is need to change parameters loadzone and defaultzone to your country. For example, your system is in CHINA, you would like them change to:...
Page 25
B400P/BE400P 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 Channels Configurations (chan_dahdi.conf) ; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended ;...
Page 26
B400P/BE400P on DAHDI User Manual In the CLI, please run the following commands "dahdi show channels" and "pri show spans": *CLI> dahdi show channels Chan Extension Context Language MOH Interpret Blocked State pseudo default default In Service from-isdn default In Service...
Page 27
B400P/BE400P 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
B400P/BE400P 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...
B400P/BE400P 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...
B400P/BE400P on DAHDI User Manual Appendix A Specifications • Weight and size Weight: 129g (4.55oz) 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 •...
B400P/BE400P 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 Color Description White/Orange Orange White/Green Blue U interface...
Page 32
B400P/BE400P on DAHDI User Manual available. In most cases, power is not provided from the telephone 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...
Page 33
B400P/BE400P on DAHDI User Manual Extended Passive Bus Mode allows connection to 8 terminals at 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.