LogoLogo
  • 👋START HERE
    • Welcome!
  • ℹ️General
    • Release Notes
      • Full Feature Base Template
      • Services
      • Rule-based Automation
        • May 2025
        • February 2025
        • January 2025
        • December 2024
        • November 2024
        • October 2024
        • September 2024
        • August 2024
        • July 2024
        • June 2024
        • May 2024
        • April 2024
        • March 2024
        • February 2024
        • January 2024
        • 2023
        • 2022
        • 2021
        • Dialog Design Update
    • Glossary of Terms
    • Authentication Methods
      • SSO (Single Sign-On)
      • Built-In User Management
    • Acceptable Use Policy
  • ⚙️Rule-based Automation
    • Overview
      • Account Settings
        • Profile
        • Team
        • Roles and Permissions
          • User Management
          • Project Permissions
      • Basic Concepts
        • Project Management
        • Version Management
        • Multi-Lingual Bots
          • Supported Languages
        • Managing User Interactions
          • Unexpected User Input
          • No User Input
    • Dialog Interface
      • Blocks
        • Conversation Logic
          • Start Conversation
          • Global
          • State
          • Intermediate Response
          • To Previous State
          • End Conversation
        • Subdialog
          • Reusable Subdialogs
        • Phone
          • Continue Listening
          • Call Control
        • Technical Logic
          • Service
          • Condition
          • Storage
        • Other
          • Note
      • Speech Assets
        • Intents
          • Utterances
          • Descriptions
        • Slots
          • Custom Slots
            • List Slots
            • Machine Learning Slots
            • Regex Slots
            • LLM Slots
          • Prebuilt Slots
            • DTMF Slot
        • Text Snippets
        • Dictionary
      • Variables
        • Intents
        • Slots
        • Storage
        • Text Snippets
        • Environments
        • Platform
        • Context
      • Services
        • Service Integration Guide
        • Service Development
        • Service Branches and Error Handling
        • Public Services
          • Date and Birthdate Recognition
          • Spelling Post-Processing for Phone
          • IBAN Validation
          • License Plate Validation
          • Address Search
          • Street Names per Postal Code
          • Email Service
          • SMS Service
          • API Adapter
          • Salesforce-Flow Connector
          • Opening Hours
          • Speech-to-Text Hints
          • Fuzzy Match Names
          • Delay Service
      • Debugger
        • Phone 2
        • WhatsApp
        • Textchat 2
    • Environments Interface
      • Service Keys
    • Deployments Interface
      • Creating a Release
      • Editing a Release
    • Text-to-Speech
      • Azure
      • ElevenLabs
      • OpenAI via Azure (Preview)
      • SSML
        • Audio
        • Break
        • Emphasis
        • Prosody
        • Say-as
        • Substitute
        • Paragraph and Sentence
        • Voice
    • Autocomplete
    • Parloa APIs
      • CallData Service and API
      • Conversation History API
      • Textchat V2 API
    • Phone Integrations
      • Genesys Cloud
        • Setting up the SIP Trunk
        • Sending/Receiving UUI Data
        • Creating a Script to Display UUI
      • SIP
      • Tenios
        • Setting Up an Inbound Connection
        • Setting Up an Outbound Connection
        • Transferring a Call
      • Twilio
      • Public IPs and Port Information
    • AI Integration Overview
      • Dual Intent Recognizer (DIR)
      • Dual Tone Multifrequency (DTMF) Intent
    • Analytics and Debugging
      • Understanding Conversations and Transactions
      • Managing Caller ID Data
      • Hangup Events and Triggered Analytics
      • Analytics Transactions: Data Structure and Insights
      • Dialog Analytics
      • Audit Logs
      • Parloa-hosted Analytics
    • Data Privacy
      • Anonymizing Personally Identifiable Information
    • NLU Training
      • NLU Training Best Practices
    • How To
      • Create a Scalable and Maintainable Bot Architecture
      • Implement OnError Loop Handling
      • Resolve the 'Service Unavailable' Error
    • Reference
      • Parloa Keyboard Shortcuts
      • Frequently Asked Questions (FAQ)
      • JavaScript Cheat Sheet
        • Using Regular Expressions (Regex)
  • 🧠Knowledge Skill
    • Introduction
    • Knowledge Collections
    • Knowledge Sources
    • Knowledge Skill Setup
      • Step 1 – Create a Knowledge Skill Agent
      • Step 2 – Configure a Knowledge Skill Agent
      • Step 3 – Configure a Knowledge Skill Agent
Powered by GitBook
On this page
  • Preparing Configuration on Parloa’s Side
  • Preparing Configuration on Genesys’ Portal
  • Setting up the trunk
  • Configuring the Call Flow
  • Setting up the DIDs
  • Transferring Calls from Parloa Back to Genesys

Was this helpful?

Export as PDF
  1. Rule-based Automation
  2. Phone Integrations
  3. Genesys Cloud

Setting up the SIP Trunk

PreviousGenesys CloudNextSending/Receiving UUI Data

Last updated 8 months ago

Was this helpful?

Preparing Configuration on Parloa’s Side

Both Genesys and Parloa have support for Digest authentication; however, to keep a lower level of complexity, IP authentication is used in this guide. When creating the release in Parloa, follow the configuration below:

  1. Platform: Select Phone 2

  2. Platform Settings: Choose Peering / Inbound registration for SIP Trunk connection.

  3. Select Whitelisted IPs for Authentication, and enter Genesys region IPs. For eu-central-1, these are 18.197.177.95, 52.28.196.118, 18.197.58.44, and 18.184.11.49 at the time of this writing. You may refer for the latest IP addresses and for other regions.

  4. Use SIP URI as username@[subdomain].voip.parloa.com for bot availability.

The settings dialog should look similar to the image below:

Preparing Configuration on Genesys’ Portal

Setting up the trunk

Below is a step-by-step guide to complete the setup in a blank Genesys account. If one or more steps are completed, you can freely jump to the next one.

Create Location and Site

  1. In Admin → Locations, create a location with the site's physical address.

  2. Set the address as available for sites.

  3. Create a site in Admin → Telephony → Sites, selecting the media model as Cloud.

Creating a SIP Trunk for Genesys Cloud

  1. Go to Admin → Telephony → Trunks → External Trunks.

  2. Select Generic BYOC Carrier as the Type.

  3. Set the trunk to "In-Service" and provide it with a descriptive name.

  4. Choose the desired transport protocol. (TLS is highly recommended!)

  5. In the Inbound / Termination section, enter a descriptive value for the Termination Identifier. Leave the Termination Header blank as initial calls from Parloa to Genesys are not expected in this setup.

  6. In the Outbound section, you have two options for configuring the DID with Parloa:

    • Option 1 – Configure an Outbound SIP DNIS. This will overwrite all SIP invites to Parloa with a specific SIP URI. This setup requires one SIP trunk per Parloa bot.

    • Option 2 – Do not configure an Outbound SIP DNIS. This allows one trunk towards Parloa to operate effectively, where the DNIS will be dynamically replaced with the virtual DID. This configuration is suitable for using the same trunk with multiple Parloa bots.

  7. Set the Parloa proxy address in the SIP Servers or Proxies field. Use the address provided in the Parloa configuration from the previous steps: [subdomain].voip.parloa.com. The port can be left blank as Genesys will automatically use the correct port based on the Transport type.

  8. Do not enable Digest as it is not used in this setup.

  9. In SIP Access Control, define the IPs of hosts that should be allowed to contact Genesys. For example, add the IP of Parloa's proxy, such as 20.107.52.237.

  10. Enable "Take Back and Transfer" to instruct Genesys to accept and process SIP REFER messages.

  11. Generally, leave the settings in the External Trunk Configuration unchanged, except for the Protocol subsection.

  12. Navigate back to Admin → Telephony → Sites.

  13. Depending on the complexity of your existing configurations, you might need to consider creating a separate numbering plan for the virtual numbers that will be used. If necessary, follow these steps:

    1. Create a specific numbering plan for the virtual numbers.

    2. Set up a specific outbound route for this classification to route calls to the trunk.

  14. However, if the default plans and classifications suffice for your setup, you can streamline the process:

    • Simply assign the newly created external trunk to the outbound route.

    • This configuration will enable incoming calls to be routed correctly both internally in Genesys and to the external trunk.

Configuring the Call Flow

  1. In the Architect module, create a flow dedicated to handling Inbound calls. Keep this flow as simple as possible, with the sole purpose of sending calls to the trunk.

  2. Within this flow, access the Main Menu and perform the following actions:

    • Remove the Disconnect component.

    • Add a Transfer to Number component.

  3. In the DTMF (Dual-Tone Multi-Frequency) menu, select # (though this choice isn't critical).

  4. Check the box labeled "DTMF goes to this menu choice from any menu."

  5. Set a virtual E164 number in the Number field. Note that this number will be present in the SIP To header but will might overridden by trunk configuration, depending on your Outbound SIP DNIS settings

  6. To enhance the user experience and reduce connection time, set Pre-Transfer Audio to a brief 100ms of blank audio.

  7. Customize the Failed-Transfer message to be more descriptive, as it serves as an indicator of a failed transfer. You can use basic Text-to-Speech (TTS) like "Connection Failed." Other options in this section can remain unchanged.

  1. In the Main Menu section, you can further optimize the call flow for quicker connection:

    1. Set both the "Initial Greeting" and "Menu Prompt" to 100ms of blank audio, as mentioned above.

    2. Choose Transfer to Number as the default choice.

  2. After making these adjustments, remember to Save and Publish the changes. These modifications will take effect the next time a call is routed through this specific route.

  3. In Routing → Call Routing, create a new Regular Route that directs all incoming calls to the Call Flow you've just configured above.

Setting up the DIDs

To allow external calls to flow into the portal, you must have at least one valid DID (Direct Inward Dialing) available. This DID can either be purchased through Genesys or routed into the portal through another BYOC (Bring Your Own Carrier) carrier.

  1. Navigate to Admin → Telephony → DID Numbers.

  2. In this menu, you have the option to assign DIDs to various entities, including a person, a phone, or a call flow.

  3. To set up DIDs for your specific scenario:

    1. Assign the DID to a Call Flow.

    2. From the drop-down menu, select the Route to which this Call Flow application was attached.

Transferring Calls from Parloa Back to Genesys

In scenarios where a customer needs to transition from interacting with a bot to speaking with a human agent:

  1. Ensure you have completed Step 5 in Section 3.1 of your setup.

  2. Inside the flow for the respective bot in Parloa’s portal, insert a Call Control block.

  3. Configure this Call Control block to initiate a REFER to the configured SIP URI. While the domain part of the URI is not critical because Genesys only reads the number part, it's advisable to set it to something like:

    sip:+xxxxxxxxxxx@[Termination Identifier].byoc.mypurecloud.de
    • Replace xxxxxxxxxxx with the virtual DID configured in Genesys, which should be routed to an inbound flow.

    • Termination Identifier should match the name set for “Inbound SIP Termination Identifier” in the trunk setup.

  4. Note that the crucial part here is the virtual DID. It can be any E164 number that is not reachable from the PSTN but only from within the system.

  5. You can create these virtual DIDs in Admin → Telephony → DID Numbers. Genesys treats them as real numbers, so you can assign them to persons or call flows in the same manner as described in Section 3.3.

  6. For easier management and distinction from real numbers, it's recommended to tag these DIDs or ranges with descriptive tags.

Genesys allows its users the option to set up SIP trunks for interconnection between Genesys and their carrier and/or PBX. In our case, even though Parloa won’t be offering proper carrier services, it will be connected as a standard (Bring Your Own Carrier) trunk to make use of the greater range of options that Genesys offers for this kind of connection. is the official documentation that provides much more details about this kind of setup.

Verify that in the site created in the , the default numbering plans are available.

Scroll down and set both the "Number of times to repeat menu" and "Menu selection timeout" to 0.

⚙️
https://help.mypurecloud.com/articles/about-byoc-cloud/
Create Location and Site
here