Installing DAHDI

« Go Back

Information

 
Steps

Software Installation

Digium® 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 Digium’s downloads server at: http://downloads.digium.com

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

Software Requirements

  • Linux 2.6.18 or later
Digium 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 libaries 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, Digium 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 packges tends to change between versions, re-compilation is the only way that you make Asterisk's adapt  to the new API.
  • Download and install the latest DAHDI drivers. DAHDI is available for download from:  http://downloads.digium.com/pub/telephony/dahdi-linux-complete
# 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
  • If you are installing a Digium Digital Card, download and install the latest version of libpri after installing DAHDI. libpri is available for download from: http://downloads.digium.com/pub/telephony/libpri
# 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

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