[asterisk-users] trying to upgrade asterisk and Debian -- not working

Stefan Viljoen viljoens at verishare.co.za
Fri Jan 25 00:11:44 CST 2019

Hi John

I've jumped around between several Asterisk versions on Centos 7 by doing

1. Copying the asterisk binary in 




(or whatever version number)

2. Tar'ing up the /usr/lib/asterisk/modules directory's contents

# cd /usr/lib/asterisk/modules

# tar cvf asterisk. *

3. Deleting all the old / different version's module object files, e. g. still in /usr/lib/asterisk/modules

rm -rf *.so

4. Untarring and ungzipping the new / different version I downloaded manually into my


folder, e. g.

cd /usr/src

gunzip asterisk-

tar xvf asterisk-

5. Then the usual

# cd asterisk-
# ./configure
# make menuconfig

then set options then

# make
# make install
# make samples
# make progdocs

Ok, so now I'm on and if I go

# asterisk

I will start up the "new" version.

To revert to Asterisk (or whatever) I then stop asterisk, and then I simply rename the current 

/usr/sbin/asterisk to 


and the 


that is still there to


thereby making that binary active again.

Then I tar up all the .so files in 




and delete all .so files in /usr/lib/asterisk/modules, then extract

tar xvf asterisk.

to revert to the older version's modules.

I can then go

# asterisk

and now I'm back to running


I've done this with three or four different Asterisk versions in the past, switching between them for testing.

A bit more manual procedure that you've done, but it does work to try out similar Asterisk versions / subversions for testing?


Message: 2
Date: Thu, 24 Jan 2019 02:49:52 -0500
From: John Covici <covici at ccs.covici.com>
To: viljoens at verishare.co.za, Asterisk Users Mailing List -
	Non-Commercial Discussion <asterisk-users at lists.digium.com>
Subject: Re: [asterisk-users] trying to upgrade asterisk and Debian --
	not	working (John Covici)
Message-ID: <m3o9861om7.wl-covici at ccs.covici.com>
Content-Type: text/plain; charset=US-ASCII

I checked out 13.15.0, ./configure, make delete all modules, followed by make install.

On Thu, 24 Jan 2019 01:17:32 -0500,
Stefan Viljoen wrote:
> What procedure did you follow to revert back to the old version?

More information about the asterisk-users mailing list