Self-hosted alternatives to Twilio
Self-hosted telephony and SIP for voice and messaging. Below are 12 open source options you host on your own server — with no monthly per-user fee and full control of your data.
FreeSWITCH
★ 4,950Scalable open source cross-platform telephony platform.
Asterisk
★ 3,316Easy to use but advanced IP PBX system, VoIP gateway and conference server.
Kamailio
★ 2,855Modular SIP server (registrar/proxy/router/etc).
SIPCAPTURE Homer
★ 1,975Troubleshooting and monitoring VoIP calls.
Routr
★ 1,688Lightweight SIP proxy, location server, and registrar for a reliable and scalable SIP infrastructure.
openSIPS
★ 1,482SIP proxy/server for voice, video, IM, presence and any other SIP extensions.
FusionPBX
★ 1,014Web interface for multi-platform voice switch called FreeSWITCH.
Flexisip
★ 185Complete, modular and scalable SIP server, includes a push gateway, to deliver SIP incoming calls or text messages on mobile device platforms where push notifications are required to receive information when the app is not active in the foreground.
3CX
Full-featured PABX system, with call queues, built-in web conferencing, live chat and social media messaging all on one system.
Freepbx
Web-based open source GUI that controls and manages Asterisk.
SIP3
VoIP troubleshooting and monitoring platform.
Wazo
Full-featured IPBX solution built atop Asterisk with integrated Web administration interface and REST-ful API.
Frequently asked questions
Is there a free self-hosted alternative to Twilio?
Yes. We've gathered 12 self-hosted, open source alternatives to Twilio — including FreeSWITCH, Asterisk, Kamailio. You run all of them on your own server.
What is the best open source alternative to Twilio?
FreeSWITCH is one of the most popular (4,950 GitHub stars). The "best" depends on your case — compare the options below.
Do I need a server to replace Twilio?
Yes. You can use a home server (homelab) or a cheap VPS (from ~€4/mo). See the hosting suggestions on this page.