Upgrading/Downgrading Asterisk: Difference between revisions

From MiRTA PBX documentation
Jump to navigation Jump to search
(Created page with "Upgrading or downgrading Asterisk should be done only if really needed. Asterisk relies on a series of libraries and different Asterisk versions may need different library ver...")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
Upgrading or downgrading Asterisk should be done only if really needed. Asterisk relies on a series of libraries and different Asterisk versions may need different library versions.
Upgrading or downgrading Asterisk should be done only if really needed. Asterisk relies on a series of libraries and different Asterisk versions may need different library versions.


A sample script to upgrade Asterisk is provided as protected/installAsterisk.sh
A simple script to upgrade Asterisk is provided as protected/installAsterisk.sh


Asterisk version up to 13.4.0 (included) are known to work pretty well.
To upgrade to latest version 20, you can just run


From Asterisk 13.5.0 to 13.9.0 there is a nasty ODBC lock bug and a nasty SIP lock bug
  cp protected/installAsterisk.sh /usr/local/src
  cd /usr/local/src
  ./installAsterisk 20-current


From Asterisk 13.10.0, the nasty ODBC lock bug is solved, but the SIP lock bug was still in place. It is needed to upgrade unixODBC to at least version 2.3.4-1. A link to upgrade it is provided in the script. If installing a previous asterisk version, upgrading unixODBC can lead to unexpected instabilities.
If you want to upgrade to a specific asterisk version, you can provide it as


From Asterisk 13.12.0 the nasty SIP lock bug seems gone.
  ./installAsterisk 20.12.0

Latest revision as of 06:54, 6 March 2025

Upgrading or downgrading Asterisk should be done only if really needed. Asterisk relies on a series of libraries and different Asterisk versions may need different library versions.

A simple script to upgrade Asterisk is provided as protected/installAsterisk.sh

To upgrade to latest version 20, you can just run

 cp protected/installAsterisk.sh /usr/local/src
 cd /usr/local/src
 ./installAsterisk 20-current

If you want to upgrade to a specific asterisk version, you can provide it as

 ./installAsterisk 20.12.0