Upgrading Asterisk from 11 to 13 (FreePBX) | ソフトウェア開発のギークフィード

Upgrading Asterisk from 11 to 13 (FreePBX)

In order to upgrade Asterisk to a major version, for example asterisk 11 to 13 in this article, you can follow the steps below:

Backup

1. It is always recommended to backup /etc/asterisk and necessary modules before proceeding.

2. Beside modules, you can also backup database just in case.

Upgrade

1. It is up to you whether to remove the previous version or not. If you would like to get rid of everything, then do the following:

Now we can start the upgrade.

2. To install the newer version of Asterisk, in this case Asterisk 13, just follow the usual installation procedures.
Note: for Asterisk after 13.8, you will need to include pjproject bundled.

You can refer to previous article for reference.

3. When doing make install, you might encounter errors as following:

WARNING WARNING WARNING

Installation is to:
/usr/lib
but there are asterisk shared libraries in:
/usr/lib64
or
/usr/lib64/asterisk/modules

It is unlikely that asterisk will start.

If you see this error, do make uninstall first, then continue with the installation.

Or you might see this error:

WARNING WARNING WARNING

Your Asterisk modules directory, located at
/usr/lib/asterisk/modules
contains modules that were not installed by this
version of Asterisk. Please ensure that these
modules are compatible with this version before
attempting to run Asterisk.

chan_mgcp.so
chan_oss.so
chan_phone.so
chan_skinny.so
chan_skype.so
codec_g729a.so
res_skypeforasterisk.so

Just delete /usr/lib64/asterisk/modules, and it should be fine.(Make sure the modules are already backuped)

4. When the installation is done, if asterisk is still running, stop it first.

Then start the new version of asterisk:

and should see something like:

5. Finally, restart your server

呉慕蘋

Leave a reply

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください

ページトップへ