# Upgrading/Downgrading Asterisk

This page reorganizes the operational steps for **Upgrading/Downgrading Asterisk**.

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

## Current Verification

After applying the change, verify the related MiRTA PBX page, the Asterisk logs, and the relevant Status menu entry. Recheck tenant selection before testing tenant-specific behavior.