DINSTAR SBC as a WebRTC gateway 2022-12-23

VoIP knowledge

What the DINSTAR SBC can do in your WebRTC applications

  • In recent years, there has been a trend toward enterprise communications with WebRTC support. By integrating WebRTC, the company can extend the flexibility of IP communication. The IPPBX system can use the SBC as a gateway so that your unified communications system can easily accelerate with WebRTC. Dinstar SBC offers a perfect solution for the IPPBX system or the unified communications system. We present the combination of SBC and WebRTC.
    About WebRTC
    WebRTC stands for Web Real‑Time Communication. It provides a JavaScript API for web developers to create real‑time audio and video dialogs based on browsers, including audio and video capture, encoding and decoding, network transmission, exposure, and other functions. It helps developers easily create web applications with real‑time audio and video transmission features using peer‑to‑peer communication, usable on platforms such as Windows, Mac, Linux, Android, and iOS.
    Signaling control protocol used by WebRTC
    Signaling is a mechanism that establishes communication protocols and channels by exchanging messages between clients. WebRTC communication is not required to conform to standard requirements for the type of signaling protocol used. Common WebRTC signaling control protocols include: SIP over WebSocket, XMPP/Jingle, data channel, etc. The strength is that signaling and media in WebRTC communication are always encrypted to ensure data security. The data stream is encrypted using Datagram Transport Layer Security (DTLS), and the media stream is encrypted using Secure Real‑Time Transport Protocol (SRTP).
    Classic triangular WebRTC topology example illustrated in the diagram below
    webRTC-1.png
    Basic WebRTC communication process described in the flow diagram below
    RTC_ 2.png webRTC-3.png
  • Why WebRTC
    Easy to use
    Directly access multimedia devices via the web browser, API interface directly accessing network resources, users do not need to install other plugins.
    Good compatibility:
    Developers can create various WebRTC‑based applications via browsers supporting WebRTC, without terminal and operating system compatibility issues. Additionally, WebRTC provides a standard API (W3C) and its standard protocol (IETF) to avoid platform compatibility problems.
    High security :
    Signalling, voice and video are encrypted in WebRTC communication to ensure communication security.
    \nAdvanced audio and video processing:\\n
    WebRTC supports the latest codecs such as OPUS for audio, H.264, VP8 for video, providing better voice or video quality and a good call experience for users.
    Reliable transmission capacity :
    WebRTC provides a reliable transmission mode ensuring stability even in NAT environments.
    Multimedia stream processing :
    WebRTC offers powerful multimedia capabilities including support for audio and video conferencing, file transfer, screen sharing, identity management, and interfacing with legacy telephone systems.
    Protocol conversion:
    A WebRTC gateway allows you to connect WebRTC technology and VoIP such as the enterprise UC communication system, SIP terminals, SIP gateways.
    Sustainability :
    WebRTC is widely used in recent technologies such as unified communications, intelligent AI call centers.
    Typical WebRTC applications
      • Web audio/video conferencing • Unified Communications • Enterprise communication / IP PBX / Call center
      • Dispatch supervision / Public broadcasting • Remote medical treatment / home care • Online customer service / Online support
      • Online training • Live Streaming • Smart Home
    Challenges of operating WebRTC technology
    How to ensure WebRTC user security and the main application server security?
    Web users come from anywhere, can use any type of terminal to access the application server via any type of network, user information can be easily monitored and intercepted, creating significant security threats for users. Threats also exist for the main application server.
    How can WebRTC communicate with the SIP protocol?
    One of the main issues with WebRTC is how browsers (HTML5 WebRTC using WebSocket and DTLS for secure media) seamlessly connect to the standard SIP protocol (simple SIP and RTP) which are handled by common VoIP servers such as Asterisk, OpenSIPS.
    Solution: Dinstar SBC Session Controller performs full conversion between the WebRTC protocol and the SIP protocol
    The Dinstar SBC acts as a WebRTC2SIP gateway and WebRTC‑SIP proxy, enabling web browsers to interact (make and receive voice calls) with any SIP network with full protocol conversion from WebRTC to SIP and vice versa, including both signaling and media streams.
    The DINSTAR SBC performs signaling and media session conversion for web users. It supports conversion of HTTP, XMPP, WebSocket signaling to SIP and SRTP to RTP media conversion, as well as transcoding between various codecs such as Opus, G.711, G.729, etc., helping to maximize call quality and success rates, and improve user experience. Additionally, the SBC provides signaling and media firewall services to ensure secure web user access, reducing security risks in communications.
    Benefits of Using the DINSTAR SBC
    A WebRTC gateway
    WebRTC to SIP conversion without additional hardware.
    Mature technology:
    Based on the widely used SIP over WebSocket and a mature SIP signaling architecture.
    Codec vocal Opus :
    No need for transcoding between different WebRTC terminals.
    High‑quality communication:
    Flexible QoS routing, voice quality.
    High availability:
    Hardware redundancy 1+1 optional.
    High security :
    Various security strategies and anti‑attack technologies to ensure security. Click here to learn more about how the SBC ensures security
    RTC_ 3.png
    DINSTAR SBC in typical WebRTC applications
    Use case 1: Enterprise
    For enterprise IP telephony systems, the DINSTAR SBC provides an anti‑attack service to ensure the stability of the telephone system, and also serves as a WebRTC gateway. With WebRTC clients, users can make calls and conferences to the headquarters very simply. Mobile users can also register on the headquarters IP PBX, make calls to clients via the enterprise telephony system. WebRTC uses DTLS and SRTP encryption to ensure user information security.
    RTC_ 4.png
    Use case 2: Call Center / Contact Center
    The Dinstar SBC helps quickly deploy a WebRTC call center. Agents can dial and answer calls directly via the web browser, without a physical phone or wiring. It is simple and easy to use, offering greater efficiency, high voice quality and better experiences. Additionally, it is compatible with SIP/PSTN networks.
    RTC_ 5.png
    Use case 3: Click‑to‑Call WebRTC
    With WebRTC technology, the Dinstar SBC can help you create an online customer service center. For example, a customer service website offers a one‑click call function based on WebRTC, and company agents use SIP terminals such as IP phones, ATAs, etc. To call the service center directly via the browser, the Dinstar SBC performs protocol conversion between WebRTC and SIP. Users simply click the call button on the website and enjoy the call to the customer service center (agents use SIP phones, analog phones, etc.)
    RTC_ 6.png
    Use case 4: WebRTC integrated with e‑mail
    With WebRTC technology and the Dinstar SBC, you have another way to initiate a call to the call center, namely via e‑mail. The idea is to send an e‑mail to a specific address and use the e‑mail signature to provide a callback link. The e‑mail recipient can click the link to call the call center. The advantage is that the e‑mail sender does not need to provide their phone number, while the recipient can easily call the sender by simply clicking the callback link.
    RTC_ 7.png
    Use case 5 : Unattended parking / Tourist zone / Elevator emergency / Intercom
    As smart cities come closer to us day by day, WebRTC technology is increasingly developing applications such as unmonitored parking, tourist areas, elevators and other places. The intelligent SIP terminal can be used for remote monitoring, emergency calls, etc. The remote customer service center can generally monitor the on‑site status remotely, and when there are problems or accidents on site, the intelligent terminals (video intercom and surveillance camera) can call the remote customer service center by simply and quickly pressing the terminal's call button. At that moment, the customer service staff can communicate directly with the on‑site person via a PC browser (WebRTC audio and video technology) to manage and resolve issues, provide help or information to the on‑site person, in a more convenient and efficient manner.
    RTC_ 8.png