Asterisk packages installation on CentOS 7

Asterisk PBX

Officially now Asterisk packages repository is gone. Asterisk installation manual gone as well.

If you use Asterisk on CentOS or RHEL, you want to be using RPM packages, not messing around with building source tarballs on each of the machines you maintain. I use Asterisk on CentOS, both on CentOS 6 and more recently on CentOS 7 working with quite a few systems that it’s important to keep consistent. Luckily there is a Tucny repo with Asterisk packages for CentOS 7

Download the repo file from https://ast.tucny.com/repo/tucny-asterisk.repo to /etc/yum.repos.d/:

Import the signing key using

Edit the /etc/yum.repos.d/tucny-asterisk.repo and set 'enabled=1' for 'asterisk-common' and the version of asterisk you want to use.

Install Asterisk and additional packages:

Also, DAHDI and LibPRI if needed:

Start Asterisk:

Done!

UPDATE (thanks to the one of our readers)

Asterisk 17 packages for RHEL/CentOS are now available , however tucny.repo file is not updated yet and mirrorselector does not support the repo as well.

Add the following at the end of tucny.repo file to get Asterisk 17 packages:

As for now packages are available for RHEL7/CentOS7 only.

Want me to do this for you? Drop me a line: itgalaxyzzz {at} gmail [point] com