Skip to content

Asterisk

Open source PBX and telephony toolkit for VoIP, SIP and traditional phone lines

Copyleft (OSI) · GPL-2.0
  • Self-hosted

Listed by , founder & editor

86

Health

Thriving

Overview

Stars

3,708

Last commit

3 days ago

Nov 2026

Repository age

11 years

since Apr 2015

Latest version

certified-22.8-cert6

Nov 2026

Contributors

–

33 active in 90 days

Releases

9

last 12 months

Language

C

Asterisk is a PBX and telephony toolkit written in C. It sits between Internet or phone channels and the applications built on top of them. Most deployments today use VoIP and SIP. It also supports traditional PSTN telephony.

It is developed and tested mainly on Linux and supported on major distributions. Reports say it also runs on macOS and the BSD variants. You build it from source with ./configure and make menuselect, which lets you pick modules and shows each one's dependencies. A script, contrib/scripts/install_prereq, installs build dependencies on Debian, Red Hat and several other families.

For analog or digital lines you need supported hardware. That includes Sangoma interface cards, full-duplex sound cards supported by PortAudio, and the Xorcom Astribank channel bank. The project is GPL-2.0, maintained by Sangoma Technologies and the community, with 35 contributors in the last 90 days and nine releases in the past year. It is a self-hosted alternative to commercial business phone systems.

Who it's for

Sysadmins running a company phone system

It handles SIP and VoIP and can connect to analog or digital lines with the right cards.

Skip if: You want a point-and-click PBX with a bundled web interface.

Developers building telephony applications

It works as middleware, so you can build call logic on top of phone and Internet channels.

Skip if: You only need a hosted calling API and do not want to run servers.

The problem it solves

Commercial phone systems tie you to vendor hardware and per-seat licensing. Asterisk gives you a PBX you run and configure yourself, and it can bridge SIP, VoIP and traditional phone lines.

Strengths

  • Supports VoIP and SIP plus traditional PSTN telephony
  • Module selection through make menuselect
  • Active development: 35 contributors in 90 days, nine releases last year
  • Works with Sangoma cards, PortAudio sound cards and Xorcom Astribank
  • Primary support for all major Linux distributions

Trade-offs

  • Built from source, with a compiler and development libraries needed
  • Security configuration needs careful reading before you expose a server
  • Windows is not a supported platform
  • GPL-2.0 carries copyleft obligations if you distribute changes

Self-host Asterisk

Self-hostable
Yes

Frequently asked questions

Is Asterisk free?

Yes. It is open source under GPL-2.0.

Which operating systems does it run on?

Linux is the primary platform and every major distribution is supported. It also reportedly runs on macOS and BSD variants.

Can it connect to regular phone lines?

Yes, with supported hardware such as Sangoma analog and digital cards or the Xorcom Astribank.

How do I install it?

Build it from source: install prerequisites, run ./configure, then make menuselect and build.

Similar tools in Telephony and SMS

textbelt

Telephony and SMS

REST API and Node module for sending SMS through carrier email gateways

3.4k 581 3 years ago Dormant MIT

Kamailio

Telephony and SMS

High-volume SIP signaling server in C for VoIP operators and telephony engineers

3k 1.2k today Thriving GPL-2.0

ShizuCallRecorder

Telephony and SMS

Android call recorder that works without root by using Shizuku and ADB permissions

2.2k 102 today Thriving GPL-3.0

SIPCAPTURE Homer

Telephony and SMS

Self-hosted VoIP capture and troubleshooting server for SIP and HEP traffic

2k 296 4 days ago Thriving AGPL-3.0