Rahul Sharma (Editor)

Asterisk (PBX)

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Developer(s)
  
Digium

Operating system
  
Cross-platform

Written in
  
C

Stable release
  
14.2.0 (23 November 2016; 3 months ago (2016-11-23)) [±] 13.13.0 (23 November 2016; 3 months ago (2016-11-23)) [±]

Preview release
  
14.2.0-rc1 (November 18, 2016; 3 months ago (2016-11-18)) [±] 13.13.0-rc1 (November 18, 2016; 3 months ago (2016-11-18)) [±]

Type
  
Voice over Internet Protocol

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, U+002A * ASTERISK.

Contents

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. Originally designed for Linux, Asterisk runs on a variety of operating systems, including NetBSD, OpenBSD, FreeBSD, macOS, and Solaris, and can be installed in embedded systems based on OpenWrt and on flash drives.

Features

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).

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. In Asterisk release 14 the Opus audio codec is supported.

Internationalization

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. It allows having multiple sets of voice prompts identified by language (and even multiple sets of prompts for each language) as well as support for time formats and such in different languages. Several sets of prompts for the interactive voice response and voice mail features are included with Asterisk: American British and Australian English, Canadian French, Japanese, Russian, Mexican Spanish and Swedish. 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 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.

    References

    Asterisk (PBX) Wikipedia