Asterisk Upgrade

From KlavoWiki
Jump to navigationJump to search

This upgrade is based on:

  • Asterisk 1.6.0.1 to 1.6.0.3
    • 1.6.0.3 to 1.6.0.5
  • DAHDI Linux 2.0.0 to 2.1.0.3
    • 2.1.0.3 to 2.1.0.4
  • DAHDI Tools 2.0.0 to 2.1.0.2


Prerequisite

It is not necessary but I like doing it as a precaution. I stop DAHDI and Asterisk before the upgrade.

service asterisk stop
service dahdi stop

DAHDI

DAHDI Linux

cd dahdi-linux-2.1.0.3
make
make install

DAHDI Tools

cd dahdi-tools-2.1.0.2

./configure
make menuselect
make
make install

Asterisk

cd asterisk-1.6.0.3
./configure
make menuselect
make
make upgrade

Asterisk Addons

Even if there is not a newer version of the Asterisk addons you still need to recompile and install as you will get errors like:

WARNING[12164] loader.c: Module 'cdr_addon_mysql.so' was not compiled with the same compile-time options as this version of Asterisk.

Install addons.

cd asterisk-addons-1.6.0
./configure
make
make install

Start Services

If you stoped the services before the upgrade you now need to start them again.

service dahdi start
service asterisk start