Sangoma cards are compatible with most commercially available servers and motherboards on the market. Our cards are available in both PCI and PCI express versions and are backwards compatible (i.e. 16x, 8x, 4x, 2x) Also available are different size brackets for 1U and 2U server form factors.
1. Selecting your Linux Operating system (Centos7 Minimal)
1. Selecting your Linux Operating system (Centos7 Minimal)
on this lab 7.6.1810(3.10.0-229.el7.x86_64)
2. Preparing your Operating system for software packages
yum -y install kernel-devel-3.10.0-229.el7.x86_64 libtool* make gcc patch perl bison flex-devel gcc-c++ ncurses-devel flex libtermcap-devel autoconf* automake* autoconf libxml2-devel cmake
yum -y install libuuid-devel bzip2 sqlite sqlite-devel libjansson*
if kernel-devel fail. install using rpm
wget https://buildlogs.cdn.centos.org/c7.01.00/kernel/20150306113403/3.10.0-229.el7.x86_64/kernel-devel-3.10.0-229.el7.x86_64.rpm
yum -y install kernel-devel-3.10.0-229.el7.x86_64.rpm
rpm -ivh kernel-devel-3.10.0-229.el7.x86_64.rpm
https://youtu.be/fcd9hEyZMhQ https://youtu.be/IssQZ26aV4w
3. Download DAHDI, LibPRI, Asterisk, Sangoma on /usr/src
echo "asterisk"
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13-current.tar.gz
echo "DAHDI"
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz
echo "LibPRI"
wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-current.tar.gz
echo "wanpipe"
wget ftp://ftp.sangoma.com/linux/current_wanpipe/wanpipe-current.tgz
4. now software ready
asterisk-13-current.tar.gz dahdi-linux-complete-current.tar.gz kernels libpri-current.tar.gz wanpipe-current.tgz
5. Install Software Packages
DAHDI Installation
-> Untar the download DAHDI software package, and then install. Type the following in the /usr/src/ directory:
cd /usr/src
tar -xvf dahdi-linux-complete-current.tar.gz
cd dahdi-linux-complete-3.0.0+3.0.0
make
make install
LibPRI Installation (required for PRI/BRI only)
-> Untar the download DAHDI software package, and then install. Type the following in the /usr/src/ directory:
cd /usr/src
tar -xvf libpri-current.tar.gz
cd libpri-1.6.0/
make
make install
Asterisk Installation
-> Untar the download Asterisk software package, and then install. Type the following in the /usr/src/ directory:
cd /usr/src
tar -xvf asterisk-13-current.tar.gz
cd asterisk-13.24.0
./configure --with-jansson-bundled
make
make install
6. Installing Sangoma Driver (called 'Wanpipe')
cd /usr/src
tar -xvf wanpipe-current.tgz
cd wanpipe-7.0.25/
./Setup install
7. sample log
----------------------------------------------------------
WANPIPE v7.0.25 Installation Script
Copyright (c) 1995-2013, Sangoma Technologies Inc.
----------------------------------------------------------
Please Select Compilation Mode
1. WAN Protocols Support
Protocols: Frame Relay, CHDLC, PPP, ATM, X25, ADSL, TDM API
Default for: Wan Routing, Data & Voice API devel.
2. Asterisk/Dahdi Support
Asterisk protocols: libpri (PRI,BRI), Analog (FXO/FXS), libss7 (SS7)
Default for: Asterisk
3. Asterisk/Dahdi + WAN Protocol Support
4. TDM API (libsangoma)
Protocols: TDM API (libsangoma) on AFT adapters:
Default for: FreeSWITCH, Yate, Sunrise
Custom voice development
5. Custom Compilation Mode
Specify protocols to be added into the WANPIPE
kernel drivers.
6. Deprecated: SMG (BRI) (Asterisk SMG/BRI [Use Asterisk/Dahdi option 2 instead])
7. Deprecated: SMG (BRI) + Asterisk/Dahdi [Use Asterisk/Dahdi option 2 instead]
Please select (1-7) [Default: 1]: 2
Looking for zaptel/dahdi directory in /usr/src ...
-------------------------------------------
1 : /usr/src/dahdi-linux-complete-3.0.0+3.0.0
------------------------------------------
------------------------------------------
m : Enter zaptel path manually
(ctrl-c to Exit)
Please select working zaptel directory [1-1][m]: 1
Updating Kernel Modules ...Done.
Visually Confirm that driver compilation was successful! (y/n)
Please answer y or n
Visually Confirm that driver compilation was successful! (y/n)
Please answer y or n
Visually Confirm that driver compilation was successful! (y/n) y
8. Configuration of Span, change configurasi PRI from none to MG2
9. Configuration span paramater, change CRC = from crc4 to ncrc4, then channel detected on elastix
10. Result detected hardware
No comments:
Post a Comment