Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Asterisk is an open source PBX and FreeSWITCH is an open source soft switch. Source: http://www.freeswitch.org/node/117

Can you please explain the difference between PBX and soft switch in less technical terms

Examples illustrating the difference between the two would be highly appreciated.

share|improve this question

2 Answers 2

up vote 19 down vote accepted

In this day and age you cannot directly compare a soft switch to a PBX. A soft switch, or software that connects phone lines with one another, is at the core of all modern PBXs. Asterisk is not a PBX but it can be configured to function as one. Also most of the functions provided by an PBX can also typically be performed by a class 5 soft switch. Perhaps an example will help clear things up.

A telephone exchange is a system that allows telephone lines to be connected (bridged) to one another. If you pick up your phone in your house and dial your neighbor's home phone (assuming you are both using the local phone company) the telephone company's exchange detects the digits you dial and if you dialed your neighbors phone number connects your phone to your neighbors. You two can now talk and plan your next block party.

Now what if you wanted to pick up your phone in your kitchen and dial a number which rings a phone in your bedroom? One option is to order two phone lines from your phone company, install one in your kitchen and the other in your bedroom, and use their exchange to connect them just like when calling your neighbor. Another option is to install your own exchange, a private branch exchange (PBX), that would allow you to pick up the phone in the kitchen and dial an extension which will ring and connect to the phone in the bedroom without using the phone companies exchange.

Connecting phone lines together is what a PBX does at it's most basic level. Which is the same thing a soft switch does. Except that a PBX can do it either with custom hardware as was the case before general purpose computers were so prevalent or purely in software as modern PBXes and soft switches do today.

Custom hardware is only needed depending on the type of telephone network(s) you need to connect to. If all your endpoints are IP based like SIP phones or softphones and your outside connectivity is provided over the internet like Vonage, Skype, or SIP trunks your PBX only needs a network adapter to bridge them and not any specialized telephony hardware. On the other hand if you have analog endpoints like the typical residential phones you might have in your kitchen and bedroom you would need hardware that can detect if the handsets are on or off hook, generate the voltage to cause a ring and digitize the sound. Likewise if your outside connectivity is via copper wires from your phone company you would need custom hardware in order to bridge the endpoints (IP-based or analog) of your PBX to the phone network.

share|improve this answer
    
Thank you for providing example and explaining things nicely. However, one thing I am still not understanding. If SIP trunking takes care of connecting with POTS, where is the need to use hardware component. –  jeff musk Jan 2 '12 at 5:16
    
i tried giving your answer an upvote but i can not because my reputation is still not enough. hopefully, enough people will find this question helpful, and upvote it. –  jeff musk Jan 2 '12 at 5:17
    
Like dkweibe commented on the other answer to your question, if you're using SIP trunking, and all your handsets or endpoints are IP based (sip hard phones, soft phones, etc..) you wouldn't need any telephony specific hardware. You would only need all the same networking hardware / components you're probably already familiar with. –  sruffell Jan 2 '12 at 16:54

A PBX (Private Branch Exchange) is a device to switch calls between telephones. Some like Asterisk support VOIP (Voice Over IP). When I looked at implementing Asterisk a few years ago, I found I was looking at a hefty hardware expense for the phone interfaces.

FreeSWITCH is a VOIP switch and handles switching calls between VIOP endpoints (connections). The switch is implemented in software and may not have any physical phones connected to it. Calls may be switched to softphones (software phones) on PCs, laptops, or other devices. Another option is to redirect the call to an existing cell phone or landline (hardwired phone). Some softswitch software can ring several numbers at once and may allow you to listen in to the incoming voice mail message before accepting the call.

A softswitch may allow very complex call routing plans based on who is calling, time of day, and other factors. Follow-me routing should be simpler to implement with a softswitch.

Both may include IVR and voicemail (although it is more or less standard on softswitches).

For many purposes they can be considered interchangeable, but the technological lead is likely to favor the Softswitch.

share|improve this answer
    
Thank you for your insightful response. "Hardware expense" part for Asterisk is not clear to me. When I can receive or make calls using SIP trunking in Asterisk, where is this hardware requirement coming up? Sorry for this naive question. –  jeff musk Jan 2 '12 at 4:06
2  
The "Hardware expense" for Asterisk would only apply if you're connecting it to physical lines using a T1 card or FXO ports. –  dkwiebe Jan 2 '12 at 5:48
    
At the time I was looking it was more or less necessary to use physical lines internally, and generally on the network side as well. The options are much better today. –  BillThor Jan 3 '12 at 7:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.