Open Source WebRTC Softphones: The Developer Advantage
Last reviewed: 12 November 2026. Facts checked against current RFCs and official documentation.
Open-source software has shaped business telephony for decades. Asterisk (GPL) and FreeSWITCH (MPL) run a large share of the world’s PBXs. The same is now true in the browser: there are mature open-source WebRTC softphones and SIP libraries that developers can build on, instead of licensing a proprietary web phone. This article explains what they are, what they offer, and what they ask of you in return.
What is an open-source WebRTC softphone?
A WebRTC softphone is a phone that runs in a web browser. It uses WebRTC for the audio, video and encryption, and usually SIP over a secure WebSocket to talk to a PBX. When it is open source, you can read, change and redistribute the code under its licence, which means you can:
- adapt it to a particular business or product;
- connect it to your own PBX or SIP platform;
- add features such as chat, presence, video or CRM integration.
The main building blocks are:
- JavaScript SIP libraries: SIP.js and JsSIP, both under the MIT licence, handle SIP signalling in the browser and leave the user interface to you. Web-Phone.org compares SIP.js and JsSIP.
- Complete browser phones: Browser Phone, written by Conrad De Wet and released under the AGPL-3.0 licence, is a full web phone with a user interface that registers to Asterisk or another SIP server. Browser-Phone.org compares JsSIP, SIP.js and Browser-Phone.
Native libraries such as PJSIP are open source too, but they are for building installed apps, not browser phones.
Why developers choose open source
- Control: you are not tied to a vendor’s roadmap, and you can change the behaviour when your product needs it.
- Cost: there is no per-seat licence for the software itself, which makes experiments and small deployments cheap.
- Transparency: you can inspect exactly how credentials, media and signalling are handled, which matters for security reviews.
- Standards-based: WebRTC is a W3C and IETF standard implemented in every major browser, so code built on it is not tied to one company’s platform.
The licence matters
Open-source licences differ, and the difference matters if you build a product on them. MIT-licensed libraries such as SIP.js and JsSIP can be used in proprietary software with few conditions. The AGPL-3.0 requires you to make your modified source code available to users who interact with it over a network, so read the licence before you build a commercial service on an AGPL project.
Open source vs proprietary softphones
- Proprietary softphones come ready to use, with support contracts and finished interfaces, but you depend on the vendor for features, pricing and continuity.
- Open-source WebRTC softphones give you flexibility and transparency, but someone on your team must deploy, secure, update and support them.
That trade-off is why many teams start from an open-source project and add their own interface and support on top, while others pay for a hosted service so that they do not have to run it themselves.
What you still have to provide
An open-source browser phone is only one part of a working system. You will also need:
- a PBX or SIP server that accepts SIP over secure WebSockets and DTLS-SRTP media, or a gateway in front of it (see how to integrate WebRTC with Asterisk using a SIP proxy);
- a valid TLS certificate for the WebSocket address;
- STUN and TURN servers for users behind restrictive firewalls;
- a plan for mobile users, because a browser tab cannot reliably receive calls in the background on a phone.
Where this is heading
Browser calling is now a normal part of business telephony, and the open-source options are mature enough to build serious products on. For developers who want control over how their web phone works, open source is a sound foundation, provided they plan for the licence, the infrastructure and the support. For a practical comparison with installed apps, see WebRTC softphone vs traditional softphone, and for connecting a browser phone to Asterisk, see WebRTC Asterisk integration.
Updated 12 November 2026: replaced PJSIP (a native library) with browser examples, added SIP.js and Browser Phone with their licences, explained the practical difference between MIT and AGPL-3.0, and added the infrastructure a browser phone still needs.
Related: Browser Phone, the open-source WebRTC phone for Asterisk, Open Source Communications Security: Balancing Accessibility and Protection.