WebRTC stopped working after Chrome upgrade

WebRTC stopped working after Chrome upgrade

MOTION V2

Problem

The WebRTC bar is unable to make/receive any calls

The Asterisk CLI shows the following errors:

ERROR[2300][C-00000016]: res_rtp_asterisk.c:2465 __rtp_recvfrom: DTLS failure occurred on RTP instance '0x7f5064024070' due to reason 'tlsv1 alert protocol version', terminating WARNING[2300][C-00000016]: res_rtp_asterisk.c:4928 ast_rtp_read: RTP Read error: Unspecified. Hanging up.

and the Chrome version is 87.x or higher

Solution

You probably are using an older Asterisk release like 13.1x which is no longer compatible with the Chrome version so you need to upgrade your Asterisk version:

  1. Stop all services

  2. Take a snapshot of your Motion server VERY IMPORTANT

  3. run the following script as root user

    curl --silent --location https://provisioning.xcally.com/files/packages/motion2/patch/ast_recompile | bash
  4. Restart the server

The script will upgrade Asterisk to the latest tested and supported version by XCALLY.

Related articles