FreePBX WebRTC: Browser Calling with the UCP Phone
Last reviewed: 17 November 2026. Facts checked against current RFCs and official documentation.
FreePBX is the web-based management interface that many businesses use to run an Asterisk phone system. It can also put a phone in the browser: the FreePBX WebRTC Phone module adds a softphone to the User Control Panel (UCP), so a member of staff can make and take calls from Chrome, Firefox, Edge or Safari without installing anything. This article explains what that module does, what has to be in place before it works, and where it runs out.
If WebRTC is new to you, Google’s introduction to WebRTC explains the browser side, and our article on WebRTC and Asterisk integration covers the Asterisk side that FreePBX sits on.
What the FreePBX WebRTC Phone module does
According to its source repository, the module lets an administrator attach a “WebRTC phone” to a user’s extension. The user opens it in the UCP, and it rings at the same time as the user’s desk phone or softphone on that extension. Sangoma’s WebRTC Phone-UCP documentation walks through switching it on per user; the user must also be allowed to log in to the UCP, and the browser will ask for permission to use the microphone.
Sangoma’s documentation notes that it was written and tested on the FreePBX Distro and that the module is not supported on other installations. That does not mean it will not work elsewhere, only that you are on your own if it does not.
What has to be in place first
- A certificate the browser trusts. Browsers only give a web page access to the microphone over HTTPS, and the secure WebSocket (WSS) connection to Asterisk needs a valid certificate as well. A self-signed certificate means every user has to accept a browser warning first, which is fragile. FreePBX’s Certificate Management module can request a free certificate from Let’s Encrypt; the PBX needs a public host name for that to work.
- NAT traversal. If staff connect from home or from mobile networks, configure a STUN server, and plan for a TURN server such as coturn for networks that block direct media. Without it, the most common symptom is a call that connects with no audio in one direction.
- Codecs that both sides share. Every WebRTC browser must support Opus and G.711 (RFC 7874). If your SIP trunk uses G.711, allowing ulaw or alaw on the WebRTC phone avoids transcoding; if you want Opus end to end inside the PBX, Asterisk needs an Opus codec module to transcode.
- Encryption is not optional. WebRTC media is always encrypted with DTLS-SRTP (RFC 8827), so the extension must be set up for it. That encryption runs between the browser and the PBX; it is not end-to-end encryption between the two callers.
Our guides to TURN servers for reliable WebRTC calls and fixing one-way audio on WebRTC calls go into the network side in more detail.
Where the UCP phone fits, and where it does not
- Good fit: office or call-centre staff who already log in to the UCP and want an extra way to answer their extension from a laptop.
- Weaker fit: mobile users. A browser tab cannot be relied on to ring when a phone is locked or the browser is in the background, so a phone that must ring on a mobile device normally needs a native app with push notifications.
- Admin overhead: certificates have to be renewed, and TURN has to be run and monitored. Neither is difficult, but both are needed before users get reliable calls.
Other ways to put a FreePBX extension in a browser
Native SIP softphones such as Linphone, Zoiper and MicroSIP connect to FreePBX over ordinary SIP. They are installed applications, not browser clients, and do not use WebRTC to talk to the PBX, so they avoid most of the certificate and WebSocket set-up described above.
If you want a browser phone other than the UCP phone, two options from our own network are worth knowing about. Browser Phone is an open-source (AGPL-3.0) WebRTC SIP phone written by Conrad de Wet for Asterisk-based systems; the project site at browser-phone.org has set-up guides. Siperb is a hosted, proprietary service from the same team: it connects to an existing PBX such as FreePBX through its own proxy, as described in the Siperb article on WebRTC to SIP proxying, so the PBX itself does not need WebRTC configured.
Disclosure: SoftPage is published by the team behind Siperb and Browser Phone.
Corrected 17 November 2026: the earlier version described Linphone, Zoiper and MicroSIP as browser-based WebRTC clients (they are native SIP softphones), linked a general Chrome blog page as WebRTC documentation, said browsers reject self-signed certificates outright, and predicted that FreePBX WebRTC would “become the standard” without evidence. Module details now follow the FreePBX source repository and Sangoma documentation.
Related: The Evolution of Softphones: From 1995 to the Browser, WebRTC in the Cloud: Asterisk and Browser Phone on AWS.