Asterisk

Open source

Asterisk is an open-source PBX and telephony toolkit that connects SIP and Internet telephony with traditional PSTN interfaces.

GitHub stars
3.7k
Last 30 days
+66(+2%)
Last commit
8 days ago
Repository age
11 years
Version
24.0.0
Licence
Custom
Self-hosted
Yes

About Asterisk

Asterisk is an open-source PBX and telephony toolkit. The README describes it as middleware between Internet and telephony channels at the bottom and Internet and telephony applications at the top, with support for more telephony interfaces than Internet telephony alone and a large amount of support for traditional PSTN telephony. The code is C, credited to Mark Spencer and the Asterisk.org developer community, with copyright held by Sangoma Technologies.

It is developed and tested mainly on GNU/Linux and is supported on every major Linux distribution; it also reportedly runs on Mac OS X and the BSD variants. Most users now run VoIP/SIP only, but TDM or analog services need supported hardware: Sangoma analog and digital interface cards, full-duplex sound cards supported by PortAudio, and the Xorcom Astribank channel bank.

Installation is from source. The README asks for GCC 4.1 or newer, or a C99 compiler, plus ncurses and other development libraries. The steps are ./configure, make menuselect to choose modules, make, make install and optionally make samples for a demonstration PBX. Running asterisk -vvvc starts it in the foreground with a command-line console where core show help lists commands.

Key features

  • Open-source PBX and telephony toolkit
  • Supports many telephony interfaces beyond Internet telephony
  • Works with Sangoma cards, PortAudio sound cards and Astribank
  • Modules are chosen at build time with menuselect
  • Console with built-in command help
  • Sample PBX with demonstration extensions
  • Configuration files share one common format

Good fit for

  • Run a PBX
  • Connect SIP and PSTN telephony
  • Build telephony applications
Built with
C tools
Tags
pbx
voip
sip
telephony
pstn

Asterisk: questions and answers

What is Asterisk used for?
Asterisk is an open-source PBX and telephony toolkit that connects SIP and Internet telephony with traditional PSTN interfaces. It is a good fit for run a PBX, connect SIP and PSTN telephony, and build telephony applications.
Is Asterisk open source?
Yes. Asterisk is open source under a custom licence. Its source code is on GitHub at asterisk/asterisk and is written mainly in C.
Is Asterisk free?
Yes. Asterisk is open source, so the software itself is free to use under the terms of its own licence.
Can I self-host Asterisk?
Yes. Asterisk can be self-hosted on your own server or infrastructure.
What is Asterisk an alternative to?
Asterisk is an open-source alternative to RingCentral, 8x8, Mitel and Nextiva. Other open-source alternatives to RingCentral include FusionPBX, Linphone and Jitsi Meet.
Is Asterisk actively maintained?
Yes. The most recent commit to Asterisk was on 5 November 2026, and the latest release is 24.0.0, published on 5 November 2026. The project has 3.7k stars on GitHub, with 66 added in the last 30 days.

Open-source alternatives to Asterisk

See all

SaaS alternatives to Asterisk

See all