ArticleslgStudy

computer science

Asterisk (software)

Asterisk (software) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Asterisk (software) rather than just read about it. In short: Asterisk is a software implementation of a private branch exchange (PBX). In conjunction with suitable telephony hardware interfaces and network applications, Asterisk is used to establish and control telephone calls between telecommunication endpoints such as customary telephone sets, destinations on the public switched telephone network (PSTN) and devices or services on voice over Internet Protocol (VoIP) networks.

Asterisk (software) — main illustration
Asterisk (software) — illustration

Key takeaways

  • Asterisk (software) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Asterisk (software) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Asterisk (software) from memory before moving on to harder problems.

Reference excerpt

Asterisk is a software implementation of a private branch exchange (PBX). In conjunction with suitable telephony hardware interfaces and network applications, Asterisk is used to establish and control telephone calls between telecommunication endpoints such as customary telephone sets, destinations on the public switched telephone network (PSTN) and devices or services on voice over Internet Protocol (VoIP) networks. Its name comes from the asterisk (*) symbol for a signal used in DTMF signaling. Asterisk was created in 1999 by Mark Spencer of Digium, which, since 2018, has been a division of Sangoma Technologies Corporation. 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.

Features The Asterisk software includes many features available in commercial and 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 PHP or 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 VOIP 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. It can serve as a gateway between IP phones and the PSTN via T- or E-carrier interfaces or analog FXO cards if the DAHDI (Digium Asterisk Hardware Device Interface) library is installed. The Inter-Asterisk eXchange (IAX) protocol, RFC 5456, native to Asterisk, provides efficient trunking of calls between Asterisk PBX systems 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 both local and long-distance calls over the Internet. 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. 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 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.

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. AstLinux is a "Network Appliance for Communications" open-source software distribution. 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, trixbox and VitalPBX are software PBXes based on Asterisk. Elastix previously used Asterisk, HylaFAX, Openfire and Postfix to offer PBX, fax, instant messaging and email functions, respectively, before switching to 3CX. Issabel is an open-source Unified Communications software which uses Asterisk for telephony functions. It was forked from the open-source versions of Elastix when 3CX acquired it. *astTECS uses Asterisk in its VoIP and mobile gateways. Grandstream's UCM series of IP-PBX appliances uses Asterisk with a custom web interface. E-MetroTel UCX is a system developed by former Nortel engineers, running on Asterisk, designed to work with Nortel's digital and IP phones, as well as to integrate with other Nortel equipment. It also works with other products from other vendors, including NEC, Mitel, Avaya, and Cisco. VICIdial is an open-source contact center solution built on Asterisk, MariaDB, PHP, Perl and JavaScript. Various add-on products, often commercial, are available that extend Asterisk features and capabilities. 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.

Security Since 2001, hundreds of CVEs (Common Vulnerabilities and Exposures) have been published for Asterisk. Several research papers have also been published about securing Asterisk-based PBX systems.

See also

… excerpt ends here. Continue reading the full article.

Illustrations

Asterisk (software) illustration

Worked examples

Example 1 — a first encounter with Asterisk (software)

Start with the simplest possible case. Write down what Asterisk (software) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Asterisk (software) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Asterisk (software) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Asterisk (software)

In research
Asterisk (software) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Asterisk (software) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Asterisk (software) is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1999 software, Asterisk (PBX), Free VoIP software, so understanding it makes those chapters shorter.
In everyday life
Look for Asterisk (software) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Asterisk (software)” →

How to study Asterisk (software) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Asterisk (software) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Asterisk (software) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Asterisk (software) in simple terms?

Asterisk is a software implementation of a private branch exchange (PBX). In conjunction with suitable telephony hardware interfaces and network applications, Asterisk is used to establish and control telephone calls between telecommunication endpoints such as customary telephone sets, destinations…

Why does Asterisk (software) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Asterisk (software)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Asterisk (software).

Tags

  • 1999 software
  • Asterisk (PBX)
  • Free VoIP software
  • Free business software
  • Free communication software
  • Free software programmed in C
  • Lua (programming language)-scriptable software
  • Telephone exchange equipment
  • Videotelephony

Keep exploring