Asterisk is an open source private branch exchange and telephony middleware connecting SIP, PSTN, and applications. Administrators build and run their own voice systems on Linux and other Unix-like OSes.
Overview
Asterisk acts as middleware between telephony channels—including Internet SIP endpoints and traditional PSTN interfaces—and applications that need call control, voicemail, conferences, and related services. It is widely deployed as the core of custom PBX and unified communications setups.
Supported interface hardware includes Sangoma analog and digital cards, PortAudio-backed sound cards, and Xorcom Astribank channel banks, alongside pure VoIP when no legacy circuits are required. Configuration uses text files organized into bracketed sections with key-value assignments documented on the project site.
New installations compile from source with GCC or another C99-capable toolchain, optionally selecting modules through menuselect, then installing binaries and sample dialplan files. Operators manage a running instance through the Asterisk CLI console and should keep system time synchronized because SIP registrations are sensitive to clock jumps.
GNU/Linux is the primary supported platform, with ports reported on macOS and BSD variants. Sangoma sponsors the project and publishes security guidance that administrators are expected to read before exposing a server to the network.
Key features
- SIP and PSTN telephony bridging
- Modular dialplan and applications
- VoIP and hardware trunk support
- Interactive Asterisk CLI management
- Voice mail and call routing apps
- menuselect module build selection
- Sample PBX configuration install
- Time sync sensitive SIP handling
Use cases
- Self-hosted IP PBX deployments
- SIP trunk and VoIP integration
- Custom phone menus and call routing
- On-premise telephony lab environments