Asterisk Upgrade: Difference between revisions
From KlavoWiki
Jump to navigationJump to search
No edit summary |
|||
Line 39: | Line 39: | ||
make | make | ||
make upgrade | make upgrade | ||
</pre> | |||
== 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: | |||
<pre> | |||
WARNING[12164] loader.c: Module 'cdr_addon_mysql.so' was not compiled with the same compile-time options as this version of Asterisk. | |||
</pre> | |||
Install addons. | |||
<pre> | |||
cd asterisk-addons-1.6.0 | |||
./configure | |||
make | |||
make install | |||
</pre> | </pre> | ||
Revision as of 08:18, 22 February 2009
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