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.

Shortest path: Kamailio is the best-maintained option here (health 86/100). Modular SIP server (registrar/proxy/router/etc).
Project Health Activity (11 mo) Stars Licence Last release
Kamailio
Modular SIP server (registrar/proxy/router/etc).
Thriving · 86 2025-12: 217 commits 2026-01: 213 commits 2026-02: 89 commits 2026-03: 199 commits 2026-04: 177 commits 2026-05: 160 commits 2026-06: 87 commits 2026-07: 96 commits 2026-08: 95 commits 2026-09: 265 commits 2026-10: 320 commits 3k GPL-2.0 15 Oct 2026
FusionPBX
Web interface for multi-platform voice switch called FreeSWITCH.
Healthy · 75 2025-12: 30 commits 2026-01: 144 commits 2026-02: 75 commits 2026-03: 88 commits 2026-04: 144 commits 2026-05: 101 commits 2026-06: 93 commits 2026-07: 70 commits 2026-08: 85 commits 2026-09: 160 commits 2026-10: 76 commits 1.1k MPL-1.1 21 Sept 2026
SIPCAPTURE Homer
Troubleshooting and monitoring VoIP calls.
Healthy · 72 2025-12: 0 commits 2026-01: 1 commits 2026-02: 3 commits 2026-03: 0 commits 2026-04: 0 commits 2026-05: 221 commits 2026-06: 178 commits 2026-07: 72 commits 2026-08: 116 commits 2026-09: 111 commits 2026-10: 113 commits 2k AGPL-3.0 20 Oct 2026
Routr
Lightweight SIP proxy, location server, and registrar for a reliable and scalable SIP infrastructure.
Healthy · 72 2025-12: 29 commits 2026-01: 0 commits 2026-02: 0 commits 2026-03: 3 commits 2026-04: 0 commits 2026-05: 4 commits 2026-06: 12 commits 2026-07: 3 commits 2026-08: 3 commits 2026-09: 19 commits 2026-10: 372 commits 1.7k MIT 19 Nov 2026
Asterisk
Easy to use but advanced IP PBX system, VoIP gateway and conference server.
Healthy · 68 2025-12: 31 commits 2026-01: 21 commits 2026-02: 21 commits 2026-03: 23 commits 2026-04: 25 commits 2026-05: 16 commits 2026-06: 41 commits 2026-07: 20 commits 2026-08: 33 commits 2026-09: 27 commits 2026-10: 28 commits 3.7k GPL-2.0 5 Nov 2026
openSIPS
SIP proxy/server for voice, video, IM, presence and any other SIP extensions.
Healthy · 68 2025-12: 121 commits 2026-01: 31 commits 2026-02: 49 commits 2026-03: 59 commits 2026-04: 338 commits 2026-05: 70 commits 2026-06: 95 commits 2026-07: 111 commits 2026-08: 182 commits 2026-09: 99 commits 2026-10: 136 commits 1.5k GPL-2.0 —
FreeSWITCH
Scalable cross-platform telephony platform.
Steady · 67 2025-12: 0 commits 2026-01: 1 commits 2026-02: 0 commits 2026-03: 1 commits 2026-04: 1 commits 2026-05: 32 commits 2026-06: 7 commits 2026-07: 24 commits 2026-08: 42 commits 2026-09: 28 commits 2026-10: 9 commits 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 2025-12: 28 commits 2026-01: 24 commits 2026-02: 26 commits 2026-03: 25 commits 2026-04: 32 commits 2026-05: 17 commits 2026-06: 20 commits 2026-07: 20 commits 2026-08: 13 commits 2026-09: 16 commits 2026-10: 34 commits 194 AGPL-3.0 —
3CX
Full-featured PABX system, with call queues, built-in web conferencing, live chat and social media messaging a
Unrated 2025-12: 0 commits 2026-01: 0 commits 2026-02: 0 commits 2026-03: 0 commits 2026-04: 0 commits 2026-05: 0 commits 2026-06: 0 commits 2026-07: 0 commits 2026-08: 0 commits 2026-09: 0 commits 2026-10: 0 commits — ⊘ Proprietary —
Freepbx
Web-based GUI that controls and manages Asterisk.
Unrated 2025-12: 0 commits 2026-01: 0 commits 2026-02: 0 commits 2026-03: 0 commits 2026-04: 0 commits 2026-05: 0 commits 2026-06: 0 commits 2026-07: 0 commits 2026-08: 0 commits 2026-09: 0 commits 2026-10: 0 commits — 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.

Full health breakdown for Kamailio →

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.

Full health breakdown for FusionPBX →

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.

Full health breakdown for SIPCAPTURE Homer →

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.

Full health breakdown for Routr →

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.

Full health breakdown for Asterisk →