How to upgrade 1.2.6 to 1.7.1

Hi, I have a small asterisk system built with Asterisk at home. Its 1.2.6.

What is the best way to upgrade this to ? while keeping all my configs and voice mail settings etc…

thank you in advance

Save (diff. harddisk eg.)


and all its folders under that completely.

Your /etc/asterisk files wont be touch if you DONT (dont do…) end the update with
"make samples"

But the standard installation is replacing any customized (same name) voicefiles in

so copy this directory back after update.

The update itself is a install in the order:
asterisk addons

The commandorder is in all 4 directories:
make clean
make install

Make sure you have the appropiate execute rights on all files.

one more thing we always do is clear out the /usr/lib/asterisk/modules directory, just to be safe…that way, any archaic modules will be removed, and you won’t get weird crashes when modules.conf has autoload set to yes…

Very good hint !
I do that to to avoid version mixmax!

Tnx for pointing to it !

upgrading from 1.2.6 to should be as simple as just reinstalling the binaries and making sure you dont override any custom sound files…

if you have not used unique names for your own custom sound files (which I would recommend doing at all times) simply get and make && make install…

/etc/asterisk is not touched unless you make samples

To upgrade A@H to the latest drivers, the following procedure will take approximately 20-30 minutes:

amportal stop

cd /usr/src
wget … 2.5.tar.gz
wget … 2.2.tar.gz
wget … 7.1.tar.gz
wget … 2.2.tar.gz
wget … 2.1.tar.gz

tar -zxvf zaptel-1.2.5.tar.gz
tar -zxvf libpri-1.2.2.tar.gz
tar -zxvf asterisk-
tar -zxvf asterisk-addons-1.2.2.tar.gz
tar -zxvf asterisk-sounds-1.2.1.tar.gz

cd zaptel-1.2.5
make clean
make install
cd …

cd libpri-1.2.2
make clean
make install
cd …

cd asterisk-
make clean
make install
cd …

cd asterisk-addons-1.2.2
make clean
make install
cd …

cd asterisk-sounds-1.2.1
make clean
make install
cd /root

amportal start

This is one the best and less intrusive ways to upgrade A@H to the latest drivers.