Configuring Webrtc - AudioCodes Mediant 800B User Manual

Gateway & e-sbc
Hide thumbs Also See for Mediant 800B:
Table of Contents

Advertisement

6caf83af9b00>";expires=600
Allow: ACK,CANCEL,BYE,OPTIONS,INVITE,MESSAGE
Supported: path, outbound, gruu
User-Agent: JsSIP 0.3.7
Content-Length: 0
To keep a WebSocket session alive, it is sometimes necessary to send regular messages
to indicate that the channel is still being used. Some servers, browsers or proxies may
close an idle connection. The Ping-Pong WebSocket messages are designed to send non-
application level traffic that prevents the channel from being prematurely closed. You can
configure
how
WebSocketProtocolKeepAlivePeriod parameter (see 'Configuring WebRTC' on page 720).
The device always replies to ping control messages with a pong message.
Note:
When the device operates in High-Availability (HA) mode, if a WebSocket
connection has been established and a switchover subsequently occurs, the
WebSocket session is not copied to the redundant device. As Chrome does not
renew the WebSocket connection with the device, WebRTC calls remain open
indefinitely; the Chrome side will stop the call, but the device will keep all of the call's
resources open and the other side will have an active call with no voice. To prevent
this, for the IP Profile associated with the WebRTC clients, configure the ' Broken
Connection Mode' parameter to Disconnect.

37.4.2 Configuring WebRTC

To support WebRTC, you need to perform special configuration settings for the device's
SBC leg interfacing with the WebRTC client (i.e., Web browser), as described in the
following procedure.
For the WebRTC deployment environment, you need to install a signed certificate by a
Certificate Authority (CA) on you Web server machine (hosting the WebRTC JavaScript)
and on your AudioCodes SBC device (i.e., WebSocket server).
Note:
Google announced a security policy change that impacts new versions of the
Chrome Web browser. Any Web site that has integrated WebRTC, geolocation
technology, screen-sharing and more, now requires to be served from a secure
(HTTPS) site, including WebRTC-based WebSocket servers (WSS instead of
WS). The configuration described below accommodates for this basic
requirement.
WebRTC JavaScript configuration is beyond the scope of this document.
To configure WebRTC:
1.
Configure a TLS Context (certification):
a.
Open the TLS Contexts table (see 'Configuring TLS Certificate Contexts' on page
103).
b.
Add a new TLS Context (e.g., "WebRTC") or edit an existing one.
c.
Create a certificate signing request (CSR) to request a digitally signed certificate
from a Certification Authority (CA).
d.
Send the CSR to the CA for signing.
e.
When you have received the signed certificate, install it on the device as the
"Device Certificate" and install the CA's root certificate into the device's trusted
root store ("Trusted Certificates").
User's Manual
often
the
device
pings
720
Mediant 800B Gateway & E-SBC
the
WebSocket
client,
Document #: LTRT-10298
using
the

Advertisement

Table of Contents
loading

Table of Contents