How to update Asterisk 16.1 to 16.2

Ok. Short article. We already have Asterisk 16.1, lets update to 16.2

systemctl stop asterisk
cd /usr/src
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-16-current.tar.gz
tar -zxvf asterisk-16-current.tar.gz
cd asterisk-16.2.1/
./configure --with-pjproject-bundled --with-crypto --with-ssl=ssl --with-srtp --with-jansson-bundled
make menuselect #should find out how to save settings
make && make install && make config && ldconfig
chown asterisk.asterisk /var/run/asterisk &&
chown -R asterisk.asterisk /etc/asterisk &&
chown -R asterisk.asterisk /var/{lib,log,spool}/asterisk &&
chown -R asterisk.asterisk /usr/lib/asterisk

Leave a Reply

Your email address will not be published.