Re: [asterisk-users] Old Asterisk Release wanting to upgrade ...

2014-04-17 Thread Eric Wieling
Is there a specific item you are having problems with? The Gosub and Macro 
changes in later versions of Asterisk is mostly transparent to the dialplan if 
you use AELSub() to call AEL from extensions.conf.  The AELSub() dialplan 
application was written do you don't have to worry about macro .vs. gosub with 
AEL.


-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Chris Bagnall
Sent: Thursday, April 17, 2014 12:37 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Old Asterisk Release wanting to upgrade ...

On 17/4/14 4:53 pm, Eric Wieling wrote:
> I had little problem converting my AEL scripts from 1.4 to 11

Did they have lots of macros in them?

If so, then you, sir, are a better man than I, and I take my hat off to you :-) 
(and any hints you might want to share in converting 1.4 AEL macros to
11 would be gratefully appreciated)

Kind regards,

Chris
--
This email is made from 100% recycled electrons

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to 
Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Old Asterisk Release wanting to upgrade ...

2014-04-17 Thread Chris Bagnall

On 17/4/14 4:53 pm, Eric Wieling wrote:

I had little problem converting my AEL scripts from 1.4 to 11


Did they have lots of macros in them?

If so, then you, sir, are a better man than I, and I take my hat off to 
you :-)
(and any hints you might want to share in converting 1.4 AEL macros to 
11 would be gratefully appreciated)


Kind regards,

Chris
--
This email is made from 100% recycled electrons

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


Re: [asterisk-users] Old Asterisk Release wanting to upgrade ...

2014-04-17 Thread Eric Wieling
I had little problem converting my AEL scripts from 1.4 to 11


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Old Asterisk Release wanting to upgrade ...

2014-04-17 Thread Chris Bagnall

On 17/4/14 3:53 am, Lee, John (Sydney) wrote:

I have written a lot of AEL2 script in Asterisk 1.4.x and I am not sure if it 
will still run in 11.


If I'm honest, this is why I still have so many 1.4.x boxes around as 
well. I've been using 11 for new installs, but the thought of having to 
redo all the AEL macros from 1.4 does not fill me with any enthusiasm to 
update those boxes.


The switch to Gosub() does not seem to be an easy drop-in replacement 
for Macro().


Kind regards,

Chris
--
This email is made from 100% recycled electrons

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


Re: [asterisk-users] Old Asterisk Release wanting to upgrade ...

2014-04-16 Thread Lee, John (Sydney)
Thanks Johan.
I think I will stick with 1.4.x and DAHDI.  Although it is a unsupported 
release, I never had any problems with them.
Some machines have never been rebooted for 5+ years.
I am a bit scared of going to 11.  I have written a lot of AEL2 script in 
Asterisk 1.4.x and I am not sure if it will still run in 11.

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Johan Wilfer
Sent: Tuesday, 15 April 2014 7:03 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Old Asterisk Release wanting to upgrade ...

2014-04-15 10:37, Lee, John (Sydney) skrev:
> Hello,
> I have been running Asterisk for the past 5+ years on RedHat and I never 
> upgraded it before.
> All my Asterisk software is of the following release:
> 1) Asterisk 1.4.21.2
> 2) Libpri-1.4.4
> 3) Zaptel-1.4.11
> I would like to move the OS to CentOS and then I thought I can at the same 
> time ponder about upgrading Asterisk releases.
> However, I am bewildered by the myriad of different releases like 1.6,
> 1.8, 10.x, 11.x, 12.x, 13.x Can someone please give me some advice as to what 
> release I should upgrade?
> Or should I just stick to 1.4.x and just upgrade DAHDI?
> Thanks.
> Regards,
> John Lee
> The contents of this e-mail are intended for the named addressee only. It 
> contains information that may be confidential. Unless you are the named 
> addressee or an authorized designee, you may not copy or use it, or disclose 
> it to anyone else. If you received it in error please notify us immediately 
> and then destroy it.
>
>

1.4, and 1.6-series have no support anymore. 1.8 is an LTS and have support 
currently, but this is also true for 11 and asterisk 11 will be supported 
longer.

You have the full list here:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions

I would go for Asterisk 11 in your case. You will have to think of it more like 
a migration than an upgrade thought, as a lot has happened since asterisk 1.4.

On a side-note, I still run some old installations with a current Dahdi
+ Asterisk 1.4.44 and they work great together. There is the non-support
catch however.

Good luck!

--
Johan Wilfer


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

The contents of this e-mail are intended for the named addressee only. It 
contains information that may be confidential. Unless you are the named 
addressee or an authorized designee, you may not copy or use it, or disclose it 
to anyone else. If you received it in error please notify us immediately and 
then destroy it.


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Old Asterisk Release wanting to upgrade ...

2014-04-15 Thread Joshua Colp

Josh Metzger wrote:


A little while back, I upgraded some systems from Asterisk 1.4 (I
believe it was 1.4.29.1, and they were already running DAHDI), to 11.
11 made the most sense as far as it being a LTS release so it would be
longer before being forced into a new version (as far as continued bug
fixes and things), and I figured it would be more stable than 12.

The upgrade wasn't too difficult, even jumping several versions.  I
*strongly* suggest reading the various "UPGRADE-XX" files that come with
the Asterisk source so you don't get caught by any changes between
versions.  There are quite a few changes and each dialplan is different,
so things that caught me would be different than what you might run
into.  Those upgrade text files are extremely useful in this case.

Beyond that, I spent a lot of time migrating my config files.  Since
newer versions have newer / different options, I didn't just keep my old
files.  For example, for SIP.CONF, I went through and modified the
default settings in the new file to match what I needed, copied over my
site-specific sip definitions from the old file, then double-checked
everything.  I did that with each file that I had modified (and in your
case, you'll have to go from zapata.conf to chan_dahdi.conf).  It can be
tedious, but it really only took me a day or two (taking time to
double-check my changes). Overall, not a bad experience at all.


Awesome to hear that! Backwards compatibility is certainly at our 
forefront these days when doing development and we try our hardest to 
make the experience of upgrading as painless as possible from that 
perspective.


Cheers,

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


Re: [asterisk-users] Old Asterisk Release wanting to upgrade ...

2014-04-15 Thread Josh Metzger
A little while back, I upgraded some systems from Asterisk 1.4 (I believe
it was 1.4.29.1, and they were already running DAHDI), to 11.  11 made the
most sense as far as it being a LTS release so it would be longer before
being forced into a new version (as far as continued bug fixes and things),
and I figured it would be more stable than 12.

The upgrade wasn't too difficult, even jumping several versions.  I
*strongly* suggest reading the various "UPGRADE-XX" files that come with
the Asterisk source so you don't get caught by any changes between
versions.  There are quite a few changes and each dialplan is different, so
things that caught me would be different than what you might run into.
Those upgrade text files are extremely useful in this case.

Beyond that, I spent a lot of time migrating my config files.  Since newer
versions have newer / different options, I didn't just keep my old files.
For example, for SIP.CONF, I went through and modified the default settings
in the new file to match what I needed, copied over my site-specific sip
definitions from the old file, then double-checked everything.  I did that
with each file that I had modified (and in your case, you'll have to go
from zapata.conf to chan_dahdi.conf).  It can be tedious, but it really
only took me a day or two (taking time to double-check my changes).
Overall, not a bad experience at all.

Josh


On Tue, Apr 15, 2014 at 4:37 AM, Lee, John (Sydney)
wrote:

> Hello,
> I have been running Asterisk for the past 5+ years on RedHat and I never
> upgraded it before.
> All my Asterisk software is of the following release:
> 1) Asterisk 1.4.21.2
> 2) Libpri-1.4.4
> 3) Zaptel-1.4.11
> I would like to move the OS to CentOS and then I thought I can at the same
> time ponder about upgrading Asterisk releases.
> However, I am bewildered by the myriad of different releases like 1.6,
> 1.8, 10.x, 11.x, 12.x, 13.x
> Can someone please give me some advice as to what release I should upgrade?
> Or should I just stick to 1.4.x and just upgrade DAHDI?
> Thanks.
> Regards,
> John Lee
> The contents of this e-mail are intended for the named addressee only. It
> contains information that may be confidential. Unless you are the named
> addressee or an authorized designee, you may not copy or use it, or
> disclose it to anyone else. If you received it in error please notify us
> immediately and then destroy it.
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>http://www.asterisk.org/hello
>
> 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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Old Asterisk Release wanting to upgrade ...

2014-04-15 Thread Johan Wilfer

2014-04-15 10:37, Lee, John (Sydney) skrev:

Hello,
I have been running Asterisk for the past 5+ years on RedHat and I never 
upgraded it before.
All my Asterisk software is of the following release:
1) Asterisk 1.4.21.2
2) Libpri-1.4.4
3) Zaptel-1.4.11
I would like to move the OS to CentOS and then I thought I can at the same time 
ponder about upgrading Asterisk releases.
However, I am bewildered by the myriad of different releases like 1.6, 1.8, 
10.x, 11.x, 12.x, 13.x
Can someone please give me some advice as to what release I should upgrade?
Or should I just stick to 1.4.x and just upgrade DAHDI?
Thanks.
Regards,
John Lee
The contents of this e-mail are intended for the named addressee only. It 
contains information that may be confidential. Unless you are the named 
addressee or an authorized designee, you may not copy or use it, or disclose it 
to anyone else. If you received it in error please notify us immediately and 
then destroy it.




1.4, and 1.6-series have no support anymore. 1.8 is an LTS and have 
support currently, but this is also true for 11 and asterisk 11 will be 
supported longer.


You have the full list here:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions

I would go for Asterisk 11 in your case. You will have to think of it 
more like a migration than an upgrade thought, as a lot has happened 
since asterisk 1.4.


On a side-note, I still run some old installations with a current Dahdi 
+ Asterisk 1.4.44 and they work great together. There is the non-support 
catch however.


Good luck!

--
Johan Wilfer


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


[asterisk-users] Old Asterisk Release wanting to upgrade ...

2014-04-15 Thread Lee, John (Sydney)
Hello,
I have been running Asterisk for the past 5+ years on RedHat and I never 
upgraded it before.
All my Asterisk software is of the following release:
1) Asterisk 1.4.21.2
2) Libpri-1.4.4
3) Zaptel-1.4.11
I would like to move the OS to CentOS and then I thought I can at the same time 
ponder about upgrading Asterisk releases.
However, I am bewildered by the myriad of different releases like 1.6, 1.8, 
10.x, 11.x, 12.x, 13.x
Can someone please give me some advice as to what release I should upgrade?
Or should I just stick to 1.4.x and just upgrade DAHDI?
Thanks.
Regards,
John Lee
The contents of this e-mail are intended for the named addressee only. It 
contains information that may be confidential. Unless you are the named 
addressee or an authorized designee, you may not copy or use it, or disclose it 
to anyone else. If you received it in error please notify us immediately and 
then destroy it.


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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