Graves On SOHO Technology

End User Perspective On Home Office Technology
  • rss
  • Home
  • About
    • Contact
    • Advertisers
    • Disclosure
  • Guides & How-To’s
  • Product Reviews
  • Best of…
  • Raves
  • Works In Progress
  • My Personal Blog

D.I.Y. Asterisk Appliances: A Question Of Scale

mjgraves | July 8, 2010

Asterisk D.I.Y. Asterisk Appliances: A Question Of ScaleSelecting hardware appropriate for a particular Asterisk installation has been a topic of discussion ever since the emergence of Asterisk. This typically centers around choosing hardware to handle n users or x concurrent calls. Often the focus is on how to scale up to the greatest number of users for a given server. However, there can be different but related considerations as we consider ever smaller applications.

In various circles I’ve lately witnessed a minor spike in interest in small form factor Asterisk systems. I have found it curious to survey the various hardware platforms that people are considering when creating their own DIY Asterisk Appliances. To establish some perspective on this I recently posted my own history of using Asterisk my own little Asterisk retrospective.

There are quite a range of small computing platforms available to the enthusiast seeking to tinker with Asterisk. It seemed to me that an overview of such hardware and related resources would be helpful.

DIY Embedded Asterisk Platforms D.I.Y. Asterisk Appliances: A Question Of Scale
For my purposes I’ll only consider generic platforms suitable for a DIY project , not the commercially offered embedded Asterisk devices, of which there are many. These small host platforms tend to be in the $50-$300 range which makes them approachable for hobbyists, home users and some small businesses.

To begin, you should know that the VoIP Wiki has a good deal of info about selecting hardware on the basis of technical specs like CPU speed, memory, disk, etc. Some of the info there is quite dated, but there may be some value to know that in the technological dark ages people  deployed Asterisk on a 133 MHz Pentium platform.

While my focus is on embedded Asterisk appliances these will have much in common with suitable hosts for Freeswitch, Kamailio, Yate or any other open source telephony software.

Choosing Processors

Before we dive into looking at the hardware it might be helpful to understand a couple of things about the software. You may be installing Asterisk from source code. That implies that you will be compiling the binary executable on your target platform. In general this is a simple task, but there may be a couple of gotchas; like the CPU, the compiler and link libraries.

Asterisk itself can be compiled on a variety of target platforms. You’ll find ports of Asterisk on various processor architectures including; x86-32, x86-64, ARM, SPARC, Blackfin, Xscale, PowerPC, etc.

Small hardware CPUs2 D.I.Y. Asterisk Appliances: A Question Of Scale

However, there may be some related bits of code that you will not be able to compile into your installation. The most common are Digium’s G.729a codec and the Skype-For-Asterisk module. Both of these are proprietary, licensed code that is delivered as a binary executable supporting only x86 processors. The source code is not available so you cannot compile them for your target platform.

So if you intend to use either of these modules you should constrain your platform choice to something x86 based.

GCC vs uClibc

Even if you settle upon an x86 based platform you may find yourself not able to use a module because of incompatibility with a link library or compiler. Some Asterisk distributions don’t use the common gcc compiler and libraries. In particular, the Astlinux project long ago made a decision to use uClibc. Theirs is an embedded distro and uClibc offers some specific advantages for such systems.

In moving to uClibc the Astlinux folks found that they could no longer run Digium’s G.729a codec. To run the G.729a codec in Astlinux the project requires that Digium compile a new release of the codec that is compatible with uClibc. While that has been discussed it has not happened. So Astlinux users cannot run Digium’s G.729a codec, even on x86-based hardware.

With these few caveats out of the way, here’s the list of possible platforms that I’ve compiled for consideration, listed in order of scale from smallest to largest:

  1. Gumstix
  2. The Sheeva Plug
  3. The Seagate Dockstar
  4. Consumer router platforms (Asus, Linksys, Netgear, etc)
  5. Thin clients
  6. Embedded PC systems (Soekris, ALIX, etc)
  7. Net-top systems

Share this:

Pages: 1 2 3 4 5 6 7 8

Categories
Asterisk, Embedded Systems, VoIP
Tags
alix, appliance, AskoziaPBX, Asterisk, Astlinux, DD-WRT, Fit-PC, Fit-PC2, freeswitch, hp, kamailio, Open-WRT, PCEngines, Soekris, T5700, thin client, Tomato, WRAP, YATE
Comments rss
Comments rss
Trackback
Trackback

« FLOSS Weekly #126 Features Askozia PBX Yamaha PSG-01S Giveaway »

  • boerner

    Another group of devices you may wish to check out (if you haven’t already) are these:

    http://www.rowetel.com/ucasterisk/

    http://atcom.cn/products_ippbx.html

    The IP01, IP02, IP04 and IP08 offer a lot of inexpensive options for running Asterisk. Also have an open hardware design.

    The upcoming Mesh Potato hardware is very interesting as well:

    http://www.villagetelco.org/

    • http://www.mgraves.com mjgraves

      boerner,

      I’m aware of these devices. However, at the start I made the conscious decision not include commercially available Asterisk appliances. There are many such devices available. I wanted to keep a decidedly D.I.Y. approach in mind. Further, I suspect that all of the commercial offerings are more costly than the platforms I wished to consider.

      I must admit that part of the appeal of the thin clients is that I was recycling hardware that was headed to the dumpster. It was at least a little green-ish.

      I do agree that David Rowe‘s work is awesome. We even had Steven Song from the Shuttleworth Foundation / Village Telco as a guest on a VUC call late last year.

  • andrewtd

    Another plug for the IP0X series, especially the very low cost IP01s & IP02s.
    They are so cheap that they are a good choice for the hobbyist / home enthusiast that wants to try out Asterisk.
    Here in New Zealand, we pay less than NZ$300 for an IP01.
    One nice thing about them is they include everything you need.

    On a related note, I once tried getting Asterisk working on a Linksys SLUG (the NSLU2) It was a royal pain. http://en.wikipedia.org/wiki/NSLU2

    I love the idea of an appliance to run Asterisk – no hard drive and no PC power supply to fail. And no noise and very low power consumption.

    My challenge is that I really like “HD Voice” (G.722) so want to run Asterisk 1.6 on an appliance – that has enough grunt to trasnscode G.722 to G.711 etc. Only need to support 3 or 4 concurrent calls at max though.

    • http://www.mgraves.com mjgraves

      Andrew,

      Almost all of the platforms that I described will run Asterisk v1.6 and support the use of G.722. Certainly the last three types described (thin clients, SBCs and net-tops) all have more than enough power to handle such matters.

      I know that the latest release of Astlinux uses Asterisk v1.6 and runs happily on the Fit-PC or and older Soekris Net4801. I’ve done both myself.

  • http://doublebassstring.info Double Bass String

    Excellent read, I just passed this onto a colleague who was doing a little research on that. And he really bought me lunch simply because I discovered it for him smile So let me rephrase that: Thanks for lunch!

  • FiReSTaRT

    Hey Michael,
    Excellent writeup. As I said, your site’s almost as addictive as Wikipedia. A note on REVO 3610.. I am using it as a media center, running regular Ubuntu Lucid with XBMC, playing Hi-Def content with barely getting into 20% CPU usage (720p). It’s a very powerful platform, that runs very little juice. For a proper office setup, you can easily use the Sangoma USBfxo unit, which (according to a quick ebay check) runs for about $125. The manufacturer offers driver source code for download. I haven’t tried working with it yet, but it’s a very interesting option for a hybrid setup.

My Tweets

  • Just upgraded to WP 3.5, so far no issues. Letting WP Super Cache pre-load everything. 1 hour ago
  • I'm hearing Alice Cooper. "The @Twelephone is ringing, you got me on the run...." 11 hours ago
  • I'm listening to Wind Him Up by Saga on Pandora bit.ly/WnvTTQ #pandora 11 hours ago
  • One nice feature of the home office; the ability to turn the music up LOUD when required. #fb 12 hours ago
  • New Blog Post: Live From Las Vegas! We’re Now Hosted At Lightning Base In Las Vegas!: This is the fourth install... bit.ly/SHr8TY 1 day ago

Recent Comments

  • mjgraves on Live From Las Vegas! We’re Now Hosted At Lightning Base In Las Vegas!
  • Sean on Live From Las Vegas! We’re Now Hosted At Lightning Base In Las Vegas!
  • mjgraves on Live From Las Vegas! We’re Now Hosted At Lightning Base In Las Vegas!
  • Greg on Live From Las Vegas! We’re Now Hosted At Lightning Base In Las Vegas!
  • William on Aastra 6730i: The Most Affordable HDVoice Capable Desk Phone?

Making A Difference


Change a life.

Ideas worth sharing, expressed hereabouts.


Radio For Peace in Houston.

Popular Posts

  • Review: The Gigaset A580IP SIP/DECT Cordless Phone System
  • Updated Home-Office Network Diagram
  • How To: DIY Music Server Using FreeNAS, SlimNAS and an H-P T5700
  • Magic Jack Hacked For Use As An Asterisk Trunk
  • D.I.Y. Asterisk Appliances: A Question Of Scale
  • Review: The Polycom SoundStation IP5000 Conference Phone
  • Gigaset Firmware Update Released
  • Review: Polycom SoundPoint IP335 Entry Level HDVoice IP Phone
  • How To: Building an Embedded Asterisk PBX
  • Polycom SoundPoint IP 550 / IP 650 Reviewed

Tags

3G Android apple Asterisk Astlinux Audio blog bluetooth Broadband CATiq cellular codec conference cordless DECT DSL G.722 gateway Gigaset gsm HD hdvoice headset hp M3 music onsip phone plantronics polycom QoS siemens sip skype SNOM soft phone speakerphone t-mobile technology USB Video VoIP VUC wideband wifi

Colophon

This site is hosted by Lightning Base
using the magic of open source software and 100% recycled electrons.

Archives

  • ▼2012 (69)
    • ►December (4)
    • ►November (9)
    • ►October (1)
    • ►September (3)
    • ►August (6)
    • ►July (5)
    • ►June (10)
    • ►May (9)
    • ►April (1)
    • ►March (5)
    • ►February (8)
    • ►January (8)
  • ►2011 (117)
    • ►December (5)
    • ►November (8)
    • ►October (9)
    • ►September (9)
    • ►August (11)
    • ►July (8)
    • ►June (11)
    • ►May (13)
    • ►April (8)
    • ►March (13)
    • ►February (10)
    • ►January (12)
  • ►2010 (160)
    • ►December (12)
    • ►November (7)
    • ►October (14)
    • ►September (10)
    • ►August (15)
    • ►July (16)
    • ►June (17)
    • ►May (15)
    • ►April (17)
    • ►March (16)
    • ►February (8)
    • ►January (13)
  • ►2009 (229)
    • ►December (16)
    • ►November (15)
    • ►October (13)
    • ►September (24)
    • ►August (23)
    • ►July (18)
    • ►June (16)
    • ►May (17)
    • ►April (22)
    • ►March (18)
    • ►February (21)
    • ►January (26)
  • ►2008 (296)
    • ►December (26)
    • ►November (23)
    • ►October (24)
    • ►September (26)
    • ►August (21)
    • ►July (32)
    • ►June (24)
    • ►May (16)
    • ►April (14)
    • ►March (29)
    • ►February (22)
    • ►January (39)
  • ►2007 (14)
    • ►December (8)
    • ►November (5)
    • ►October (1)

Meta

  • Register
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.