Open Source - Installing DAHDI

Open Source - Installing DAHDI

Table of Contents

Software Installation

Sangoma® hardware requires drivers and libraries that are not integrated with the Linux kernel. These drivers and libraries including application software, and may be obtained from Sangoma’s downloads server at:http://downloads.digium.com

For an introduction to Asterisk®, Sangoma’s telephony software, including information on its configuration, setup and features, please refer to:http://www.asterisk.org .  For product-specific documentation including product’s manual and other related information please visithttp://www.digium.com

Software Requirements

  • Linux 2.6.18 or later

Sangoma recommends CentOS, Debian, RedHat, and Ubuntu distributions of Linux.

  • Development libraries and headers for ncurses, zlib, openssl and libnewt

  • GCC and standard software build tools

Debian like OS:  # apt-get install gcc libncurses-devel kernel-devel kernel-smp-devel gcc-c++ libnewt-dev zlib-devel unixODBC-devel libtool make

 

Red Hat like OS: # yum install gcc ncurses-devel libtermcap-devel kernel-devel gcc-c++ newt-devel zlib-devel unixODBC-devel libtool make

Note: These commands includes optional libraries which are used by Asterisk and Asterisk-addons

Installation Steps

It is recommended that you use the most recent version of the Asterisk, DAHDI, and libpri software for the best results. If you have previously installed any of these, Sangoma recommends that you upgrade to the latest “-current” version of each.

Also, please be aware that you may need to re-compile Asterisk if you are upgrading DAHDI or libpri. The Application programming interface (API) of these packages tends to change between versions, re-compilation is the only way that you make Asterisk's adapt  to the new API.

# wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-X.X.X+X.X.X.tar.gz
# tar -zxvf  dahdi-linux-complete-X.X.X+X.X.X.tar.gz
# cd dahdi-linux-complete-X.X.X+X.X.X.tar.gz
# make
# make install
# make config

# wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-X.X.X.tar.gz
# tar -zxvf libpri-X.X.X.tar.gz
# cd libpri-X.X.X/
# make
# make install

 

Configuration

Sangoma suggest that customers refer to the product manual for specific information about how to configure your Sangoma Card. Product documentation including product’s manual and other related information it can be obtained athttp://www.digium.com