You are on page 1of 8

BL420D 220D 120D+Elastix installation manual

BL420D/220D/120D Elastix-2.0.3

Installation manual

www.blue-net.cn

Blue Network Technology Co., Ltd.


Blue Network Technology Co., Ltd. Tel: +86-755-82968373 Fax: +86-755-82968657 http://www.blue-net.cn Page1

BL420D 220D 120D+Elastix installation manual

Address: First World Plaza, Block B 9A, Futian District, Shenzhen China, ZIP code518036 TEL86-755-82968373 FAX+86-755-82968657 Httphttp://www.blue-net.cn Emailsupport.bluenet@gmail.com

2007 Bluenet Inc. All Rights Reserved.


No part of this publication may be copied, distributed, transmitted, transcripted, stored in a retrieval system, or translated into any human or computer language without the prior written permission of Bluenet Inc. Bluenet and Bluenet Logo are trademarks of Bluenet Inc. All trademarks identified by and are registered trademarks or trademarks, respectively, of Bluenet Inc. All other trademarks are the property of their respective owners. The information provided in these documents is subject to change without notice. The configurations, technical data, and recommendations provided in these documents are believed to be accurate and dependable, but are presented without express or implied warranty. Users are responsible for their application of any products specified in these documents. Please e-mail any questions or comments pertaining to these documents along with the full title name and filename, located in the upper right corner, directly to the Bluenet technical support at support.bluenet@gmail.com.

Blue Network Technology Co., Ltd. Tel: +86-755-82968373 Fax: +86-755-82968657

http://www.blue-net.cn Page2

BL420D 220D 120D+Elastix installation manual

B L 4 2 0 D2 2 0 D1 2 0 D+ E l a s t i xI n s t a l l a t i o nm a n u a l Operating environment
*********************************** Elastix-2.0.3 BL420D V1.1 ***********************************

Configure the operating environment

1.1 Software installation


Download Elastix-2.0.3 ISO file from http://www.elastix.org/en/downloads/main-distro.html and install it.

1.2 Hardware installation


Plug BL420D Integrated circuit board into PCI slot on the motherboard.

1.3 Start system


After the system installed, when first start, the interface will appear as shown in Figure 1, where user can enter the password for Mysql.

Figure 1 Enter the password, select [OK], and press the Enter key, the interface will appear as shown in Figure 2, where user need to re-enter the password for Mysql.

Blue Network Technology Co., Ltd. Tel: +86-755-82968373 Fax: +86-755-82968657

http://www.blue-net.cn Page3

BL420D 220D 120D+Elastix installation manual

Figure 2 Select [OK], and press the Enter key, the interface will appear as shown in Figure 3, where user need to enter the password for Web interface.

Figure 3 Enter the password, select [OK], and press the Enter key, the interface will appear as shown in Figure 4, where user need to re-enter the password for Web interface.

Figure 4

Blue Network Technology Co., Ltd. Tel: +86-755-82968373 Fax: +86-755-82968657

http://www.blue-net.cn Page4

BL420D 220D 120D+Elastix installation manual

1.4 Detect hardware


After system started, run the command at command line: # lspci vvv

Figure 5 If user can see the information shown in Figure 5,it said that the system has detected the hardware. Otherwise, unplug BL420D/220D/120D circuit board and plug it into another PCI slot.

Blue Network Technology Co., Ltd. Tel: +86-755-82968373 Fax: +86-755-82968657

http://www.blue-net.cn Page5

BL420D 220D 120D+Elastix installation manual

2
2.1 Check the version of dahdi

Driver Installation

[root@bogon ~]# modinfo /lib/modules/2.6.18-194.3.1.el5/dahdi/dahdi.ko

Figure 6 As shown in Figure 6, the version of dahdi is 2.3.0.1

2.2 Compile the driver


When compile the driver of BL420D/220D/120D,it would use the source file of dahdi.So user need to download the source file of dahdi, firstly. In elastix-2.0.3, the version of dahdi is 2.3.0.1, user need to download dahdi-linux-complete-2.3.0.1+2.3.0.tar.gz. from http://www.asterisk.org . [root@bogon~]#wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/releases/dahdi-linux-complete-2. 3.0.1+2.3.0.tar.gz Upload bluenet-linux-0.2.1.tar,bz2 to /root , then run the following command in turn: [root@bogon ~]# tar -xvzf dahdi-linux-complete-2.3.0.1+2.3.0.tar.gz [root@bogon ~]# tar -xvjf bluenet-linux-0.2.1.tar.bz2 [root@bogon ~]# cd dahdi-linux-complete-2.3.0.1+2.3.0 [root@bogon dahdi-linux-complete-2.3.0.1+2.3.0]# make [root@bogon dahdi-linux-complete-2.3.0.1+2.3.0]# make install [root@bogon dahdi-linux-complete-2.3.0.1+2.3.0]# make config [root@bogon dahdi-linux-complete-2.3.0.1+2.3.0]# cd [root@bogon ~]# cd bluenet-linux-0.2.1 [root@bogon bluenet-linux-0.2.1]# ./configure --with-dahdi=/root/dahdi-linux-complete-2.3.0.1+2.3.0 [root@bogon bluenet-linux-0.2.1]# make [root@bogon bluenet-linux-0.2.1]# make install

2.3 Module to run


Add the following lines at the end of the file /etc/dahdi/modules # Bluenet BL120D: PCI single-port T1/E1/J1 # Bluenet BL220D: PCI dual-port T1/E1/J1 # Bluenet BL420D: PCI quad-port T1/E1/J1 t4xxp

Blue Network Technology Co., Ltd. Tel: +86-755-82968373 Fax: +86-755-82968657

http://www.blue-net.cn Page6

BL420D 220D 120D+Elastix installation manual

2.4 Load the driver


Edit the following files. [root@bogon ~]# vi /etc/dahdi/genconf_parameters echo_can oslec modify this line to echo_can none bri_sig_style bri [root@bogon ~]# amportal stop [root@bogon ~]# service dahdi stop [root@bogon ~]# modprobe dahdi [root@bogon ~]# modprobe t4xxp [root@bogon ~]# dahdi_genconf [root@bogon ~]# dahdi_cfg vv DAHDI Tools Version - 2.3.0 DAHDI Version: 2.3.0.1 Echo Canceller(s): Configuration ====================== SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1) SPAN 2: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1) SPAN 3: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1) SPAN 4: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map: Channel 01: Clear channel (Default) (Echo Canceler: none) (Slaves: 01) Channel 02: Clear channel (Default) (Echo Canceler: none) (Slaves: 02) Channel 123: Clear channel (Default) (Echo Canceler: none) (Slaves: 123) Channel 124: Clear channel (Default) (Echo Canceler: none) (Slaves: 124) 124 channels to configure. Setting echocan for channel 1 to none Setting echocan for channel 2 to none Setting echocan for channel 123 to none Setting echocan for channel 124 to none

2.5 Test driver


[root@bogon ~]# asterisk vvvvvvgc *CLI> dahdi show channels Chan Extension Context pseudo default 1 from-pstn
Blue Network Technology Co., Ltd. Tel: +86-755-82968373 Fax: +86-755-82968657

Language

MOH Interpret default default

Blocked

State In Service In Service

http://www.blue-net.cn Page7

BL420D 220D 120D+Elastix installation manual

2 from-pstn default 3 from-pstn default 4 from-pstn default 5 from-pstn default 7 from-pstn default 8 from-pstn default 9 from-pstn default 10 from-pstn default 11 from-pstn default 12 from-pstn default 13 from-pstn default 122 from-pstn default 123 from-pstn default 124 from-pstn default If user can see the following information, it indicates that the configuration is Otherwise, please check the configuration files and reload driver.

In Service In Service In Service In Service In Service In Service In Service In Service In Service In Service In Service

In Service In Service In Service completed.

Blue Network Technology Co., Ltd. Tel: +86-755-82968373 Fax: +86-755-82968657

http://www.blue-net.cn Page8

You might also like