≡ Menu

Installing AAH 2.8

I’ve spent most of the afternoon installing Asterisk at Home 2.8.  Why?  Because I’ve never installed Asterisk before, I wanted to know what the experience would be like, and I have been inspired for some months by Ward Mundy’s Nerd Vittles blog.  Ward has dozens of neat projects that you can build with Asterisk, and it just looks fun!

I bought the cheapest PC I could find for this project.  Staples is selling off a 3 Ghz Compaq unit with 512M of memory and a 100G drive for under $400.  I also went cheap on the FXO / FXS interfaces — I found a $15 FXO in Hong Kong from a company called X100P. They came with no documentation. I bought the analog interfaces despite the fact that they’re not required for straight IP telephony, because I want to try interfacing this into my home phones.

Ward has a great tutorial on setting up AAH.  It’s based on AAH 2.7, and he strongly recommends that you don’t configure 2.8 as a newbie.  I threw caution to the wind.

Installation is pretty simple.  Download the ISO image, burn it, stick it in the PC, and reboot. Answer a couple of questions, and an hour or so later, you have a PC with Asterisk up and running.  No futzing around with different packages, and other stuff.  It’s all there for you.

And this is where the fun starts.

The first thing, once you’ve installed, is to go and get the latest CentOS updates.  There were 32 updated packages.  Then, because there were kernel changes, I had to rebuild the Zaptel drivers (Zaptel boards are the analog boards built and sold by Digium.  The cheap one I bought was a clone of a Digium FXO board).  I also had to download a patch to spinlock.h, because the standard one breaks the Zaptel build.

When that was done I ran into the first substantial hurdle.  CentOS couldn’t see my FXO card. I read and read a couple of enormous threads on this, but to no avail.  Eventually, I opened the PC, and pulled out the modem that shipped with it, wondering if there might be some kind of conflict between it and the FXO card.  On reboot, there was  my FXO!  Phew.

Next job was to configure some extensions.  A couple of softphones, and the x100PC.com s100 FXS.  The s100 was tricky.  I figured out with some reading, and visiting VoIP-INFO.ORG that it comes configured with a static IP address on a different subnet from the one I use at home.  Luckily, there was a s100 manual on VoIP Info, otherwise I would have been lost.  The s100’s english language directions are not super clear, and some of the defaults it uses are unintuitive.   Still, it speaks IAX, which makes it a good choice for Asterisk.

I also configured a Virbiage Cubix softphone, the only softphone I’ve seen yet that can speak IAX.  It’s simple and seems fairly robust.

At this point, I was able to pass calls back and forth between devices on my network, but not yet call out.

My strategy for configuring the call out is to first configure it with a SIP provider, and then configure the FXO card.  My thinking is that if it takes a while, I will be forever disconnecting the family phone from the network, which is not a good thing.   Without too much difficulty, I was able to get my SIPPhone account configured, and now have Asterisk registering.  And, in fact, I can send dialing digits to SIPPhone, but I cannot yet dial out. Every time, it comes back and tells me the user I am trying to reach is unknown.  I suspect I have simply made an error in the dialing plan.  More reading is required.

Dinner, at this point, beckoned.  By the end of the week, though, when I have some spare time, I expect to have this all configured and up and running.

{ 4 comments… add one }

  • JP Hebert May 29, 2006, 2:14 am

    Hi Alec,

    I'm doing the same, installing AAH 2.8 because Vonage is unreliable, so will go with Unlimitel.

    I found a few things worth mentionning:
    -As cool IAX softphone :http://www.asteriskguru.com/tools/idefisk_beta.php (and the pro ties into Outlook)
    – This book is really helping me out even if I'm not using the "regular" Asterisk: http://www.oreilly.com/catalog/asterisk/index.htm… (bear in mind I'm getting my feet wet in the world of VOIP)

    I ordered the Linksy SPA2002 to use as an FXS ATA, waiting for it. Linksys / Cisco changed their agreements with online resellers and made hard to find.. It's the old Sioura unit.


  • Alec May 29, 2006, 4:16 am

    Yes, I have the same book JP. What would be really helpful to me right now is something that describes how to use FreePBX.

  • rubin June 11, 2006, 11:56 am

    Hello Alec:

    Welcome to the world of AAH.

    Could you give me the link you found on voipinfo.org about the x100p FXO card? I must be dense but I cannot uncover it.



  • Alec June 11, 2006, 1:02 pm

    Hey Rubin,

    It wasn't x100 that I found the manual for, but rather the S100 FXS… you can find that here:


Leave a Comment