added in version 2016.04
XiVO comes with a WebRTC lines support, you can use in with XiVO UC Assistant and Desktop Assistant. Before starting, please check the WebRTC Environment.
Current WebRTC implementation requires following configuration steps:
Configuration of XiVO PBX for WebRTC¶
Security warning: when enabling WebRTC you need to ensure that you do it securely:
- by securing the access to the ARI,
- and by securing (e.g. via an external firewall) the access to the asterisk HTTP server (which listens on port 5039).
First, secure ARI connection (this step is very important otherwise your XiVO PBX won’t be secure) :
Generate a password (e.g. with
pwgen -s 16)
password = Nasheow8Eag
password = <YOUR_GENERATED_PASSWORD>
Then, open asterisk HTTP server to accept outside websocket connections:
By default, asterisk HTTP server has a limit of 100 websocket connections. You can change this limit in the
Restart XiVO PBX services to apply the new settings:
Configuration of user with WebRTC line¶
- Create user
- Add line to user without any device
- Edit the line created and, in the Advanced tab, add webrtc=yes options:
When the user is not connected to its WebRTC line, or disconnect from the assistant, you can route the call to a default number as for example the user mobile number. Update the fail option on the No Answer user tab configuration, and add an extension to the appropriate context.
Experimental video call feature¶
Since 2018.02 as an experimental feature, susceptible to change or removal at any moment.
Since this feature is experimental, it is disabled by default. Video calls are enabled by setting the environment
true in the
Then you need to recreate the xucmgt container with
xivocc-dcomp up -d xucmgt.
WebRTC users are automatically configured with VP8 video codec to allow video calls, you must disable all other video
codecs. Please avoid any specific codec configuration for WebRTC peers and be sure to remote all video codecs from
SIP General settings, tab
Codecs. Either do not customize codecs, either do not
select any video codecs.