Home » Technology » Upgrading Asterisk@Home 2.7 to Asterisk 1.2.6: Here’s How

The Most Versatile VoIP Provider: FREE PORTING

Upgrading Asterisk@Home 2.7 to Asterisk 1.2.6: Here’s How

When you finish the Asterisk@Home 2.7 install and the yum updates for CentOS/4, you now are ready to load the latest, greatest version of Asterisk®: version 1.2.6. Here’s how. Make a backup of your system FIRST! Log in to your new Asterisk server as root, or better yet, use SSH to log in as root, and then cut and paste each command below in order. Be advised that, if you’re using Asterisk@Home, this update will break faxing capability and MP3 support built into the AAH bundle. But your phones will still ring! If you’re at all nervous about proceeding, don’t. Instead, you may wish to try your luck with yesterday’s release of Asterisk@Home 2.8 Beta 1 incorporating these updates … and much, much more. For Pioneers that opt to go the beta route, you may wish to refer back to our AAH 2.7 installation instructions as well as the 50 or so comments from the early adopters.

Why update at all? Well, there are lots of reasons. Here’s the list. And there are loads of zaptel improvements as well. And AAH 2.8 brings a new version of CentOS (4.3), the latest release of SugarCRM with the Asterisk plug-in, and integrated support for freePBX, the next generation of the Asterisk Management Portal (AMP). If faxing is a critical requirement for you, be advised that either approach outlined here will probably break fax capabilities for the short term. One simple, short-term faxing solution is to sign up for a free fax number at faxdigits.com which we covered earlier this week. You can’t beat free!

Upgrading to Asterisk 1.2.6.

amportal stop

cd /usr/src
wget http://ftp.digium.com/pub/telephony/zaptel/zaptel-1.2.5.tar.gz
wget http://ftp.digium.com/pub/telephony/libpri/libpri-1.2.2.tar.gz
wget http://ftp.digium.com/pub/telephony/asterisk/asterisk-1.2.6.tar.gz
wget http://ftp.digium.com/pub/telephony/asterisk/asterisk-addons-1.2.2.tar.gz
wget http://ftp.digium.com/pub/telephony/asterisk/asterisk-sounds-1.2.1.tar.gz

tar -zxvf zaptel-1.2.5.tar.gz
tar -zxvf libpri-1.2.2.tar.gz
tar -zxvf asterisk-1.2.6.tar.gz
tar -zxvf asterisk-addons-1.2.2.tar.gz
tar -zxvf asterisk-sounds-1.2.1.tar.gz

cd zaptel-1.2.5
make clean
make install
cd ..

cd libpri-1.2.2
make clean
make install
cd ..

cd asterisk-1.2.6
make clean
make install
cd ..

cd asterisk-addons-1.2.2
make clean
make install
cd ..

cd asterisk-sounds-1.2.1
make clean
make install
cd /root

amportal start

Free Asterisk Calling Returns to the VoIP Wild West. Coming next Wednesday, April 5, don’t miss the latest Nerd Vittles discovery: a VoIP provider with unlimited FREE CALLS TO 52 COUNTRIES including all of the U.S., Canada, and Mexico as well as most of South America, Europe, and the Far East. And calls to Costa Rica and some of our other favorite island getaways are about a penny a minute. Works great with Asterisk, too! And, speaking of island getaways, we’re off to Pawleys Island today for a little R&R. Visit our Pawleys Island WebCam (which I promise will have live pictures by tomorrow!) and catch a wave!

Nerd Vittles User Map. Thanks for visiting! We hope you’ll take a second and add yourself to our Frappr World Map compliments of Google. In making your entry, you can choose an icon: guy, gal, nerd, or geek. For those that don’t know the difference in the last two, here’s the best definition we’ve found: "a nerd is very similar to a geek, but with more RAM and a faster modem." The map still isn’t quite representative of where all of our visitors are coming from, but we’re getting there. Give it another week or two. Finally, we’re always looking for the best BBQ joints on the planet. So, if you know of one, add it to the map while you’re visiting as well. We’ll check it out one of these days.

Want More Projects? For a complete catalog of all our previous Asterisk projects, click here. For the most recent articles, click here and just scroll down the page.

Coming Attractions. By the end of this summer, we’ll be ready to begin tackling some of the Asterisk hardware cards including the new Sangoma cards and the soon-to-be-released Digium cards. All of these new cards now support hardware echo cancellation. There’s just one catch: we don’t have any. If you’d like to make a small contribution to assist with the project, just click on the donate button in the top right corner of the main page. When the kitty grows sufficiently to fund the cards, we’ll begin our in-depth tutorials to assist everyone in making the right hardware choices. And, by the way, we’re not talking about huge individual donations. We’d much prefer 200 people donating $5 each rather than Bill Gates coughing up $1,000. But, heck, whatever works to get the hardware funded.

Headline News for the Busy Executive and the Lazy Loafer. Get your Headline News the easy way: Planet Asterisk, Planet Gadget, Planet Mac, and Planet Daily. Quick read, no fluff.

Got a PDA or Web-Enabled Smartphone? Check out our new PDAweather.org site and get the latest weather updates and forecasts from the National Weather Service perfectly formatted for quick download and display on your favorite web-enabled PDA, cellphone, or Internet Tablet. And, of course, it’s all FREE!


  1. I just spent a several hours on your site. Fantastic – please keep up the great effort.

    I am going to lose my virginity to the AAH 2.8 Beta 1 tomorrow.

    I wanted to know if these are possible: 1 – a way to record/archive all conversations from certain phone numbers, and/or record during a convo. 2 – a way to transcribe all voicemails for a certain extension. I am trying to use this for a support line for a new business, and want to respond to people by email. It would be cool if I could respond with a transcribed copy of their message.

    By the way, I want to donate too, but what’s up with the $5 shipping fee?

    [WM: We cater to virgins, but I’m not sure we’ve ever had one visit … until you, of course. Yes, you can record calls to certain extensions and turn it on during a conversation. No, Asterisk won’t transcribe the recordings for you. This works pretty well if you train one of the voice programs with your voice, but it doesn’t work with any voice. As for donations and shipping fees, I’ve screamed at PayPal until I’m blue in the face about their random shipping fees. Who knows, someday they may actually fix it. My apologies. They’re idiots!]

  2. Hi Ward,

    Thanks for the updates on how to update… I’ve made a AAH 2.8Beta1 Virtual Machine for people to play with… if they can’t wait for the release. I couldn’t ๐Ÿ™‚



  3. Hi Ward,

    I’ve just done some fax to email testing for A@H 2.8 which I have posted on Whirlpool. Please feel free to adapt it for your write-ups ๐Ÿ™‚

    [WM: Incredible help. Thanks. I was really dreading starting all over with this.]

  4. Great work on the update. Was just wondering if this patch or the A@H 2.8 fixed the soft hangup with the machine not hanging up calls properly. Let me know if the patch fixed it or if i still need to do the work around. Thanks.

  5. Thank you for this upgrading tutorial.
    It works like a out-of-the-box solution to me.
    But this is a moment in time.
    Do you have a clue how to stay upgraded (sinc Astreisk is already out). And how about other modules?

  6. You wrote : "Coming next Wednesday, April 5, don?ข‚วจ‚ัขt miss the latest Nerd Vittles discovery: a VoIP provider with unlimited FREE CALLS TO 52 COUNTRIES including all of the U.S., Canada, and Mexico as well as most of South America, Europe, and the Far East."

    What about it now ? Does it work ?
    Do you have an url, please ?


    [WM: Where have you been? Here’s the link to the article. You can find all recent articles by simply going to http://nerdvittles.com.]

  7. Digium just release the patch to fix the vulnerability in the iax_chan protocol. I have downloaded the patch, but am hesitant to apply it to a production AAH 2.7 system. Does anyone have any more information on this patch and the procedures for applying it? What it will change/break? etc. Any information you have would be appriciated.

Comments are closed.