updating asterisk from 1.4 to 1.8?

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

updating asterisk from 1.4 to 1.8?

Postby bobchaos » Fri Aug 14, 2015 10:12 am

Hello everyone,
I'm about to perform an update for a client to move him to the latest svn from 2.8 and I also want to update asterisk to version 1.8 while I'm at it. I've found surprisingly little info about such a process and was looking for your input. Once I nailed a solid method i'll post a new thread with instructions assuming there isn't already one that I missed. if anyone knows of such instructions please let me know.

Anyhow, here's my assumptions on how i should proceed:
1. Update vicidial to the latest trunk using the already well documented instructions.
2. Shut down asterisk service
3. Backup /etc/asterisk . We're about to overwrite all of it so you'll need to save your custom code (if any) for manual update to 1.8 syntax.
4. Update asterisk to latest supported patched 1.8-vici using package manager (zypper in vicibox)
4.5. You may need to install a custom repo or patch asterisk manually, depending on initial install method.
5. Run vicidial's install.pl to set asterisk version to 1.8 and install new sample dialplan and conf files
6. Manually update all custom dialplan codes.
7. In vicidial's admin interface system settings enter your new asterisk version.
8. Restart asterisk and test

Does this sound about right? Anyone sees anything missing or just blatantly stupid? O.o thanks!
bobchaos
 
Posts: 171
Joined: Fri Jan 06, 2012 12:46 pm

Re: updating asterisk from 1.4 to 1.8?

Postby mflorell » Fri Aug 14, 2015 10:32 am

We've always found it's easiest to just move to a new machine with a fresh Vicibox install on it, then move over the backed-up database and other settings that have been customized. You are correct that updating vicidial on the old system is a good first step though.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: updating asterisk from 1.4 to 1.8?

Postby bobchaos » Fri Aug 14, 2015 8:57 pm

Thanks for your input Matt. I sadly don't have a spare machine to work with, but if updating turns out to be too much trouble i'll just have my client get one >:D he's long overdue for a clusters anyhow :P
bobchaos
 
Posts: 171
Joined: Fri Jan 06, 2012 12:46 pm

Re: updating asterisk from 1.4 to 1.8?

Postby williamconley » Fri Aug 14, 2015 9:20 pm

And you don't really "upgrade" or "update" asterisk. You just install a fresh version of it from the Vicidial Patched Source Code (from the vicidial download site).

But: I do *NOT* recommend this. The Vicibox installer does an excellent job of creating a proper environment for Vicidial to run. Modifying the Vicidial codebase is expected. But modifying that environment is an invitation to disaster.

Let Kumba build your environment, and Matt maintain your Dialer software. You make sales and maintain the hardware. If you approach it from any other direction ... you'll regret it. And when that moment comes, I'll be there to say "See! I told ya! Now you owe me a pizza for warning you!".

On a more serious note: Vicidial does not gain anything from upgrading asterisk. Nothing. Nada. There's no reason to upgrade it.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: updating asterisk from 1.4 to 1.8?

Postby bobchaos » Sat Aug 15, 2015 5:18 pm

Well that just saved me some time then :/ I was worried that with Asterisk 1.4 being long past end of life it might be a security issue but either way, my client's going cluster soon, I'll just setup a fresh 1.8 machine when it's time to split the roles. One major update is enough for today :P

@williamconley, I, sadly, am fully deprived of conventional wisdom and will therefor defy your warnings and mess with the environment and software anyhow XD It provides me with great entertainment :D I'll keep my shenanigans out of prod tho, promised!
bobchaos
 
Posts: 171
Joined: Fri Jan 06, 2012 12:46 pm

Re: updating asterisk from 1.4 to 1.8?

Postby williamconley » Sat Aug 15, 2015 6:19 pm

that *is* how we all learn. I also tend to arrive in a new destination by car a couple hours early. locate the place of the appointment. then wander around randomly for fun. well ... I used to. Dang GPS killed all that. 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: updating asterisk from 1.4 to 1.8?

Postby boybawang » Sun Aug 16, 2015 7:16 am

1. backup /etc/asterisk folder
2. go to asterisk 1.4 source directory (/usr/src/asterisk/)
3. under the asterisk 1.4 source directory do a make uninstall-all
4. download http://download.vicidial.com/required-a ... ici.tar.gz
5. uncompress it and do a ./configure; make clean; make; make install; make samples
6. reinstall astguiclient scripts
7. reboot computer
Vicidial Installation + Configuration + Support + Custom Development
Download my ebook on installing vicidial for free http://download.vicidial.com/ubuntu/VIC ... 100331.pdf
skype: deodax.cordova@gmail.com
m: +639172063730
boybawang
 
Posts: 989
Joined: Sat Nov 14, 2009 1:18 pm
Location: Dumaguete City, Negros Oriental, Philippines

Re: updating asterisk from 1.4 to 1.8?

Postby williamconley » Thu Aug 27, 2015 9:49 pm

boybawang wrote:1. backup /etc/asterisk folder
2. go to asterisk 1.4 source directory (/usr/src/asterisk/)
3. under the asterisk 1.4 source directory do a make uninstall-all
4. download http://download.vicidial.com/required-a ... ici.tar.gz
5. uncompress it and do a ./configure; make clean; make; make install; make samples
6. reinstall astguiclient scripts
7. reboot computer

That's pretty succinct. What version of Vicibox did you test it with?

Probably a good idea to also change the Asterisk version under Admin->Servers ...?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: No registered users and 92 guests