TUTORIAL NEWER Asterisk 13 Upgrade Scripts

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,200
Reaction score
5,218
Just an FYI that we've just pushed out the latest Incredible PBX 13 releases for CentOS, Scientific Linux, and Ubuntu 14.04 featuring Asterisk 13.8.2. Incredible PBX ISO now includes Asterisk 13.8.2 as well.

We'll have an upgrade script tomorrow to address security issues in earlier Asterisk 13 builds. And new Raspberry Pi 3 image will be available shortly.

Cg6qF22WkAEZbDo.jpg
 
Last edited:

dziny

Guru
Joined
Sep 4, 2014
Messages
45
Reaction score
19
This update does nothing if you don't use PJSIP. All the critical bug fixes between 13.8.1 and 13.8.2 concern PJSIP. So you don't have to rush if you only use SIP channel.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,200
Reaction score
5,218
That's not quite accurate. We were stuck at 13.7.2 until this update so you're getting 3 updates for the price of 1... still free. :cheers2:
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,200
Reaction score
5,218
I think we're ready for a few Pioneers for the new Asterisk 13 upgrade script for CentOS/SL. This is a good bit more complicated now that we are supporting both plain-text and OAuth passwords for Google Voice so we're going to roll this out slowly. The new upgrade script will automatically move you to the latest version of Asterisk 13 with OAuth if you already had it in place. If not, it'll give you the option of adding it as part of the upgrade. If you want to switch to OAuth, it REQUIRES that you first remove all of your existing Google Voice trunks using the GUI. Failure to do so will cause all sorts of problems when Asterisk restarts.

To run the upgrade script, log into your server as root and issue the following commands:
Code:
cd /root
wget http://incrediblepbx.com/upgrade-asterisk13-to-current.tar.gz
tar zxvf upgrade-asterisk13-to-current.tar.gz
rm -f upgrade-asterisk13-to-current.tar.gz
./upgrade-asterisk13-to-current
 
Last edited:

tbrummell

Guru
Joined
Jan 8, 2011
Messages
1,275
Reaction score
339
I think we're ready for a few Pioneers for the new Asterisk 13 upgrade script for CentOS/SL.
Just upgraded my C@C instance (8 CPU, 4 Gigs RAM, 80G disk) successfully in 17 minutes. Now at 13.8.2, from 13.7.2.

(I did not have, nor enable OAuth)
 

classicalmusic

New Member
Joined
Apr 21, 2015
Messages
28
Reaction score
13
I think we're ready for a few Pioneers for the new Asterisk 13 upgrade script for CentOS/SL

I just upgraded my Scientific Linux (from ISO) to 13.8.2. So far everything looks and sounds good from my novice eyes/ears! :) I already had OAUTH installed, however no GV trunks installed. Maybe I'll have to add some and report back.

Thank you.
 

Jake

Active Member
Joined
Aug 27, 2010
Messages
419
Reaction score
81
Not trying to be pushy or annoying but how is the updated Raspberry Pi 3 image coming? I recently purchased a new Pi 3 and have been wondering when this maybe released. Thanks.
 

sactobob

Guru
Joined
Nov 25, 2014
Messages
33
Reaction score
8
Hello Sir Ward,

My lastest LeanMean install went ballistic this morning going "live". Customer unhappy, me stressed. At the time of the LeanMean installed it installed Asterisk 13.8.2. However, after light testing and turning all the numbers on Asterisk segfaulted continuously in app_queue.so.

May 16 08:31:17 PBX kernel: asterisk[9221]: segfault at d4 ip 075d168e sp b3c83320 error 4 in app_queue.so[75bd000+2e000]
May 16 08:41:27 PBX kernel: asterisk[10584]: segfault at d4 ip 08d1d68e sp b45fe320 error 4 in app_queue.so[8d09000+2e000]
May 16 12:43:02 PBX kernel: asterisk[8455]: segfault at d4 ip 013b568e sp b4247320 error 4 in app_queue.so[13a1000+2e000]
May 16 12:44:45 PBX kernel: asterisk[8871]: segfault at d4 ip 039cd68e sp b7583320 error 4 in app_queue.so[39b9000+2e000]
May 16 12:48:25 PBX kernel: asterisk[9507]: segfault at d4 ip 068d168e sp b4383320 error 4 in app_queue.so[68bd000+2e000]
May 16 12:53:41 PBX kernel: asterisk[10171]: segfault at d4 ip 0147a68e sp b4ab7320 error 4 in app_queue.so[1466000+2e000]
May 16 12:54:53 PBX kernel: asterisk[10364]: segfault at d4 ip 0744868e sp b7583320 error 4 in app_queue.so[7434000+2e000]
May 16 12:59:42 PBX kernel: asterisk[11575]: segfault at d4 ip 039dd68e sp b360b320 error 4 in app_queue.so[39c9000+2e000]
May 16 13:01:45 PBX kernel: asterisk[11980]: segfault at d4 ip 0107d68e sp b7283320 error 4 in app_queue.so[1069000+2e000]
May 16 13:19:29 PBX kernel: asterisk[14682]: segfault at d4 ip 0355568e sp b4347320 error 4 in app_queue.so[3541000+2e000]
May 16 13:24:05 PBX kernel: asterisk[16574]: segfault at d4 ip 0169d68e sp b44a6320 error 4 in app_queue.so[1689000+2e000]


I was able to reconfigure all incoming calls to ringall to the "queue" phones direct and avoid queue entirely. So in reading 13.8.2 has a segfault issue that's fixed in 3.9.0(now at 3.9.1) and if this is what I hit. Is this method updated to take me to 13.9.1 keep all the configs? The queue has 3 ext members, sometimes all 3 busy, new call comes in and everyone dropped with segfault. Eeek. What's the method to go to 3.9.1?
 

sactobob

Guru
Joined
Nov 25, 2014
Messages
33
Reaction score
8
@ward, not yet, as it refers as update to 3.8,2 or will that always be current (or nearly so after testing)? If so I'll try tonight, at least with a VM it's easy enough to snapshot and revert if it breaks something. :)
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,200
Reaction score
5,218
@ward, not yet, as it refers as update to 3.8,2 or will that always be current (or nearly so after testing)? If so I'll try tonight, at least with a VM it's easy enough to snapshot and revert if it breaks something. :)

wget http://incrediblepbx.com/upgrade-asterisk13-to-current.tar.gz

I've changed the heading which was almost a month old, but the script tells you what you need to know.
 

sactobob

Guru
Joined
Nov 25, 2014
Messages
33
Reaction score
8
Worked like a charm for my 13.8.2.

Asterisk 13.9.1 Incredible GUI 12.0.30
Said it takes 30-60+ minutes, in my case it was about 20 minutes. Will reconfigure back to queue processing and see how it goes with this version. I have(had) an even older one on 13.7.2 that I also updated without any issues.Thanks as always Ward!
 

Dave Gray

Guru
Joined
May 22, 2013
Messages
150
Reaction score
60
Just installed on a CloudAtCost instance, seems to be working pretty well.

But... Using the 3Cx 3 client on iOS (I got it back when it would work with anything), trying to get it working with pjsip was frustrating. It's casual about registering (asterisk says it's registered, it doesn't think so.) After a while, it grudgingly admits to being online. Calling VM works, but, no sound. Zoiper works fine, with 2 way audio. Set up another extension in the original sip interface, 3cx phone works fine. Hmmph.

But it installed with no grief (started from a Centos 6.7 base).
 

sactobob

Guru
Joined
Nov 25, 2014
Messages
33
Reaction score
8
I've stuck with SIP for all my installs. I never could get pjsip working well and looked at it as experimental and didn't want to waste time on it when SIP worked perfectly. Are there benefits that pjsip is supposed to offer over sip?
 

voip_user

Member
Joined
Feb 7, 2015
Messages
53
Reaction score
24
I've stuck with SIP for all my installs. I never could get pjsip working well and looked at it as experimental and didn't want to waste time on it when SIP worked perfectly. Are there benefits that pjsip is supposed to offer over sip?


With the new SIP driver you can have multiple phones with the same extension, so you dont have to use ring groups. Thats just one example.
 

krzykat

Telecom Strategist
Joined
Aug 2, 2008
Messages
3,145
Reaction score
1,235
Hey @wardmundy I just ran this successfully on DO to upgrade from 13.7.2 to 13.9.1 :) ... I did have trouble finding this thread though. I recalled reading it and when I went to search for it, it took me a while. Maybe it should be on help or add-on. On Add-on - there is an "Asterisk Upgrade Script" - which is now dated. Perhaps this should be placed there.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,200
Reaction score
5,218
Hey @wardmundy I just ran this successfully on DO to upgrade from 13.7.2 to 13.9.1 :) ... I did have trouble finding this thread though. I recalled reading it and when I went to search for it, it took me a while. Maybe it should be on help or add-on. On Add-on - there is an "Asterisk Upgrade Script" - which is now dated. Perhaps this should be placed there.

Done. Thanks.
 

silimms

New Member
Joined
Feb 18, 2016
Messages
23
Reaction score
1
Hi, I can't use this script on ubuntu 14.04,
Code:
Sorry. This upgrade utility only works with CentOS/SL.
Am I use other script?
 

Stan-O

Member
Joined
Oct 9, 2013
Messages
60
Reaction score
8
Any hope for the same script for Ubuntu? I'm not sufficient asterisk-versed to edit the original CentOS one.
 
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top