B100P on DAHDI User Manual
OpenVox Communication Co. LTD.
URL: www.openvox.cn
OpenVox Communication Co.Ltd
Version: 2.2
Page 1: ...B100P on DAHDI User Manual OpenVox Communication Co LTD URL www openvox cn OpenVox Communication Co Ltd B100P on DAHDI User Manual Version 2 2 ...
Page 2: ...ss 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 Thank You for Choosing OpenVox Products ...
Page 3: ...ithout the express written consent of OpenVox Inc Disclaimer OpenVox Inc reserves the right to modify the design characteristics and products at any time without notification or obligation and shall not be held liable for any error or damage of any kind resulting from the use of this document OpenVox has made every effort to ensure that the information contained in this document is accurate and co...
Page 4: ...risk 6 1 2 What is B100P 7 Chapter 2 Hardware Setup 9 2 1 Power supply 9 2 2 Slot compatibility 9 2 3 Adjusting Termination of S T Interface 100 ohm 10 2 4 Hardware setup procedure 10 Chapter 3 Software Installation and Configuration 12 3 1 Download 12 3 2 Installation 14 3 3 Configuration 18 Chapter 4 Reference 23 Appendix A Specifications 24 Appendix B PIN Assignments 25 ...
Page 5: ...se unplug the power cord from the computer and remove the cover from your PC 4 For avoiding personal injuries and damage to your computer and B100P card make sure bracket of the card is secured to the PC s chassis ground by fastening the card with screws 5 Electrical Surges ESD are very destructive to the equipment To avoid it make sure there is a low impedance discharge path from your computer to...
Page 6: ...User Manual OpenVox Communication Co LTD URL www openvox cn 5 Test Environments CentOS 5 6 Kernel version 2 6 18 238 12 1 el5 DAHDI dahdi linux complete current Asterisk 1 8 4 4 Libpri 1 4 11 5 Hardware OpenVox B100P ...
Page 7: ...ephony equipments using relatively cost effective hardware Asterisk provides Voicemail services with Directory Call Conferencing Interactive Voice Response and Call Queuing It supports three way calling caller ID services ADSI IAX SIP H323 as both client and gateway MGCP call manager only and SCCP Skinny voip info org PC Softphone SIP phone Analog phone Switch Asterisk VOIP PBX Operating System Li...
Page 8: ...s and provides a soft migration path from ISDN technology to the new Voice over IP world B100P is designed for building Open Source systems based onAsterisk such as ISDN PBX and VoIP gateway The B100P and drivers comply with fully GPLed for the Linux kernel bring powerful ISDN BRI connectivity to your Linux machine B100P works well with Asterisk Elastix FreeSWITCH PBX in a Flash trixbox Yate and I...
Page 9: ... supporting TE NT mode Industry standard full size length PCIcard 32 bit bus master DMA data exchanges across PCIinterface at 132Mbytes sec for minimum host processorintervention DTMF detection on all B channels Multiparty audio conferences bridge Full software and hardware compatible with Junghanns NET ISDN mISDN driver DADHI and so on RoHS compliant Certificates CE FCC A Tick trixbox TM Official...
Page 10: ...n such cases you have to set the jumper to 3 3V 2 2 Slot compatibility B100P 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 B100P into any type of PCI slot as previously described Some slots are described like that 64 bit 5 0V PCI slot 64 bit 3 3V PCI slot 32 bit 5...
Page 11: ...etically 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 OpenVox NT TE Settings Select NT mode by setting jumpers on the left Select NE mode by setting jumpers on the right Connect Termination ON Open Termination OFF Termination of S T interface 100 ohm CON 1 SW1 ...
Page 12: ...aces which set as TE mode and ISDN phone lines into RJ 45 interface which set as NT mode Fix the board by a screw Power on PC Caution If need to connect ISDN phone to B100P which set to NT mode the phone must have the power supply function During the above processes an ESD wrist strap is needed Once power is on you must not attempt to install or take down the board After hardware setup appropriate...
Page 13: ...available on OpenVox official website or Digium Some patches should be applied when the driver sourceis from Digium Get DAHDI package from OpenVox official website http downloads openvox cn pub drivers dahdi linux complete openvox_ dahdi linux complete current tar gz Get Libpri and Asterisk software packages from http downloads asterisk org pub telephony libpri releases libpri 1 4 11 5 tar gz http...
Page 14: ..._wget_http downloads asterisk org pub telephon y asterisk releases asterisk 1 8 4 4 tar gz tar zxvf asterisk 1 8 4 4 tar gz If using Asterisk 1 8 it is not need to make any patches more If using Asterisk 1 6 please modify the file asterisk 1 6 xx channels chan_dahdi c as the following introduction Please comment out the following line ast_log LOG_WARNING How cool would it be if someone Implemented...
Page 15: ...e MemWINV VGASnoop ParErr Stepping SERR FastB2B DisINTx Status Cap 66MHz UDF FastB2B ParErr DEVSEL medium TAbort TAbort MAbort SERR PERR INTx Latency 16 4000ns max Interrupt pin A routed to IRQ 177 Region 0 I O ports at dfe0 disabled size 8 Region 1 Memory at feafac00 32 bit non prefetchable size 256 Capabilities 40 Power Management version 1 Flags PMEClk DSI D1 D2 AuxCurrent 0mA PME D0 D1 D2 D3ho...
Page 16: ...o 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 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 yum install libxml2 yum install libxml2 d...
Page 17: ...ute the following command to update to the latest and stable kernel version yum install kernel kernel devel After installed please rebootyour machine to apply the new kernel and install the dependencies If the dependency has been installed system indicates that nothing to do which means you could go to next one directly Otherwise the system will keep on installing it Change to the directory dahdi ...
Page 18: ...hen run make again if successfully done it is time for you to install Libpri and Asterisk Please execute those commands to install Libpri and Asterisk cd libpri 1 4 11 5 make make install cd asterisk 1 8 4 4 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...
Page 19: ...k please load the driver by running commands modprobe dahdi modprobe zaphfc In TE mode dahdi_genconf dahdi_cfg vvv There are two issues for B100P NT mode Sometimes the first call can t work normally in such cases it is need to restart Asterisk The system runs modprobe zaphfc in default but it is for TE mode so it is necessary to run modprobe zaphfc modes 1 force_11_up 0 for NT mode when the machin...
Page 20: ...r please trace the cause Until all errors are clear up you could execute dahdi_genconf again and then go to the next step By running dahdi_genconf it will generate etc dahdi system conf and etc asterisk dahdi channels conf automatically Checking whether the generated files information agrees with your hardware setup if not you should modify to your specific requirements Do not forget to confirm th...
Page 21: ... part of system conf 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 loadzone cn defaultzone cn Some zonedata is available in the file dahdi XX tools zonedata c you can refer to it to match your country mode Meanwhile you also need to modify ano...
Page 22: ...nnel 1 2 context default group 63 Figure 6 A part of dahdi channels conf 3 Asterisk initiation Execute a command to start Asterisk 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 MOH Interpret Blocked State pseudo default default In Se...
Page 23: ...ple is given vim etc asterisk extensions conf 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 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 If there is a call from the ISDN line Asterisk will transfer to SIP extensi...
Page 24: ... URL www openvox cn 23 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 ...
Page 25: ...h 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 Environment Temperature 0 50 C Operation 40 125 C Storage Humidity 10 90 NON CONDENSING Powerconsumption Voltage 3 3V 5V Power Dissipation 0 05W Minimum 0 13W Maximum Hardware and software requirements RAM 128 MB Linux kernel 2 4 X or 2 6 X CPU 800 MHZ ...
Page 26: ...lue U interface 5 White Blue U interface 6 Green N A 7 White Brown 48VDC Power optional 8 Brown 48VDC Return optional The U Interface is most commonly used in North American Basic Rate ISDN systems The U Interface is an 8 conductor modular RJ 45 jack The center two pins pin 4 and 5 are used for the 2 wire loop The wiring of pin 4 and pin 5 are not polarity sensitive e g 4 and 5 may be crossed Opti...
Page 27: ...Blue Transmit 5 White Blue Transmit 6 Green Receive 7 White Brown 48VDC Power optional 8 Brown 48VDC Return optional The BRI S Interface is a 4 wire interface with separate Transmit and Receive pairs It can be operated in four modes Point to Point Mode allows one logical terminal that may be up to 1 KM from the NT 1 Short Passive Bus Mode allows connection of up to 8 terminals in parallel on the S...
Page 28: ...and the farthest TE1 TA device will have 100 ohm terminators Optional power to the NT 1 can be applied from pins 7 and 8 of the S Interface RJ 45 jack This is usually not used Many NT 1 units provide phantom power sealing current between the transmit 4 5 and receive 3 6 leads In these cases the Transmit 4 5 leads will be negative with respectto the Receive 3 6 leads This is often selectable in the...