?> OS-VoIP | Open Source VoIP » freeswitch http://www.os-voip.com Open Source VoIP by Aaron Rosenthal Mon, 02 Aug 2010 16:15:42 +0000 http://wordpress.org/?v=2.9 en hourly 1 Crossroads: Free or Commercial Asterisk? http://www.os-voip.com/2009/03/crossroads-free-or-commercial-asterisk/ http://www.os-voip.com/2009/03/crossroads-free-or-commercial-asterisk/#comments Wed, 18 Mar 2009 17:28:08 +0000 TylerM http://www.os-voip.com/?p=256 Editors Note: Here’s an interesting piece by Tyler Merritt which I think should generate some good discussions amongst the OS-VoIP community. I personally believe that most Asterisk vendors wouldn’t be in this business if Asterisk wasn’t free, but what I think this article addresses well is the question of “how “free” is Asterisk really for the end user?”

I believe that Asterisk is at a crossroads and has been for some time.  Asterisk stands on the Path of Life for applications and ponders a fork clearly visible: Free or Commercial?  Champions of the Cause of Asterisk on either side of the path cheer for one of the two forks.  Which choice will the application make?  Do the creators, contributors, designers, and dreamers really have a say in the matter?  Is everyone making noise for nothing?

I don’t know the answer to all of the questions above, but I have a strong inkling that Asterisk must inevitably choose the Commercial fork.  There is no future in Free.  I stopped most of you right there.  With that one statement you stopped reading.  Your mind rejected the ugliness of the letters making up the word “commercial”, and I lost you.  Perhaps Asterisk is destined to lose you when the next startup telephony switching software with a “free” bumper sticker affixed to the rear makes an appearance on the web (FreeSwitch ?).  Commercial means casualty of the Open Source movement – right?  Why should it?

Let me define terms.  We can’t very well have an intelligent discussion about a subject where neither side agrees on standard terminology.  So here is where I lay it out.  You don’t have to agree with the definitions below.  But if you don’t agree, then we can’t talk about the subject within the same field of reference.  I think the terminology is fairly unbiased, so the playing field is level, but spin of any sort renders the discussion meaningless.

Commercial: a product or service obtained by an individual or business from another individual or business for a fee.

Free: a product or service obtained by an individual or business from another individual or business for no fee.

Future:  Google has a whole list of definitions (Define:Future ) and none of them apply.  In this case, when I say ‘future’, I mean of all the evolutionary choices that exist for this application, the ‘future’ marks the choice (or string of choices) that lead to the most dominant possible iteration of Asterisk.  In other words, if Asterisk is a baby gorilla right now – what are the best possible combination of future choices that help the baby gorilla become the dominant silver-back in the group of telephony gorillas?  Application Evolutionary Choose Your Own Adventure.

When I write as freely as I am writing now, I hear questions in my head in response to blanket statements I make.  I say, “There is no future in Free” and I reply to myself, “Asterisk is an Open Source application – it can’t be closed now that it’s GPL, so what do you mean ‘there is no future in free?!’”  I mean, simply, that Asterisk doesn’t scale in the long-run without commercial implementations.  Asterisk isn’t Linux.  Asterisk doesn’t have the same user-base as Linux.  Linux was a blip on the technology radar all through the late 90s and still hasn’t gained as much traction as Linus might like.  But Linux has a cult.  A cult of devotees with zombie-thirst for ‘haters’.  I’m actually one of them.  Asterisk, by comparison, has a cult of devoted ‘integrators’ who LOVE the free ‘engine’ because they can build things on top of it and prof$t.  No one loves this application enough to build it up and improve the foundations for free.

Sure, there is a community of developers who fork code back into the main Asterisk tree, and yes they have contributed modules and features and functions and we thank them for it.  But I call shenanigans on any of those individuals who did it purely for the unrequited love they feel for an Open Source telephony switch.  They do it to save their business money, or to make money implementing a cheap phone system for a non-technical customer.  Or they do it to sell hardware.

Who is Anti-Free-Fork-Cheerleader-Number-One?  Digium.  Digium (Mark) did not write Asterisk out of benevolence and a desire to “give back” to the world and take away the wicked Crown of PBX from the Goliaths of telephony.  Mark Spencer didn’t have enough money for a PBX, so he created one.  It’s in his wikipedia article “Spencer did not have enough money to buy a PBX (private branch exchange) for his company so he decided to write Asterisk and later founded Digium.”  Later founded Digium.  He created an Open Source application, and later found a way to prof$t from it – by selling Digium TDM Cards that work really well with Asterisk!

Now the paragraph above might come off as negative towards ‘ol Mark.  By no means should it be interpreted as disrespect.  Mark Spencer is an engineering genius and did create the current undisputed champion of the open-source telephony world.  He created an application that makes the incumbents quake with fear .  But he did NOT do it for Free.  He did it to save his company money, and then he created an auxiliary business model around this application to continue to make money.

So if we accept that Mark Spencer, a good guy, a great guy, is not Robin Hood, then we have a point in favor of the Commercial Fork.

Let’s look at other evidence that Asterisk is heading down Commercial Lane imminently:

  1. Google “asterisk” (I did it for you )
  2. What do you see as the first two pages?
    1. http://www.asterisk.org/
    2. http://en.wikipedia.org/wiki/Asterisk (this is actually the 3rd link, but the second is another page on asterisk.org so it doesn’t count)
  3. So far, so good – Asterisk appears to be associated with URLs in the ‘ORG’ space – which isn’t for companies pushing products and services.
  4. How about the next links through to the end of the page?
  5. Asterisk.com!!!  <– Commercial!
  6. Blogs about Asterisk – telling people to get involved or telling people how to use it.  And those blogs run Ad Sense (or their own ads); hence, they make money.
  7. Books about Asterisk – books cost money.
  8. Companies offering to sell you an Asterisk-based system (for money)
  9. Some unassociated “Asterisk” sites that managed to make it onto the front page of Google Search and have nothing to do with telephony.

Two links for Free Asterisk – the rest for prof$t.

How about looking at the right-hand side (where all the ads that we tune-out live)?

For me it reads: Fonality.com, IntuitiveVoice.com,VoIPSupply.com, 3CX.com, thevoipconnection.com, Dell.com, vnowinc.com, freshairstudios.co.uk (offering voice prompt professional services – for Asterisk!)

Sure looks like a lot of businesses are finding creative ways to prof$t from Asterisk!

Ok so you still may be holding a grudge from Paragraph #2 – you might never be able to find it in your heart to forgive my slight.  However, I have a point – Asterisk can only continue to exist on the Commercial Path.  There isn’t an end-user use for this application.  This is a telephone system (sans the system until you add hardware).  Asterisk is a business tool.  Businesses have a single reason to exist: prof$t.  And they should.  No business should exist for altruistic purposes.  If you think otherwise, you’re a teenager struggling against the angst of learning to live with “the man” – or you’re crazy.

Look at the economy.  People are losing the basic ability to feed their families left and right.  Asterisk is a cost-savings solution, it’s a maintenance-contract savings solution, it’s a “this never should have been so complicated in the first place” solution (i.e. time).  Asterisk is as much about money as the dollar bill.  It’s either making dollars for someone, or helping someone use fewer dollars and maintain a tool they need to survive.

And it’s good.  It is righteous that this application generate income for all parties.  It is ok that companies have taken the product, built some service or function on top, packaged and sold it off to some other company that didn’t have the time/experience/expertise/money to get the same functionality from Avaya for a lot more money.  Commercial is a blessing.

Without Commercial we lose most of the Open-Source world.  If there wasn’t demand for Support and Professional Services – there wouldn’t be a Ubuntu.  Sure Linux is free – but I remember the first time I had to install something – I didn’t even know the right words to google in order to find the “make” command (application – call it what you want).  Linux walks the Commercial Path.  Oh yes it does.  And if there is even a ghostly resonance of Linux walking the Path of Free, it’s too ethereal even for my imagination to detect.

Asterisk isn’t a commercial product.  I haven’t said it was, and I hope you didn’t get that impression.  This part goes back to the messy work of defining our terms.  Commercial doesn’t mean product in this article.  We both know Asterisk can’t be closed down – that’s not how the GPL works.  I posture that the only future (again, please re-read my definition of future) for Asterisk is on the Commercial Path.

Some of you agree with me.  You may be wondering what’s the point of the whole article if you knew from the start that companies are prof$ting from Asterisk already?  Reputation.  The Open-Source community harbors within its ranks some of the most aggressive, stubborn, quack-defenders of any group or association online or off.  People who rant and rage in forums and on message boards about the pure evil of companies who dare to take an application created in the beautiful spirit of ‘free’ and defile it with commercial shackles… don’t get it.

Without us – Asterisk would cease to be.

By Tyler Merritt

]]>
http://www.os-voip.com/2009/03/crossroads-free-or-commercial-asterisk/feed/ 10
Open Source VoIP in the carrier space : A look at Bandwidth.com http://www.os-voip.com/2008/10/open-source-voip-in-the-carrier-space-a-look-at-bandwidthcom/ http://www.os-voip.com/2008/10/open-source-voip-in-the-carrier-space-a-look-at-bandwidthcom/#comments Fri, 31 Oct 2008 21:58:49 +0000 Aaron Rosenthal http://www.os-voip.com/?p=126 We’ve talked a lot about enterprise adoption of OS VoIP but businesses are not the only users of this great technology, in fact there’s an untold story about Open Source VoIP and that’s its use within the carrier space. What too many people not in this field don’t know is that carriers are some of the largest users of Open Source VoIP technologies although few carriers will ever admit their use of open source. The reason why many don’t admit its use is the same reason why OS VoIP is slow to penetrate the large enterprise market; that reason being that OS VoIP is still perceived by an uneducated many that Open Source will always be the domain of basement dwelling techno nerds and hobbyists.

Well carriers ARE in fact one of the largest users and most ideal candidates for Open Source VoIP because they’re often the ones with the most to gain from the benefits of this technology- carriers spend squillions of $$$ on telecom infrastructures and thus they have the most to profit by simply replacing existing (and costly) proprietary hardware with Open Source software and COTS hardware. Large chunks of a telecom infrastructure can be replaced by various elements of Open Source Software and since telecom infrastructures are so expensive, theses savings can be astounding. Carriers also tend to have the in-house technical chops needed to work with Open Source software which is a skill few mid-sized businesses have. In fact I’ve found that increasingly carriers are requiring their engineers to be trained and well versed in software just like Asterisk and OpenSER.

One such carrier who not only uses Open Source VoIP everywhere, but embraces and openly acknowledges their use of Open Source is Bandwidth.com. Recently a registered CLEC in all 50 states, Bandwidth.com is growing Flash Gordon style. They’ve managed to top Inc. Magazines fastest growing tech companies 3 years and counting, all while using Open Source software to profitably grow their network and infrastructure at a pace and scale that has reliably kept up with their growing demand.

Now I don’t want to turn this article into an advertisement for Bandwith.com, because that’s not the goal here. The goal is to show that even a large successful carrier with thousands of business customers, with over a dozen telecom products, and a rising star in the telecom world, relies heavily on Open Source VoIP for a good chunk of their network infrastructure. Here at OS-VoIP we’re dedicated to proving OS VoIP’s ability to satisfy the needs of even the most demanding large enterprise… so from where I look at things, I really don’t see that big of a difference between the way in which a carrier network would be engineered and the way in which a large Fortune 1000’s VoIP network is built, in fact I would say that a carrier requires higher levels of redundancy (downtime means lost customers) and a far greater level of flexibility since carrier products and services must shift with market demand with speed and efficacy. So Mr./Mrs. CIO, take note because if Open Source VoIP is suitable for Bandwidth.com and many carriers alike, why not see what it could do for your organization?

I had the pleasure of speaking with Anders Brownworth, head of research and development at Bandwidth.com, and as a long time employee since 2002 (back when there were only 14 people; now there’s 175), I get the impression that Anders has been largely influential in the extent to which Bandwidth.com has adopted Open Source VoIP software. Anders is also a fellow writer at his self titled blog anders.com where you’ll regularly see posts about what he’s up to over at Bandwidth.com.

Bandwidth.com is a next generation telecom company where TDM switching is predominantly a thing of the past; replacing these old TDM infrastructures (typically the backbone of most RBOC’s) are IP networks which is the case for most young carriers building out a new infrastructure. Unless you’re a telco with existing investments in a legacy network, it makes about as much sense as a toothless carnivore to not build your network foundation on IP. Now the folks over at Bandwidth.com could have very easily built their IP network using a myriad of proprietary hardware (which they use in some places) but instead, like most startups do, they went the route of a more financially feasible and flexible option and that ended up being Open Source software. But alas, even while I’m writing this Bandwidth.com has solidified a greater partnership with Sonus Networks to build their Next Generation Network (NGN); a move spurred by their recent CLEC status. All of Bandwith.com’s gateway’s to the PSTN have always been Sonus, like most carriers, but their Sonus network is obviously going to grow even larger which will help them open up shop in more US markets to provide direct “last mile” access to their network…..but we’re talking about Open Source VoIP and that means we’ll talk about Bandwidth.com’s IP network.

Anders tells me that from day one Bandwidth.com has been a heavy user of OSS including Linux, Apache, and MySQL, but most importantly for us over at OS-VoIP is their use of Open Source VoIP software like OpenSIPS (formerly OpenSER) which has fixed Bandwidth.com’s core IP infrastructure on Open Source software from the very beginning… and it’s role is paramount. OpenSIPS is a SIP proxy/router software which Bandwith.com uses to route ALL of their SIP traffic; accounting for the majority of their VoIP calls and the billions of minutes each year that run through Bandwidth’s IP network. With SIP becoming a predominant standard in telephony, OpenSIPS has the potential to completely crush the proprietary IP routing and SBC market with its ability to support extremely large traffic loads while scaling in ways far more cost efficient than anything you’ll find in the proprietary market… all on COTS hardware!

But what do we all know about Open Source?… it’s that Open Source software is not always easy to work with. There’s no question the functionality is there, but I’ll admit that if you haven’t worked with something like OpenSIPS before, you should probably get your hands dirty (very dirty) before deploying something so mission critical as a SIP proxy for a carrier. The other option is hire a firm that knows what they’re doing. I’ve said it many times over, and I’ll say it again, the successful deployment of OS VoIP software for businesses or carriers is as much reliant on the engineer or firm who implements it as it does the software; make the right choices and you’ll reap endless benefits.

When it comes to delivering reliable VoIP services to customers over the Internet, the cruelest VoIP monster is packet loss- which causes latency- which in-turn causes jitter and dropped calls…not an ideal situation for a company trying to portray a professional image. The internet is not designed for the transmission of real time applications which has been the route of countless criticisms about the quality of VoIP. The farther your phone is located from the hardware terminating that call into the PSTN, the longer your latency and the greater your chances are for packet loss and thus poor call quality. There are dozens of VoIP providers today who are small businesses with “who-knows-what” running on the back-end and an infrastructure sitting in a single geographic location… these are the companies who usually give internet based VoIP a bad name. For example, if you’re a hosted VoIP customer in NYC and your hosted VoIP provider’s network is located at a data center in LA, there’s a good probability that call quality could be an issue since you’re talking about running packets coast to coast over the internet which as I said was never designed for real time transmission of data. What you want to do is use a hosted VoIP provider with multiple PoP’s (point of presence) throughout the country so that the distance your call has to travel over the internet is reduced dramatically. Sorry for ragging on you small VoIP providers but it’s just a simple fact… small VoIP providers with a network in one spot are best to serve customers who are geographically close to the network hub… but then this issue of latency and packet loss is a crap shoot, sometimes it happens, sometimes it doesn’t. Ok, latency and hosted VoIP provider pros and cons can be left for another article, another day. So where’s this going?….

Bandwidth.com on the other hand operates ~9 server farms and have POP’s on the east coast, west coast, and some in between. This dramatically reduces the hop your call has to make in order to get into Bandwidth.com’s network…. which in turn reduced latency and increases the quality and reliability of your call. The key is to get that VoIP call out of the Internet and into the carriers IP backbone as quickly as possible. I wanted to briefly touch on their network architecture just to explain some of the benefits of a distributed network which is what I think really separates the boys from the men in this hosted VoIP industry.

So which other piece of Open Source software is running behind the scenes at Bandwidth.com? The next is a new yet increasingly popular piece of software called FreeSWITCH. FreeSWITCH is somewhat of a competitor to Asterisk and while many will argue that one of the biggest advantages to FreeSWITCH is its ability to support up to 4 times the call volume of Asterisk, FreeSWITCH doesn’t have nearly the same breadth of capabilities and support found in Asterisk. Take a gander at a comparison I wrote about the two. FreeSWITCH is what sits behind Bandwidth.com’s new PhoneBooth product, a hosted VoIP solution, which was released over a month ago on Sept. 15th. PhoneBooth is a web based user interface to Bandwith.com’s hosted VoIP solution, providing their customers easy access to features and an admin portal that lets them manage their services. Developing an easy to use admin/user interface that integrates with the likes of Asterisk or FreeSWITCH has always been the golden egg of any company who ventured into developing their own interface of this type. Developing UI’s for Open Source software is always a time consuming process which is why the companies who spend the most amount of time and in-turn develop the most reliable interface will typically close up the code and license their newly developed interface.

Just to go off on a little tangent, Anders and I were discussing our frustration with Open Source developers who unfortunately give little or no consideration to how their product would look and work from a user interfaces perspective. Often OS software is written in the command line by hardcore programmers and by not including a UI, it unfortunately gives some OS software an elitist status because few people know how to work with it. Anders made a great comment which was that he’d “love to see some strong projects in the open source world that approach things from the designers perspective, allowing the designer to say “this is what should happen” rather than the user/admin interface being an after thought. I don’t know why more developers don’t do this because a sexy UI is perhaps the single most important thing general consumers look for…. and I digress…

PhoneBooth is the first robust interface I’ve heard of that was designed to work with FreeSWITCH (although Anders tells me that PhoneBooth WAS originally designed with Asterisk but later re-engineered for FreeSWITCH). Other examples of GUI’s designed to work with Open Source software like Asterisk include Switchvox, Trixbox, FreePBX, PBXtra, PBX in a flash, Intuitive Voice, and many many more. Each of the mentioned UI’s were engineered with varying degrees of success where the free GUI’s are typically less stable than the likes of Switchvox or Trixbox which are now licensed pieces of software; even though the foundation of these systems are built using Open Source Asterisk. Because Bandwith.com operates a tenant based environment, with thousands of customers, Anders and his team developed FreeSWITCH in parts, each part with a different responsibility and capacity to support larger loads. This is one distinction between Asterisk and FreeSWITCH which is FreeSWITCH’s ability to be easily broken up into pieces. Bandwidth.com developed separate conferencing, media servers, and databases from which PhoneBooth directly reads and writes.

I am told by Anders that Bandwidth.com just might open source their PhoneBooth project which would be absolutely fantastic for the general Open Source community! Some folks might even pee their pants. I do have my doubts that this will happen since PhoneBooth is already a valuable piece of Bandwidth.com’s business but if it is engineered as solid as I’d expect it to be, then PhoneBooth just might be the first robust GUI I know of for FreeSWITCH and perhaps it could be easily adapted back into working with Asterisk…. as I’m a little more of an Asterisk fan myself, this would be saweet.

And lastly no Open Source VoIP infrastructure would be complete without a dash of Asterisk here and there. When it comes to Bandwidth.com, Asterisk is primarily being used as a TDM to voip gateway which is just one functional characteristic to a piece of software that seems to know no boundaries in telephony functionality. Bandwidth.com has hundreds of these Asterisk boxes spread across the country many of which are used to trunk between Bandwidth.com’s IP network and legacy TDM phone systems or bridging the gap from a TDM carrier network to their IP backbone. It’s a simple role but Asterisk plays it very well.

If you made it to the end, and hopefully you did with a final sense of accomplishment, I want to thank Anders for taking the time and allowing OS-VoIP to dig into some great pieces of Open Source software running behind the scenes over at Bandwith.com. Open Source VoIP software, like those used by Bandwidth.com is being leveraged in places that most people wouldn’t even think of and in ways that are infinitely flexible. We currently live in a world where Open Source software (not all but some) has become so powerful, flexible, secure, reliable, and cost effective that ignorance is often the only argument left for not giving Open Source the brain space it deserves. I know I know.. not everyone shares the same passion for OSS and the first person to make it through this article who disagrees with me (hello you) will instantly, as if subconsciously wired into their brains, refer to support as the biggest issue facing Open Source…. and although I will agree that this is a problem for some Open Source projects, this argument is used WAY TOO MUCH as a generalization referring to all Open Source projects, because the support which exists for many OS projects can be remarkable.

Open Source VoIP software has progressed so much that knowledge of these systems has become a standard skill requirements amongst engineers working in this space. With hundreds of companies developing, implementing, and maintaining Asterisk (as an example), you’d have a hard time convincing me that Asterisk is lacking an appropriate support infrastructure. But, like all walks of life, there are firms who are better than others so if you’re looking to find a reliable Open Source VoIP engineering firm, with the ability to support your needs effectively, just make sure you evaluate your options thoroughly, and don’t always make your decisions based on price because if you do, you’ll usually get what you pay for. One thing many Open Source projects should take from the proprietary world is a more stringent and selective certification process. Having a particular certification to separate the boys from the men when it comes to Open Source engineering would make it much easier for firms to disseminate between a solid OS engineering firm and one which may be full of jokers.

If I’ve achieved anything by this article, look at the technologies Bandwidth.com uses and when you’re in the market for any enterprise grade telephony solution, I hope you’ll give OS VoIP technologies the attention they deserves.

]]>
http://www.os-voip.com/2008/10/open-source-voip-in-the-carrier-space-a-look-at-bandwidthcom/feed/ 6
Asterisk and FreeSWITCH http://www.os-voip.com/2008/08/asterisk-and-freeswitch/ http://www.os-voip.com/2008/08/asterisk-and-freeswitch/#comments Fri, 01 Aug 2008 20:50:11 +0000 Aaron Rosenthal http://www.os-voip.com/?p=101 This week I’m using some link bait which discusses a few of the differences between Asterisk and FreeSWITCH. David Greenfield wrote a short blog post discussing one particular case study where FreeSWITCH was used over Asterisk. I wouldn’t say I’m all that crazy-go-nuts over the post but the topic is worth additional discussion since FreeSWITCH and Asterisk are both fantastic pieces of OS telephony software each of which are strong in their own right. This is in no way a comprehensive comparison between the two, but it’s a start.

I think an even better comparison between Asterisk and Freeswitch was written by Anders Brownworth which looks at the differences between the two from a slightly more technical overview. As head of R&D for Bandwidth.com, I’m glad to hear Anders is playing with Open Source software like Asterisk and FreeSWITCH. My last post about Junction Networks discussed the use of OS software in a carrier network, it would be good news for OS-VoIP to learn that a big player like Bandwidth.com also uses OS software somewhere within their infrastructure, and where (they probably do already but won’t admit it like most carriers). Perhaps Mr. Brownworth can shed some light on the topic for another OS-VoIP article???

Most people will agree that Asterisk in its current state has more feature capabilities than FreeSWITCH in its current state. What largely differentiates FreeSWITCH features and Asterisk features is how they operate as you begin to scale a system and the way in which those features and dial plans are managed.

I’m admittedly more biased towards Asterisk because it’s been around longer and well, because my company is a Digium partner, but I’m also not one to ignore new software even if it feels like sleeping on the other side of the bed. That’s the problem with these large stagnant corporate IT infrastructures, it’s that the people in charge of them have largely relied on their proprietary vendors for information about new technology, and have become too comfortable with relying on these folks for the right information. It takes a true IT leader to step out of their comfort zone and see whether there’s a better way of doing things, something other than that which has been spoon fed to them by vendors. A very simple way to prevent this type of comfortable stagnation is to simply read a few select magazines, and/or blogs on a regular basis; just to keep you up to speed with everything. Throw a wrench into the machine; rustle some vendor feathers; go ahead and see what’s new, source some technology solutions from competitors of existing vendors… there’s little to lose- either you find something better or your vendor freaks out enough to offer better pricing, it’s a win win!

Back to FreeSWITCH and Asterisk. So why would one consider using FreeSWITCH and why Asterisk? There’s no easy answer to this question because it truly depends on what you’re trying to do, and since both pieces of software offer near limitless possibilities, I’m left with only the time and patience to discuss just a few. Depending on what you’re trying to achieve, and what you need done, FreeSWITCH and Asterisk in my experience are typically used in a complementary fashion. Since FreeSWITCH was largely designed to satisfy the carrier space, perhaps its biggest advantage over Asterisk is in its distinctly different architecture. The general consensus amongst developers is that FreeSWITCH is capable of handling larger call loads on less hardware yet Asterisk has far more feature capabilities and is therefore perhaps the most suitable of the two in small to mid sized IP PBX deployments.

For anyone who has worked with Open Source VoIP software, they will know that in order to build the most stable VoIP system, you’ll probably end up using a collection of Open Source software (maybe even proprietary software as well). Our rule for production systems is only ever use the software that does the job the best, and if that means proprietary then so be it (most of the time there’s still a perfectly suitable OS alternative). This is the beauty of using software which is highly interoperable. One example in the design of an IP PBX would be using OpenSER for handling routing and load balancing, FreeSWITCH could be used as the IVR media gateway and conferencing, while Asterisk is left to handle the majority of the PBX features. Technically Asterisk could take care of all this but with a little more complexity, especially when handling thousands of simultaneous calls. I would argue that in the ~1000 extension space (still a fairly large system for Open Source VoIP standards) Asterisk may be all you need to build a complete IP PBX.

Asterisk has loads of features and although most work near flawlessly, there’s also a couple that don’t. One simple example is the call barge feature. I work with Polycom phones and wouldn’t have it any other way but the call barge feature for some reason or another does not work properly between Polycom and Asterisk. If anyone at Asterisk/Polycom is reading this, GIT-ER FIXED! So FreeSWITCH can actually be used in such an instance to provide this standard “key system” functionality.

For very specific applications like conferencing and media serving, FreeSWITCH is the clear winner.

As the above quote from Anders Brownsworth states, FreeSWITCH is also excellent for conferencing. In fact Junction Networks, see post, also uses FreeSWITCH for their conferencing service. One of the reasons why FreeSWITCH is so good at conferencing is that call conferencing is a very resource intensive activity. Each call added into a conference requires an exponential amount of computing resources. Although Asterisk handles conferencing quite well, FreeSWITCH can support more calls on less hardware.

I haven’t done much testing on the topic, but from what I hear people saying, typically a single Asterisk server has the capacity to handle ~250-300 simultaneous calls whereas FreeSWITCH users claim that with the same server ~1000 simultaneous calls can be handled. Remember that the purpose behind FreeSWITCH is…well… switching and call control, therefore most of the processes running FreeSWITCH aren’t all that resource intensive hence more calls/less hardware.

At the end of the day, it helps to know where you’re trying to go. If you plan to implement some element of Open Source telephony into your corporate communications infrastructure, you need to know exactly how the system must scale because scaling is one of the most important differentiators for which Open Source VoIP software to use and how you use it. If for example a large corporation decided to replace their entire Avaya infrastructure with Open Source VoIP software, the typical approach is start with a few small locations and eventually migrate everything into one large centrally managed yet geographically dispersed system. The difficult part about this approach is a single office might have 100 users, where Asterisk would be the software of choice, but a larger centrally managed system will likely be built for a much larger user population using a combination of the software I’ve already mentioned. You can’t expect that the lessons learned building a small Asterisk system will map well to a larger clustered system built with various OS VoIP software.

Highly skilled Open Source VoIP engineers are few and far between, my advice to anyone interested in OS VoIP is to either use a highly skilled OS engineering firm, or run your Linux engineers through weeks (if not months) of training. You might say, well what about a consultant? Consultants can be an excellent resource for projects like these, but my experience is that only 1 in 10 really know what they’re doing. There’s a lot of amateurs out there who might have plenty of Trixbox deployments under their belt but the second you say custom development or troubleshoot, they’re stuck with a finger up the bum, wide-eyed, and not a single clue as to what to do. I say all this because every week at SpecialAI some poor business gives me a call because their OS VoIP project got stuck where their consultants IQ ran out. Perhaps I’ll write an article about how to choose the right OS VoIP consultant/freelancer but the responsible move for most organizations with a stretched IT department is to spend the extra money and simply hire the right company with the right support infrastructure to build, deploy, and maintain mission critical OS VoIP systems.

]]>
http://www.os-voip.com/2008/08/asterisk-and-freeswitch/feed/ 14