Self-hosted alternatives to Twilio
Per-minute and per-message pricing on infrastructure you could run yourself for a flat cost.
Below are 10 open-source projects that cover the same ground, each scored 0–100 on how actively it is actually maintained — commit volume, release cadence and recent trend. 6 of the 10 are currently rated healthy or better. Ordering reflects that score, not sponsorship.
| Project | Health | Activity (11 mo) | Stars | Licence | Last release |
|---|---|---|---|---|---|
| Kamailio Modular SIP server (registrar/proxy/router/etc). | Thriving · 86 | 3k | GPL-2.0 | 15 Oct 2026 | |
| FusionPBX Web interface for multi-platform voice switch called FreeSWITCH. | Healthy · 75 | 1.1k | MPL-1.1 | 21 Sept 2026 | |
| SIPCAPTURE Homer Troubleshooting and monitoring VoIP calls. | Healthy · 72 | 2k | AGPL-3.0 | 20 Oct 2026 | |
| Routr Lightweight SIP proxy, location server, and registrar for a reliable and scalable SIP infrastructure. | Healthy · 72 | 1.7k | MIT | 19 Nov 2026 | |
| Asterisk Easy to use but advanced IP PBX system, VoIP gateway and conference server. | Healthy · 68 | 3.7k | GPL-2.0 | 5 Nov 2026 | |
| openSIPS SIP proxy/server for voice, video, IM, presence and any other SIP extensions. | Healthy · 68 | 1.5k | GPL-2.0 | — | |
| FreeSWITCH Scalable cross-platform telephony platform. | Steady · 67 | 5.3k | MPL-2.0 | 18 Nov 2026 | |
| Flexisip Complete, modular and scalable SIP server, includes a push gateway, to deliver SIP incoming calls or text mess | Slowing · 45 | 194 | AGPL-3.0 | — | |
| 3CX Full-featured PABX system, with call queues, built-in web conferencing, live chat and social media messaging a | Unrated | — | ⊘ Proprietary | — | |
| Freepbx Web-based GUI that controls and manages Asterisk. | Unrated | — | GPL-2.0 | — |
How these were picked
Every project listed here is open source and can run entirely on hardware you control. We start from the categories that match Twilio's job — Communication - SIP — then rank by health score so that a popular-but-abandoned project never appears above a smaller one that is actively shipping. The scoring method is documented in full.
The scores are recomputed from repository data on every rebuild, so this page reflects the state of these projects as of 20 Nov 2026 — not the day it was written.
Kamailio
Modular SIP server (registrar/proxy/router/etc).
Best fit: Deploying a high-capacity custom SIP routing layer or registrar for enterprise voice architectures and telecommunication service providers.
Worth knowing: Configuration is notoriously complex and steep-learning-curve-driven, relying on a custom scripting language rather than standard configuration files.
FusionPBX
Web interface for multi-platform voice switch called FreeSWITCH.
Best fit: Administrators who want to deploy and manage FreeSWITCH setups without relying entirely on raw configuration files. It suits environments requiring multi-tenant voice routing.
Worth knowing: The Mozilla Public License 1.1 can present copyleft compliance challenges depending on how you modify and distribute the source code. It also inherits the steep configuration complexity of the underlying FreeSWITCH engine.
SIPCAPTURE Homer
Troubleshooting and monitoring VoIP calls.
Best fit: Network administrators and VoIP engineers who need to capture, store, and inspect SIP traffic for debugging purposes on their own infrastructure.
Worth knowing: The AGPL-3.0 licence requires you to make the source code available if you modify the software and offer it as a network service. Additionally, high-volume VoIP environments may generate significant storage and processing overhead for captured packets.
Routr
Lightweight SIP proxy, location server, and registrar for a reliable and scalable SIP infrastructure.
Best fit: It suits administrators who need a lightweight SIP routing layer for scalable voice infrastructures without relying on monolithic PBX systems.
Worth knowing: Setting up and debugging SIP routing can involve complex network topologies, NAT traversal issues, and strict protocol compliance requirements.
Asterisk
Easy to use but advanced IP PBX system, VoIP gateway and conference server.
Best fit: It suits system administrators and telephony engineers who need to build custom voice communication infrastructure or private branch exchange networks from scratch.
Worth knowing: Configuring telephony routing and SIP trunks requires deep technical knowledge, and mistakes can result in misconfigured audio paths or security vulnerabilities like toll fraud.