- No category
advertisement
2/4/8port PRI Card installation Guide www.allo.com Version 2.1 1
2/4/8port PRI Card installation Guide
Copy Right
Copyright © 2014 Allo .com
. All rights reserved.
No part of this publication may be copied, distributed, transmitted, transcribed, stored in a retrieval system, or translated into any human or computer language without the prior written permission of Allo.com. This document has been prepared for use by professional and properly trained personnel, and the customer assumes full responsibility when using it.
Proprietary Rights
The information in this document is Confidential to Allo and is legally privileged. The information and this document are intended solely for the addressee. Use of this document by anyone else for any other purpose is unauthorized. If you are not the intended recipient, any disclosure, copying, or distribution of this information is prohibited and unlawful.
Disclaimer
This documentation might include technical inaccuracies or typographical errors and is subject to correction and other revision without notice. ALLO GIVES YOU THIS CUSTOMER DOCUMENTATION
“AS IS”. EXPRESS OR IMPLIED WARRANTIES OF ANY KIND ARE NOT PROVIDED, INCLUDING BUT
NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
PARTICULAR PURPOSE. Some states or jurisdictions do not allow disclaimer of express or implied warranties in certain transactions; therefore, this statement may not help you. www.allo.com Version 2.1 2
2/4/8port PRI Card installation Guide
Preface
About this manual
This manual describes the allo product application and explains how to work and use it major features. It serves as a means to describe the configuration and how to use it to accomplish common tasks. This manual also describes the underlying assumptions and users make the underlying data model.
Document Conventions
In this manual, certain words are represented in different fonts, typefaces, sizes, and weights.
This highlighting is systematic; different words are represented in the same style to indicate their inclusion in a specific category. Additionally, this document has different strategies to draw User attention to certain pieces of information. In order of how critical the information is to your system, these items are marked as a note, tip, important, caution, or warning.
Icon Purpose
Note
Tip/Best Practice
Important
Caution
Warning
Bold indicates the name of the menu items, options, dialog boxes, windows and functions.
The color blue with underline is used to indicate cross-references and hyperlinks. www.allo.com Version 2.1 3
2/4/8port PRI Card installation Guide
Numbered Paragraphs - Numbered paragraphs are used to indicate tasks that need to be carried out. Text in paragraphs without numbering represents ordinary information.
The Courier font indicates a command sequence, file type, URL, Folder/File name e.g. http://www.allo.com
Support Information
Every effort has been made to ensure the accuracy of the document. If you have comments, questions, or ideas regarding the document contact online support: http://support.allo.com/ www.allo.com Version 2.1 4
2/4/8port PRI Card installation Guide
Contents
Contents
Preface .......................................................................................................................................................... 3
Contents ........................................................................................................................................................ 5
www.allo.com Version 2.1 5
2/4/8port PRI Card installation Guide
1. Hardware Setup
1) Customization of the 2 nd
gen PRI card to use in PCI / PCIe server slot. By default, the card is ready to fix in PCIe slot of the server.
Figure 1: Customization of 2 nd
Generation PRI Card
If you want to use the 2 nd
gen 4 ports PRI PCIe card in a PCI slot. Before rotating you need to load the PCI firmware by installing in a PCIe slot.
For further assistance: please contact http://support.allo.com/ under the category of “PRI
Cards”
2) Insert the 2 nd
Gen 4 port PRI (PCI/PCIe) card in the corresponding PCI/PCIe slot of the Server.
Figure 2: 2 nd
Gen 4 ports PRI Card www.allo.com Version 2.1 6
2/4/8port PRI Card installation Guide
3) Check if the installed PRI card is detected using the below command
# lspci
If the card has been recognized, it will be displayed in the output information. root voiptest ~]# lspci
#04:00.0 Non-VGA unclassified device: Device 1d21:1280 (rev 01)
Device PRI Id
1280
1240
1220
1210
Type of PRI Card
8 ports PRI Card
4 ports PRI Card
2 ports PRI Card
1 port PRI Card
If the PRI card is not recognized by the system, you have to power off and take out the card, and then insert it into another PCI-E slot.
2. Software Installation Steps
This chapter describes how to install the software on your computer. Before you proceed please make sure that your computer meets the requirements.
Test Environment (Example)
Libpri-1.4.14
ALLO Dahdi Driver - 2.9.1 asterisk-11.4.0 centos 6.2 (kernel version: 2.6.32)
Telephony Card : 4 port PRI PCIe card (Model:2aCP4e)
Installation of Pre requisite packages:
Install all of Asterisk’s dependencies that are required to compile asterisk. Run the followings commands to install the required packages needed for compiling drivers from source.
[root@localhost ~]# yum install bison bison-devel ncurses ncurses-devel zlib zlib-devel openssl openssl-devel gnutls-devel gcc gcc-c++ libxml2
Installation of LibPRI package
Go to /usr/src directory and Download LibPRI by running the following command www.allo.com Version 2.1 7
2/4/8port PRI Card installation Guide
[root@localhost src]# wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.4.14.tar.gz
After downloading LibPRI extract the LibPRI tar file by the command
[root@localhost src]# tar -xvzf libpri-1.4.14.tar.gz
Install the LibPRI by following the commands
[root@localhost src]# cd libpri-1.4.14
# make clean
# make
#make install
Installation of Dahdi Driver
Download latest ALLO Dahdi Drivers and available for download from: http://www.allo.com/firmware/pri-card-second-gen/dahdi/dahdi-linux-complete-2.9.1.1+2.9.1.tar.gz
You can download the respective Dahdi version from http://allo.com/pri-card-second-gen.html
under “Guides & Drivers”.
Download the respective dadhi drive executing the following command
#wget http://www.allo.com/firmware/pri-card-second-gen/dahdi/dahdi-linux-complete-2.9.1.1+2.9.1.tar.gz
Extract the downloaded file and enter into that directory
# tar -xvzf dahdi-linux-complete-2.9.1.1+2.9.1.tar.gz
Use the following commands to install DAHDI drivers
# cd dahdi-linux-complete-2.9.1.1+2.9.1
#make
#make install
#make config
Successful Dahdi Driver installation shows the similar output & lists the detected Dahdi devices www.allo.com Version 2.1 8
2/4/8port PRI Card installation Guide
Figure 3: Dahdi driver Installation output
After Dahdi driver installation to list out the Dahdi hardware devices run dahdi_hardware
command and output are as follows:
Figure 4: Dahdi-Hardware command
Installation of Asterisk
Download the latest version of asterisk. Asterisk is available for download from: http://downloads.asterisk.org/pub/telephony/asterisk/ after downloading asterisk, extract the asterisk tar file by giving following command.
#wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11-current.tar.gz
Go to asterisk folder and compile the packages as shown in the screenshot www.allo.com Version 2.1 9
2/4/8port PRI Card installation Guide
To install asterisk give the following commands:
[root@pbx1 asterisk-11.4.0]#. /configure
#make
# make install
# make config
If this is your first Asterisk Install, you should install the sample configuration files, to do this run:
# make samples
3. Software Configurations
Add the line “allo4xxp” at the end in /etc/Dahdi/modules file. The “start dhadi” is to “stop and start dhadi service” according to deployment scenario.
After compiling and installing DAHDI and Asterisk, load the Dahdi driver by running:
# /etc/init.d/dahdi start
# dadhi_genconf –vvvvv
If there is any error, please trace the cause. Until all errors are clear up, you should execute
"dadhi_genconf" again, and then go to the next step.
By running "dadhi_genconf", it will generate /etc/dahdi/system.conf and etc/asterisk/dahdichannels.conf automatically. Check whether the generated files information agrees with your hardware setup, if not, you should modify to your specific requirements.
Figure 5: Dahdi channels configure with asterisk
Do not forget to confirm dahdi-channels.conf is included in chan_dahdi.conf to configure
Dahdi channels with asterisk, if not, run command:
# echo "#include dahdi-channels.conf" >> /etc/asterisk/chan_dahdi.conf www.allo.com Version 2.1 10
2/4/8port PRI Card installation Guide
Execute the following command:
# dadhi_cfg –vvvvv
This command is used for reading and loading parameters in the configuration file system.conf and writing to the hardware.
Start the Asterisk by executing
# asterisk –gvvvvvvvvvc
Make sure that PRI spans are up and active, before making calls. Here is the command to check the
PRI span status
CLI> pri show spans
Figure 6: PRI Span Status (8 Port PRI Card)
If you face any issues, please contact the reseller from whom you have purchased the ALLO product or submit a support ticket http://support.allo.com/ www.allo.com Version 2.1 11
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement