If you are using E1 cards, you need to install LibPRI. If you do want to use LibPRI make sure you compile and install it before you compile Asterisk.
Next, we will compile and install the sources contained in /usr/src/libpri
. We will do this by typing:
# cd /usr/src/asterisk/libpri-VERSION
# make clean
# make
# make install
This process should take less than a minute. Again, we know it is complete when we are dropped back at the command prompt.
LibPRI provides the libraries required for using Primary Rate ISDN (PRI) trunks, as well as a number of other telephony interfaces. Even if we do not have a PRI line at this time, it is a good idea to install it, as it will not create any conflicts.
Parts of the Asterisk code depend on the libraries included in the LibPRI package. Therefore, any time we install LibPRI, we should recompile Asterisk.