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

2019-01-24 Thread Stefan Viljoen
Hi John

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

1. Copying the asterisk binary in 

/usr/sbin/asterisk

to

/usr/sbin/asterisk.1.8.11.0

(or whatever version number)

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

# cd /usr/lib/asterisk/modules

# tar cvf asterisk.1.8.11.0.tar *

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

/usr/src

folder, e. g.

cd /usr/src

gunzip asterisk-1.8.32.3.tar.gz

tar xvf asterisk-1.8.32.3.tar

5. Then the usual

# cd asterisk-1.8.32.3
# ./configure
# make menuconfig

then set options then

# make
# make install
# make samples
# make progdocs

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

# asterisk

I will start up the "new" 1.8.32.3 version.

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

/usr/sbin/asterisk to 

asterisk.18.32.3

and the 

/usr/sbin/asterisk.1.8.11.0

that is still there to

/usr/sbin/asterisk

thereby making that binary active again.

Then I tar up all the .so files in 

/usr/lib/asterisk/modules

into

asterisk.1.8.32.3.tar

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

tar xvf asterisk.1.8.11.0.tar

to revert to the older version's modules.

I can then go

# asterisk

and now I'm back to running

Asterisk 1.8.11.0

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?

Regards,

Message: 2
Date: Thu, 24 Jan 2019 02:49:52 -0500
From: John Covici 
To: viljo...@verishare.co.za, Asterisk Users Mailing List -
Non-Commercial Discussion 
Subject: Re: [asterisk-users] trying to upgrade asterisk and Debian --
    not     working (John Covici)
Message-ID: 
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?


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] trying to upgrade asterisk and Debian -- not working (John Covici)

2019-01-24 Thread John Covici
But I delete all the modules before the make install.  I got no such
warning.

On Thu, 24 Jan 2019 09:46:13 -0500,
Floimair Florian wrote:
> 
> You need to run
> make uninstall_all
> while you still have 13.24.0-rc1 checked out.
> Then checkout the previous version, rebuild it and make install.
> 13.15.0 doesn't know anything about modules added by 13.24.0.
> You usually would get a warning when running make install that there are 
> modules present that were not compiled with the current version.
> 
>  
>  
> With best regards
> 
> Florian Floimair
> Innovation - Software-Development
> 
> COMMEND INTERNATIONAL GMBH
> A-5020 Salzburg, Saalachstraße 51
> http://www.commend.com 
> 
> Security and Communication by Commend
> 
> FN 178618z | LG Salzburg
> 
> Am 24.01.19, 08:52 schrieb "asterisk-users im Auftrag von John Covici" 
>  cov...@ccs.covici.com>:
> 
> 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?
> > 
> > It sounds like your binary has been revereted, but the modules it needs 
> to load are still the 13.24.0-rc1 modules...
> > 
> > ---
> > Hi.  I am trying to upgrade my asterisk from 13.15 to the latest of 
> asterisk 13 which seems to be 13.24.0-rc1.  At the same time I want to go 
> from Debian 8 to DEbian 9 to get a more recent operating system and 
> applications.
> > 
> > I ran in to the following problems when trying to do this.
> > 
> > When trying to use asterisk 13.24.0-rc1, I ran into some strange 
> problems with some of my custom scripts.
> > 
> > It seems the following statement immediately disconnects the user exten 
> => s,n,Read(digit,,1,,1,20) ; read a digit
> > 
> > In the log after that statement it says user disconnected.  I have an 
> agi which speaks some text before the read and that agi does not even say 
> anything, although it does complete.
> > 
> > Now, if I try to go back to 13.15.0, it does not work at all because it 
> keeps telling in my log that modules support is not available, so no modules 
> get loaded.
> > 
> > Any ideas on thispuzzle would be appreciated.
> > 
> > 
> > --
> > Your life is like a penny.  You're going to lose it.  The question is:
> > How do
> > you spend it?
> > 
> >  John Covici wb2una
> >  cov...@ccs.covici.com
> > 
> > 
> > 
> > --
> > 
> > Subject: Digest Footer
> > 
> > ___
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> > 
> > Check out the new Asterisk community forum at: 
> https://community.asterisk.org/
> > 
> > New to Asterisk? Start here:
> >   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
> > 
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >http://lists.digium.com/mailman/listinfo/asterisk-users
> > 
> > --
> > 
> > End of asterisk-users Digest, Vol 173, Issue 21
> > ***
> > 
> > 
> > -- 
> > _
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> > 
> > Check out the new Asterisk community forum at: 
> https://community.asterisk.org/
> > 
> > New to Asterisk? Start here:
> >   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
> > 
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >http://lists.digium.com/mailman/listinfo/asterisk-users
> > 
> 
> -- 
> Your life is like a penny.  You're going to lose it.  The question is:
> How do
> you spend it?
> 
>  John Covici wb2una
>  cov...@ccs.covici.com
> 
> -- 
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> Check out the new Asterisk community forum at: 
> https://community.asterisk.org/
> 
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new 

Re: [asterisk-users] trying to upgrade asterisk and Debian -- not working (John Covici)

2019-01-24 Thread Floimair Florian
You need to run
make uninstall_all
while you still have 13.24.0-rc1 checked out.
Then checkout the previous version, rebuild it and make install.
13.15.0 doesn't know anything about modules added by 13.24.0.
You usually would get a warning when running make install that there are 
modules present that were not compiled with the current version.

 
 
With best regards

Florian Floimair
Innovation - Software-Development

COMMEND INTERNATIONAL GMBH
A-5020 Salzburg, Saalachstraße 51
http://www.commend.com 

Security and Communication by Commend

FN 178618z | LG Salzburg

Am 24.01.19, 08:52 schrieb "asterisk-users im Auftrag von John Covici" 
:

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?
> 
> It sounds like your binary has been revereted, but the modules it needs 
to load are still the 13.24.0-rc1 modules...
> 
> ---
> Hi.  I am trying to upgrade my asterisk from 13.15 to the latest of 
asterisk 13 which seems to be 13.24.0-rc1.  At the same time I want to go from 
Debian 8 to DEbian 9 to get a more recent operating system and applications.
> 
> I ran in to the following problems when trying to do this.
> 
> When trying to use asterisk 13.24.0-rc1, I ran into some strange problems 
with some of my custom scripts.
> 
> It seems the following statement immediately disconnects the user exten 
=> s,n,Read(digit,,1,,1,20) ; read a digit
> 
> In the log after that statement it says user disconnected.  I have an agi 
which speaks some text before the read and that agi does not even say anything, 
although it does complete.
> 
> Now, if I try to go back to 13.15.0, it does not work at all because it 
keeps telling in my log that modules support is not available, so no modules 
get loaded.
> 
> Any ideas on thispuzzle would be appreciated.
> 
> 
> --
> Your life is like a penny.  You're going to lose it.  The question is:
> How do
> you spend it?
> 
>  John Covici wb2una
>  cov...@ccs.covici.com
> 
> 
> 
> --
> 
> Subject: Digest Footer
> 
> ___
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> Check out the new Asterisk community forum at: 
https://community.asterisk.org/
> 
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> --
> 
> End of asterisk-users Digest, Vol 173, Issue 21
> ***
> 
> 
> -- 
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> Check out the new Asterisk community forum at: 
https://community.asterisk.org/
> 
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
> 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: 
https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] trying to upgrade asterisk and Debian -- not working (John Covici)

2019-01-23 Thread John Covici
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?
> 
> It sounds like your binary has been revereted, but the modules it needs to 
> load are still the 13.24.0-rc1 modules...
> 
> ---
> Hi.  I am trying to upgrade my asterisk from 13.15 to the latest of asterisk 
> 13 which seems to be 13.24.0-rc1.  At the same time I want to go from Debian 
> 8 to DEbian 9 to get a more recent operating system and applications.
> 
> I ran in to the following problems when trying to do this.
> 
> When trying to use asterisk 13.24.0-rc1, I ran into some strange problems 
> with some of my custom scripts.
> 
> It seems the following statement immediately disconnects the user exten => 
> s,n,Read(digit,,1,,1,20) ; read a digit
> 
> In the log after that statement it says user disconnected.  I have an agi 
> which speaks some text before the read and that agi does not even say 
> anything, although it does complete.
> 
> Now, if I try to go back to 13.15.0, it does not work at all because it keeps 
> telling in my log that modules support is not available, so no modules get 
> loaded.
> 
> Any ideas on thispuzzle would be appreciated.
> 
> 
> --
> Your life is like a penny.  You're going to lose it.  The question is:
> How do
> you spend it?
> 
>  John Covici wb2una
>  cov...@ccs.covici.com
> 
> 
> 
> --
> 
> Subject: Digest Footer
> 
> ___
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> Check out the new Asterisk community forum at: https://community.asterisk.org/
> 
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> --
> 
> End of asterisk-users Digest, Vol 173, Issue 21
> ***
> 
> 
> -- 
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> Check out the new Asterisk community forum at: https://community.asterisk.org/
> 
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
> 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] trying to upgrade asterisk and Debian -- not working (John Covici)

2019-01-23 Thread Stefan Viljoen
What procedure did you follow to revert back to the old version?

It sounds like your binary has been revereted, but the modules it needs to load 
are still the 13.24.0-rc1 modules...

---
Hi.  I am trying to upgrade my asterisk from 13.15 to the latest of asterisk 13 
which seems to be 13.24.0-rc1.  At the same time I want to go from Debian 8 to 
DEbian 9 to get a more recent operating system and applications.

I ran in to the following problems when trying to do this.

When trying to use asterisk 13.24.0-rc1, I ran into some strange problems with 
some of my custom scripts.

It seems the following statement immediately disconnects the user exten => 
s,n,Read(digit,,1,,1,20) ; read a digit

In the log after that statement it says user disconnected.  I have an agi which 
speaks some text before the read and that agi does not even say anything, 
although it does complete.

Now, if I try to go back to 13.15.0, it does not work at all because it keeps 
telling in my log that modules support is not available, so no modules get 
loaded.

Any ideas on thispuzzle would be appreciated.


--
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



--

Subject: Digest Footer

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

--

End of asterisk-users Digest, Vol 173, Issue 21
***


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

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

2019-01-23 Thread John Covici
Hi.  I am trying to upgrade my asterisk from 13.15 to the latest of
asterisk 13 which seems to be 13.24.0-rc1.  At the same time I want to
go from Debian 8 to DEbian 9 to get a more recent operating system and
applications.

I ran in to the following problems when trying to do this.

When trying to use asterisk 13.24.0-rc1, I ran into some strange
problems with some of my custom scripts.

It seems the following statement immediately disconnects the user
exten => s,n,Read(digit,,1,,1,20) ; read a digit

In the log after that statement it says user disconnected.  I have an
agi which speaks some text before the read and that agi does not even
say anything, although it does complete.

Now, if I try to go back to 13.15.0, it does not work at all because
it keeps telling in my log that modules support is not available, so
no modules get loaded.

Any ideas on thispuzzle would be appreciated.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users