How To Configure WebRTC

How To Configure WebRTC

Required Packages

scopserv-telephony25-7.87.0.0.20260112
scopserv-server-7.10.0.0.20251211


Pre-requisites

Asterisk must be configured to use the pjsip channel driver.
The transport on each extension must use Automatic

Encryption must be enabled using TLS (Let's Encrypt is supported).
See:

Asterisk must be running in pjsip mode
See:


Optional

If you have not already configured support for TLS encryption using Certificates and the Certificate Manager you can configure Let's Encrypt very quickly using bash.
Code:

service scopserv stop


php -q /var/www/scopserv/server/scripts/letsencrypt.php

/var/www/scopserv/telephony/scripts/commit

service scopserv start


Installing Asterisk 20

scopserv_yum install asterisk20 -y
/var/www/scopserv/telephony/scripts/commit
service asterisk restart
service scopserv_fastagi restart


Installing the CODEC's (open source versions)

Execute the installation scripts:
/var/www/scopserv/telephony25/scripts/install_g729.sh
=================================================================
G.729 and G.723.1 codecs (x86_64) Linux binaries for Asterisk

DISCLAIMER: You might have to pay royalty fees to the G.729/723.1
patent holders for using their algorithm.
=================================================================

[Press ENTER to continue or CTRL-C to cancel]


Asterisk 18
------------
Downloading codec_g729.so...

Downloading codec_g723.so...

Asterisk 20
------------
Downloading codec_g729.so...
Downloading codec_g723.so...

Restart Asterisk to enable G.729 and G.723.1 codecs!


/var/www/scopserv/telephony25/scripts/install_opus.sh
=================================================================
Opus codec (x86_64) Linux binaries for Asterisk
=================================================================

[Press ENTER to continue or CTRL-C to cancel]


Asterisk 18
------------
Downloading...
Installing...

Asterisk 20
------------
Downloading...
Installing...

Restart Asterisk to enable Opus codecs!

service asterisk restart


Configure the SIP channel to support STUN

In this example stun.l.google.com:19302



Configure the Extensions

These are the mandatory settings per extension.
Each User Agent negotiates its own transport based on its configuration!
This applies to all Shared Devices. They must each negotiate their own transport.
This ensures Shared Device connectivity and operation per User Agent.





Commit your changes

Ensure each Extension is configured as needed and Commit your telephony changes.



    • Related Articles

    • PJSIP Configuration

      ScopTEL version pre-requisites for chan_pjsip support Fully supported version scopserv-telephony25-7.87.0.0.20260112 New Features and Caveats of chan_pjsip Feature: Shared Device improvements no longer require pseudo username suffixes thanks to ...
    • Product Bulletin: ScopServ releases chan_pjsip to replace deprecated chan_sip

      Product Bulletin: ScopServ releases chan_pjsip to replace deprecated chan_sip As per Sangoma's official product announcement chan_sip is officially deprecated. ScopServ's officially supported release of Asterisk is 18.x so this effects all ScopTEL ...
    • SCOPCOMM Admin Guide

      Introduction SCOPCOMM is a softphone and WebRTC solution offered by SCOPSERV International. This guide explains how to enable SCOPCOMM on SCOPTEL and issue provisioning data for user devices. SCOPTEL offers the following SCOPCOMM clients: SCOPCOMM ...
    • SCOPCOMM End User Guide

      SCOPCOMM is SCOPTEL’s softphone solution. It comes in three flavours: softphone: a software installed on your smartphone desktop: a software installed on your desktop computer WebRTC: an online webportal accessed through a web browser or a desktop ...
    • New Feature: Out of Office Feature

      Summary Using the ScopSERV Web User Portal you have the option to define Out of Office routing. A schedule must be created to set the Out of Office start and stop times. The User Portal Application or the Feature Code for Out of Office may be used to ...