Asterisk
Easy to use but advanced IP PBX system, VoIP gateway and conference server.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Overview
Asterisk is a free, open-source framework for building communications applications, sponsored and maintained by Sangoma. It can turn an ordinary server into a full-featured telephone exchange system, and it can also serve as the underlying engine for developing custom voice and real-time communications applications. According to the official website, Asterisk is downloaded about 11.5 million times a year, has about 85,000 community members, and is deployed in more than 150 countries.
Key Features
- IP PBX: Telephone exchange features such as extensions, call transfer, call hold, call pickup, and call parking
- SIP and multiple protocols: Connects SIP phones, softphones, and carrier trunks through channel drivers such as PJSIP
- Dialplan: Use a flexible dialplan to control call routing and business logic
- IVR and voice menus: Build automated voice response and keypad navigation
- Voicemail and conferencing: Provides voicemail and multi-party audio conferencing (such as ConfBridge)
- Call queues: Suited to queuing and agent assignment in contact centers
- Developer interfaces: AMI (Asterisk Manager Interface), AGI (Asterisk Gateway Interface), and ARI (Asterisk REST Interface, based on REST/WebSocket), making it easy to integrate with external programs
Target Users and Use Cases
- Businesses and organizations that need to run their own phone system
- Developers and integrators building call centers, voice bots, and communications products
- Carriers and VoIP service providers
- Tech enthusiasts who want to tinker with VoIP in a home lab
Core Strengths
- Free and open source: No license fees, open source code, and freedom to customize
- Highly flexible: It is a framework, not a closed finished product, so almost all call logic can be customized
- Mature ecosystem: The project has a long history and a large community, and popular graphical PBX solutions such as FreePBX are built around Asterisk
- Actively maintained: Multiple release branches are updated at the same time (for example the 20, 22, and 23 series), and security advisories are published regularly
Installation and Deployment
Asterisk runs mainly on Linux. Common deployment methods include:
- Build from source: Download the source package from the official website, then run
./configure,make menuselect(to choose modules),make, andmake installin turn, and usemake samplesto generate sample configuration files. - Distribution packages: Some Linux distributions have Asterisk packages in their software repositories.
- Asterisk-based distributions: For example, FreePBX, which provides a web-based graphical management interface and is easier to get started with.
Technical Requirements
- A Linux server (physical machine, virtual machine, or cloud host)
- Basic knowledge of telephony topics such as SIP, NAT, and dialplans
- Proper firewall configuration and security hardening when exposed to the public internet
Notable Characteristics
- It is managed mainly through configuration files and the command line (CLI) and has no native graphical interface, so the learning curve is fairly steep
- The project publishes security advisories regularly, so production environments should be upgraded promptly to a supported version
- The community holds the AstriCon conference every year, with a focus on open-source projects such as Asterisk and FreePBX
Discover more
Kamailio
Modular SIP server (registrar/proxy/router/etc).
ngircd
Portable and lightweight Internet Relay Chat server for small or private networks.
Courier MTA
Fast, scalable, enterprise mail/groupware server providing ESMTP, IMAP, POP3, webmail, mailing list, basic web-based calendaring and scheduling services.
Dovecot
IMAP and POP3 server written primarily with security in mind.
Exim
Message transfer agent (MTA) developed at the University of Cambridge.
OpenSMTPD
Secure SMTP server implementation from the OpenBSD project.