Please I need your Support LIBPRI

Hello, I am getting this issue, when I try to download the Libpri package, I am getting as follows:

wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-current.tar.gz
–2023-09-25 15:43:34-- http://downloads.asterisk.org/pub/telephony/libpri/libpri-current.tar.gz
Resolving downloads.asterisk.org (downloads.asterisk.org)… 165.22.184.19, 2604:a880:400:d0::14:9001
Connecting to downloads.asterisk.org (downloads.asterisk.org)|165.22.184.19|:80… connected.
HTTP request sent, awaiting response… 500 Internal Server Error
2023-09-25 15:43:35 ERROR 500: Internal Server Error.

Note: If I use :
wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.6.1.tar.gz, It will accept. But after the CLI: No such command ‘pri show spans’ (type ‘core show help pri show’ for other possible commands)

After building and installing libpri Asterisk has to be rebuilt with support for it. This is done by re-running configure and rebuilding Asterisk.

Do you mean First Install Libpri, and the Rebuild asterisk?

Yes.

Thanks. I will.

wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.6.1.tar.gz
tar -zvxf libpri-1.6.1.tar.gz
cd libpri-1.6.1
make clean
make
make install

But first make sure you’ve installed dahdi. THEN & only then you can install/ build asterisk

Thanks for your reply.

1 Like

Of course you need to build Dahdi before Libpri. :wink:

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.