Skip to content

What Is Asterisk PBX and How Does It Work? (2027)

Learn what Asterisk PBX is, how it handles a call through channels, the dialplan and bridges, which releases are supported, and how to install it.

By · Updated · Published

Cable network
Photo by Taylor Vick · Unsplash License · via Unsplash

What is Asterisk PBX?

Asterisk is telephony software that turns a server into a phone system. Its core is small. It reads the configuration files, including the dialplan, and loads all the other modules. A default installation has over 150 modules, usually .so files in /usr/lib/asterisk/modules.

SIP support comes from chan_pjsip, which uses res_pjsip and other res_pjsip modules to provide a SIP stack. The Big Picture overview describes this design.

How does Asterisk handle a call?

A call moves through three parts. The module types page and the Big Picture overview describe them:

  1. A channel driver creates a channel for each call leg. Channel drivers communicate with devices outside Asterisk and translate their signaling or protocol for the core.
  2. The channel follows the dialplan, where applications and functions act on it.
  3. Bridging joins channels to each other. Bridge drivers provide methods of bridging call media between the participants in a call.

What are the main types of Asterisk modules?

The module types page groups modules by their job. This table summarizes them.

Module typeWhat it does
Channel driversTalk to phones and networks, translating their protocol for the core. Example: chan_pjsip for SIP.
Dialplan applicationsProvide call actions such as answering, playing prompts, queues, voicemail, conferences and hanging up. Examples: app_voicemail and app_confbridge.
Dialplan functionsGet or set call settings, such as Caller ID.
ResourcesProvide shared services such as music on hold, call parking and res_agi.
CodecsEncode and decode audio or video.
File format driversSave media to disk and play it back.
CDR and CEL driversWrite call records and detailed call events.
Bridge driversConnect media between call participants.

Which Asterisk versions are supported in 2027?

Each release line has a fixed support window. We compiled this table on November 14, 2026, from the official versions page. It comes from published dates, not from our own installs.

SeriesTypeReleasedSecurity fixes only fromEnd of lifeStatus on November 14, 2026
24.xLTSNovember 5, 2026October 15, 2030October 15, 2031Full support
23.xStandardOctober 15, 2025October 15, 2026October 15, 2027Security fixes only
22.xLTSOctober 16, 2024October 16, 2028October 16, 2029Full support
21.xStandardOctober 18, 2023October 18, 2025October 18, 2026End of life
20.xLTSOctober 19, 2022October 19, 2026October 19, 2027Security fixes only
18.xLTSOctober 20, 2020October 20, 2024October 20, 2025End of life

The versions page's own status column still says 'Fully Supported' for 20.x and 23.x. Their security-fix-only dates have passed, so this table uses the dates.

LTS releases get four years of full support and one more year of security fixes. Standard releases get at least one year of full support and one more year of security fixes. New releases come roughly once a year, alternating between Standard and LTS. Fully supported series get bug-fix updates roughly every four to six weeks.

What does a first Asterisk dialplan look like?

Photo of man, computer, screen
Photo by Pexels · Pixabay Content License · via Pixabay

The Asterisk dialplan is a scripting language specific to Asterisk. It lives in extensions.conf, typically in /etc/asterisk, as the dialplan guide explains.

The dialplan is organized into contexts, extensions and priorities. Contexts keep parts of the dialplan independent and can enforce security boundaries between them, as the contexts page explains.

An extension line names the number, the priority and the application. The docs give this example:

Code
[users]
exten => 6001,1,Dial(PJSIP/demo-alice,20)

Run dialplan reload to apply your changes.

How do you install Asterisk?

The docs describe three routes: the FreePBX distribution, OS packages, or source. They suggest FreePBX for newcomers. The installation guide covers all three.

To build from source, the build guide lists these steps:

  1. Run ./configure.
  2. Run make menuselect.
  3. Run make.
  4. Run make install.
  5. Run make samples, which installs the sample .conf files to /etc/asterisk. It overwrites existing config files, so skip it on a system you have already configured.
  6. Run make config.

Is Asterisk safe to run on the internet?

The build guide warns that not following the security documentation can leave your system vulnerable to a number of security issues, including toll fraud. Read the security documentation before you expose a system to the internet.

More guides in Open-Source PBX and SIP Servers.

Frequently asked questions

What is the difference between Asterisk and FreePBX?
FreePBX is an Asterisk-based distribution. The Asterisk docs call it the easiest way to get started if you are new to Linux or Asterisk.
Which Asterisk version should I install?
The project recommends either the latest release, for the most up-to-date features, or the latest LTS release. As of November 14, 2026, 24.x is the newest LTS line, and its security-fix-only support starts October 15, 2030.

Sources

  1. The Asterisk core is the heart of the system: it reads the configuration files, including (docs.asterisk.org)
  2. Channel drivers communicate with devices outside Asterisk and translate their signaling or (docs.asterisk.org)
  3. Asterisk Long Term Support (LTS) releases are fully supported for 4 years, plus 1 more yea (docs.asterisk.org)
  4. The dialplan is a scripting language specific to Asterisk, stored in extensions.conf in th (docs.asterisk.org)
  5. A dialplan extension line names the number, the priority and the application, for example (docs.asterisk.org)
  6. The Asterisk docs call FreePBX, an Asterisk-based distribution, the easiest way to start f (docs.asterisk.org)
  7. When building from source, 'make samples' installs sample .conf files to /etc/asterisk and (docs.asterisk.org)