Installing and configuring DAHDI

From SaruWiki
Revision as of 20:52, 19 June 2010 by Saruman! (talk | contribs) (started libpri1.4)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Installation overview

LIBPRI configuration/installation

Asterisk needs the libpri package; not only to handle digital telephony cards (ISDN-cards), but also for some other functions (although currently I don't know which ones :-). Before installing Asterisk, you could start by installing this package. In Debian 5.0 "Lenny", the packages is named libpri1.0 and it can be installed using apt-get. However, it's very easy to install the latest & greatest straight from the Asterisk website.

Obtaining and preparing libpri

Compiling and installing libpri

===Files and updating After installation, you'll find that /usr/lib contains 3 entries:

  1. the actual module libpri.so.1.4;
  2. a symlink to this module, called libpri.so
  3. static library file libpri.a

Updating is as simple as recompiling a new version, which will overwrite these three files; if you don't need libpri any more, simply delete the three files.

For reference, the Debian libpri1.0 package contains
- module libpri.so.1.0
- a symlink to this module, called libpri.so.1
- libpri-bristuffed.so.1.0
- a symlink to this module, called libpri-bristuffed.so.1 The Debian package libpri1.0 (and by extension these files) can coexist with a vanilla libpri, as long as it's not an 1.0.x libpri.

DAHDI installation

DAHDI tools installation

Testing your DAHDI drivers