---
title: WebRTC Voice Call  Architecture
description: How to enable WebRTC Calls, Click2Call, WebCall from website or mobile app to Genesys Cloud.
---

[![](https://kb.trueengage.com/hubfs/raw_assets/public/Web%20TE%203_0/assets/logoSvg.svg) ![](https://kb.trueengage.com/hubfs/raw_assets/public/Web%20TE%203_0/assets/logoText.svg)](https://kb.trueengage.com/?hsLang=en)

[Home](https://trueengage.com/?hsLang=en) [Docs](https://kb.trueengage.com/genesys-cloud?hsLang=en) [Pricing](https://trueengage.com/genesys-cloud/pricing?hsLang=en)

[Sign In](https://management.trueengage.com/login) [Install from AppFoundry](https://appfoundry.genesys.com/filter/genesyscloud/listing/d3d5011e-668b-411c-bc8d-512e3023b359) [Book a Demo](https://trueengage.com/genesys-cloud/demo?hsLang=en)

![](https://kb.trueengage.com/hubfs/raw_assets/public/Web%20TE%203_0/assets/hamburgerOpen.svg)

![](https://kb.trueengage.com/hubfs/raw_assets/public/Web%20TE%203_0/assets/hamburgerClose.svg)

[Home](https://trueengage.com/?hsLang=en) [Docs](https://kb.trueengage.com/genesys-cloud?hsLang=en) [Pricing](https://trueengage.com/genesys-cloud/pricing?hsLang=en)

[Sign In](https://management.trueengage.com/login) [Install from AppFoundry](https://appfoundry.genesys.com/filter/genesyscloud/listing/d3d5011e-668b-411c-bc8d-512e3023b359) [Book a Demo](https://trueengage.com/genesys-cloud/demo?hsLang=en)

[Skip to content](https://kb.trueengage.com/genesys-cloud/webrtc-voice-call-architecture-0#main-content)

- [Tickets](https://support.trueengage.com/tickets-view)
- [Sign out](https://support.trueengage.com/_hcms/mem/logout)

Open main navigation

Close main navigation

- [Tickets](https://support.trueengage.com/tickets-view)
- [Sign out](https://support.trueengage.com/_hcms/mem/logout)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Knowledge Base](https://kb.trueengage.com/genesys-cloud?hsLang=en)
2. [Architecture & Security](https://kb.trueengage.com/genesys-cloud/architecture-security?hsLang=en)

# WebRTC Voice Call  Architecture

## TrueEngage integrates with Genesys Cloud to facilitate seamless WebRTC calls through a SIP trunk, leveraging Vonage as the WebRTC provider. This integration enables users to initiate voice calls directly from the TrueEngage website widget, kiosk or mobile app deployment.

### [![TrueEngage Webrtc Architecture v2](https://kb.trueengage.com/hs-fs/hubfs/TrueEngage%20Webrtc%20Architecture%20v2.png?width=670&height=368&name=TrueEngage%20Webrtc%20Architecture%20v2.png)](https://kb.trueengage.com/hubfs/TrueEngage%20Webrtc%20Architecture%20v2.png?hsLang=en) How the Integration Works

1. **Visitor Initiates WebRTC Call**: 
     - A website visitor initiates a call from the TrueEngage widget.
     - TrueEngage uses Vonage API to create the WebRTC session
2. **Processing the Call with Vonage**: 
     - The WebRTC call is routed to Vonage, where it is converted into a SIP call.
     - **SIP Trunking**: TrueEngage automatically configures a SIP trunk during installation, which connects Vonage and Genesys Cloud. The call is forwarded to the SIP trunk for further processing.
3. **Inbound Call Routing to Genesys Cloud**: 
     - Genesys Cloud receives the call through the SIP trunk, with routing determined by the DID number assigned to the call.
     - The Genesys Cloud administrator assigns the appropriate **Call Flow** to the DID, ensuring that the call is directed to the right queue or agent.
4. **Call Handling in Genesys Cloud**: 
     - Once the call reaches Genesys Cloud, the assigned Call Flow processes it by either placing the caller in a queue or routing them to a specified agent.
     - The administrator configures Genesys to ensure the correct routing and handling of the call.

### Technical Configuration

- **SIP Trunk Setup**: 
    - The SIP trunk is set up in Genesys Cloud during the installation of the TrueEngage widget.
    - The trunk uses **FQDN routing** provided by Vonage and is configured with TLS on port 5061 for secure communication.
- **DID Configuration**: 
    - The DID numbers are provisioned by TrueEngage and are automatically configured in Genesys Cloud when setting up the widget.
    - Each DID has a specific Call Flow assigned by the Genesys administrator.
- **Call Flow Assignment**: 
    - It's critical for the Genesys administrator to assign the correct Call Flow to each DID number to ensure calls are routed correctly.

### Security & Network Requirements

- **TLS and Media Stream Security**: 
    - SIP communication between Vonage and Genesys Cloud is secured using **TLS** on port 5061.
    - RTP media streams are handled via **Vonage Media Servers**

### Additional Information

For more detailed setup and configuration instructions for your Genesys Cloud and TrueEngage integration, please refer to the relevant documentation:

- [Genesys Cloud SIP Trunk Configuration](https://help.mypurecloud.com/articles/carrier-requirements-byoc-cloud/)
- [Firewall Configuration for Voice](https://kb.trueengage.com/genesys-cloud/firewall-configuration-for-webrtc-calls-end-user-networks-0?hsLang=en)

 

- [Getting Started](https://kb.trueengage.com/genesys-cloud/getting-started?hsLang=en)
- [Installation & Setup](https://kb.trueengage.com/genesys-cloud/installation-setup?hsLang=en)
- [User Guide](https://kb.trueengage.com/genesys-cloud/user-guide?hsLang=en#main-content)

    - [Contact Channels](https://kb.trueengage.com/genesys-cloud/user-guide?hsLang=en#contact-channels)
- [Features](https://kb.trueengage.com/genesys-cloud/features?hsLang=en)
- [FAQs](https://kb.trueengage.com/genesys-cloud/faqs?hsLang=en)
- [Troubleshooting](https://kb.trueengage.com/genesys-cloud/troubleshooting?hsLang=en)
- [Administration & Billing](https://kb.trueengage.com/genesys-cloud/administration-billing?hsLang=en)
- [Integrations & API's](https://kb.trueengage.com/genesys-cloud/integrations-apis?hsLang=en)
- [Architecture & Security](https://kb.trueengage.com/genesys-cloud/architecture-security?hsLang=en)
- [Legal](https://kb.trueengage.com/genesys-cloud/legal?hsLang=en)
- [Interaction Routing & Availability](https://kb.trueengage.com/genesys-cloud/interaction-routing-availability?hsLang=en)

[![logo (3) copy](https://kb.trueengage.com/hs-fs/hubfs/logo%20(3)%20copy.png?width=440&height=36&name=logo%20(3)%20copy.png "logo (3) copy")](https://www.trueengage.com?hsLang=en)

<https://www.facebook.com/> <https://www.twitter.com/> <https://www.instagram.com/> <https://podcasts.apple.com/> [mailto:email@email.com](mailto:email@email.com)