Skip to main content

Asterisk (PBX)

Asterisk is a software implementation of a telephone private branch exchange (PBX); it allows attached telephones to make calls to one another, and to connect to other telephone services, such as the public switched telephone network (PSTN) and Voice over Internet Protocol (VoIP) services. Its name comes from the asterisk symbol, *.

Asterisk is released with a dual license model, using the GNU General Public License (GPL) as a free software license and a proprietary software license to permit licensees to distribute proprietary, unpublished system components.

Asterisk was created in 1999 by Mark Spencer of Digium.[1][2] Originally designed for Linux[citation needed], Asterisk runs on a variety of operating systems, including NetBSD, OpenBSD, FreeBSD, Mac OS X, and Solaris. Asterisk is small enough to run in an embedded environment such as Customer-premises equipment-hardware running OpenWrt.[3] There are complete self-contained versions that can boot from a storage device such as a flash drive or external disk drive (preferably IDE/PATA, SATA or mSATA; a USB-connected device can be used, but is often not recommended).[4] A live CD or virtual machine can also be used.


The Asterisk software includes many features available in proprietary PBX systems: voice mail, conference calling, interactive voice response (phone menus), and automatic call distribution. Users can create new functionality by writing dial plan scripts in several of Asterisk's own extensions languages, by adding custom loadable modules written in C, or by implementing Asterisk Gateway Interface (AGI) programs using any programming language capable of communicating via the standard streams system (stdin and stdout) or by network TCP sockets.

Asterisk supports several standard voice over IP protocols, including the Session Initiation Protocol (SIP), the Media Gateway Control Protocol (MGCP), and H.323. Asterisk supports most SIP telephones, acting both as registrar and back-to-back user agent, and can serve as a gateway between IP phones and the public switched telephone network (PSTN) via T- or E-carrier interfaces or analog FXO cards. The Inter-Asterisk eXchange (IAX) protocol, RFC 5456, native to Asterisk, provides efficient trunking of calls among Asterisk PBXes, in addition to distributing some configuration logic. Many VoIP service providers support it for call completion into the PSTN, often because they themselves have deployed Asterisk or offer it as a hosted application. Some telephones also support the IAX protocol.

By supporting a variety of traditional and VoIP telephony services, Asterisk allows deployers to build telephone systems, or migrate existing systems to new technologies. Some sites are using Asterisk to replace proprietary PBXes, others provide additional features, such as voice mail or voice response menus, or virtual call shops, or to reduce cost by carrying long-distance calls over the Internet (toll bypass).

Asterisk was one of the first open source PBX software packages.

In addition to VoIP protocols, Asterisk supports traditional circuit-switching protocols such as ISDN and SS7. This requires appropriate hardware interface cards, marketed by third-party vendors. Each protocol requires the installation of software modules.


While initially developed in the United States, Asterisk has become a popular VoIP PBX worldwide because it is freely available under open-source licensing, and has a modular, extensible design. The American English, French, Persian (Farsi) and Mexican Spanish female voices along with other prompts, such as Australian English, for the interactive voice response and voice mail features are frequently updated with submissions from developers in many languages and dialects. A few novelty prompts are offered, such as jokes and a themed "zombie apocalypse" message for Halloween. Additionally, voice sets are offered for commercial sale in various languages, dialects, and genders.

The default set of English-language Asterisk prompts, included with the package, are recorded by professional telephone voice Allison Smith in Calgary, Alberta.

Derived products

Asterisk is a core component in many commercial products and open-source projects. Some of the commercial products are hardware and software bundles, for which the manufacturer supports and releases the software with an open-source distribution model.

  • AskoziaPBX, a fork of the m0n0wall project, uses Asterisk PBX software to realize all telephony functions.
  • Elastix uses Asterisk, HylaFAX, Openfire and Postfix to offer PBX, fax, instant messaging and email functions, respectively.
  • FreePBX, an open-source graphical user interface, bundles Asterisk as the core of its FreePBX Distro
  • LinuxMCE bundles Asterisk to provide telephony; there is also an embedded version of Asterisk for OpenWrt routers.
  • PBX in a Flash/Incredible PBX and trixbox are software PBXes based on Asterisk.

There are also various add-on products, often commercial, which extend Asterisk in some manner.

As one example, the standard voice prompts included with the system are free. A business can purchase matching voice announcements of its company name, IVR menu options and employee or department names (as a library of live recordings of common names or a set of fully customised prompts recorded by the same professional voice talent) at additional cost for seamless integration into the system.

Other add-ons provide fax support, text-to-speech, additional codecs and new features. Some third-party add-ons are free; a few even support embedded platforms such as the Raspberry Pi. 

Source: Wikipedia, Google