WebRTC Device (Zenitel Connect Pro)
From Zenitel Wiki
Introduction
With WebRTC you can use a browser as a SIP client. It can register with the Zenitel Connect Pro server, make/receive calls, and stream audio/video. WebRTC is supported as from ZCP version 1.7.0 or newer.
Configuration
To create a WebRTC client account in Zenitel Connect Pro (ZCP), navigate to Devices and Connections -> Configuration, and select the icon to add a new device.
Enter as a minimum:
- Directory Number: The extension number
- Name: The Caller ID (any text)
- Device Type: WebRTC
Save by pressing the icon to the right.
The ZCP will automatically generate a SIP Account Password which you will need when configuring the WebRTC client. The "SIP Account Password" column is not shown by default. Click on the icon
in the top right corner to add this column.
| Adding a WebRTC Client account |
Testing WebRTC
The WebRTC can be tested by using sipML5. This is an open-source JavaScript library that allows WebRTC-enabled browsers to communicate using the SIP protocol. sipML5 works with Chrome. It does not work with Firefox.
Install certificate:
A certificate must be installed in order to establish a secure connection. In the ZCP web interface, navigate to System > Certificates and download the ZCP autogenerated internal CA certificate. To import the certificate into Google Chrome, you’ll need to add it to your operating system’s certificate store — Chrome uses the system store for trusted certificates.
If you can access the ZCP Web interface using HTTPS (enter https://<IP adress of ZCP> in the address field of the browser), the certificate should be OK.
Example setup:
Example setup for a WebRTC account in sipML5 using Directory Number “156”, connected to ZCP with IP address 10.9.8.229.
| Configuring a WebRTC Client account |
- Password is the SIP Account Password from ZCP.
- In Expert Settings fill in “Websocket Server URL” and “ICE Servers”. Note the "[]" in ICE Servers. Without it, calling does not work.
Test call:
From the Call control panel one can make, answer and terminate audio and audio/video calls. When opening the keypad one can send DTMF signals, e.g. digit "6" for Door Opening.
One can also initiate live broadcast to groups of devices. However, the WebRTC client cannot receive audio from such broadcasts.
| Test call |
