VitalPBX has built-in support for WebRTC clients. Follow the official VitalPBX article Configuring VitalPBX for WebRTC clients for the screens of your version. In short:
Steps
- Install a valid certificate for the hostname of your VitalPBX server (Let's Encrypt is supported in VitalPBX).
- Make sure the secure websocket is enabled and that TCP port
8089is allowed in the VitalPBX firewall and forwarded to the server. - Enable WebRTC on the extension's device — use a WebRTC-capable technology profile so that AVPF, ICE, rtcp-mux and DTLS-SRTP are enabled.
- Behind NAT? Configure the external address, local networks and a STUN server, and open the RTP port range.
- Add the server in the management portal — hostname, port
8089and path/ws. See Configure server settings.