Installing and configuring DAHDI
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:
- the actual module libpri.so.1.4;
- a symlink to this module, called libpri.so
- 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.