Solved

Upgrading Asterisk from 1.4.23 to 1.6

Posted on 2009-04-08
10
3,624 Views
Last Modified: 2013-11-12
What does upgrading Asterisk involve?  Is it a relatively easy process or am I going to have to go through a bunch of flaming hoops to get it running again?  I am relatively a newb to linux and asterisk.

My main reason for upgrading is for T.38 support.  Any suggestions or thoughts on that as well, would be appreciated.  Thanks!
0
Comment
Question by:jkockler
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +1
10 Comments
 
LVL 35

Accepted Solution

by:
torimar earned 300 total points
ID: 24103788
How did you install Asterisk in the first place?
There is no upgrade module or patch that you could apply. You will have to install 1.6 over 1.4.
Your current config files should reside in /etc/asterisk - make backup copies of them just in case. Then consult Chapter 3 of this free e-book: Asterisk - The Future of Telephony
http://cachefly.oreilly.com/books/9780596510480.pdf

The e-book only covers Asterisk 1.4, but the process will be basically the same. Just replace the download locations given for the several modules by this one central file:
http://downloads.digium.com/pub/asterisk/releases/asterisk-1.6.0.9.tar.gz
Study the README file, the "upgrade-1.6.txt" and the "Zaptel-to-DAHDI.txt" that are contained in this tarball.

At the end of the compilation process you will probably be asked whether sample documents/configuration files should be created - deny this. If your conf files get overwritten nonetheless, restore the backups you made.

I am not sure whether I should recommend this procedure to someone "relatively a newb" to Linux. Study the book chapter and the text files, and then decide for yourself whether you want to embark on it.
0
 
LVL 16

Assisted Solution

by:ai_ja_nai
ai_ja_nai earned 200 total points
ID: 24107102
Remove old asterisk first and then simply install it as indicated on the installation page of asterisk website. You won't go towards any trouble, if you meet all the dependencies. In case, you can backup the folders that contain the old version and the configuration files, so that you can re-deploy it easily if something goes wrong
0
 
LVL 4

Author Comment

by:jkockler
ID: 24107755
Kind of scary.  
0
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

 
LVL 16

Assisted Solution

by:ai_ja_nai
ai_ja_nai earned 200 total points
ID: 24107984
Then, don't update it.. Beside the question "Do you really need T.38 gateway support?", there's nothing to be scared about: just backup your files so that you can restore them and then uninstall the previous version and install the new one. Have you installed it by tar.gz?
0
 
LVL 35

Expert Comment

by:torimar
ID: 24108190
It isn't necessary to uninstall the old version first. There is no indication of this, neither in the files that come with the tarball, nor in reports on their forum. In fact, instruction files like "upgrade-1.6.txt" would be pointless if you had to uninstall first.
0
 
LVL 16

Expert Comment

by:ai_ja_nai
ID: 24108776
Point of views. I prefer to start always from a blank sheet, instead of slotting side by side different versions that may share the same places to put their own libraries
0
 
LVL 25

Expert Comment

by:Ron Malmstead
ID: 24521591
Just want to comment on the idea of uninstalling / versus in place upgrade....

I ran into a show stopper issue with the version changes when DHADI was implemented over zaptel in version 1.4.23

Whether or not you do an inplace upgrade of Asterisk... you definitely should remove Zaptel if you are using it, before going to DAHDI.  Asterisk 1.6 only supports DAHDI, wherease 1.4.23 supports both...

Most experienced linux/Asterisk admins will know this, but the newbies probably will not...and will find out the hard way.
0
 
LVL 25

Expert Comment

by:Ron Malmstead
ID: 24521604
0
 
LVL 4

Author Comment

by:jkockler
ID: 24521672
Thank you xuserx2000.  I will keep it in mind, but for now I only use SIP.  Good info though, for anyone browsing the questions.
0
 
LVL 35

Expert Comment

by:torimar
ID: 24522565
"Study the README file, the "upgrade-1.6.txt" and the "Zaptel-to-DAHDI.txt" that are contained in this tarball."

That's a quote from my comment above. The information about Zaptel, DAHDI, and the way from one to the other is being described in the last text file referenced. Those Readmes are supposed to be studied prior to installation, and I hope that was clear from what and how I said it.

Reading carefully and making sure to understand what one reads is actually the first thing a "newbie" will have to learn about admin stuff and linux in general in order to avoid the "hard way" ;)
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question