Voice Bot Setup

The following steps must be performed by the customer, to connect their Genesys Cloud to a telephone system so incoming calls can get routed to your bots. These steps are provided for planning purposes, since the maintenance of the Genesys Cloud and the telephone systems must be performed outside of the Aisera Gen AI platform.

To connect your Genesys Cloud to the Aisera Voice Gateway platform so that calls can be transferred to Aisera IVR channels, complete the following steps:

Activate BYOC Cloud Add-on in Genesys Cloud Account

The following procedure describes how to activate the BYOC Cloud Add-on in your Genesys cloud account.

  1. Log in to your Genesys Cloud as a user with Organization Admin privileges.

  2. In the top-level menu, select Admin.

  3. Under Account Settings, select Genesys App Foundry.

  4. After navigating to the Genesys App Foundry, make sure you are logged in and in the right region.

  5. Search for and select the BYOC Cloud application.

  6. Check to see if you have purchased the application. If not, follow the instructions to add it to your subscription.

Add External Trunk to Genesys Cloud Account

The following procedure describes how to add an External BYOC Trunk to your Genesys Cloud account that is integrated with the Aisera Voice Gateway.

  1. Log in to Genesys Cloud as a user with Telephony Admin privileges.

  2. In the top-level menu, select Admin.

  3. Under Telephony, select Trunks.

  4. Click the Create New button.

  5. For External Trunk Name, enter the name of the External Trunk (such as, Aisera Voice Gateway).

  6. For Type, select BYOC Carrier, and then Generic BYOC Carrier. The detailed trunk configuration settings will be displayed.

  7. Select the site where your telephone trunk (internal phone system) is located.

  8. For Protocol, select TLS.

  9. For the field Inbound SIP Termination Identifier, under Inbound / Termination, enter a unique alphanumeric string that will be used to identify the trunk (such as, <customer-name>-trunk).

  10. After entering the value, an Inbound Request-URI Reference section appears below the entered value.

    1. Note: The FQDN Method value is displayed in the section. Copy the hostname part of it for future use (during the Aisera Gateway platform configuration). For example, for FQDN Method INVITE:

      sip:+xxxxxxxxx@<customer-name>-trunk.byoc.usw2.pure.cloud. The hostname part is <customer-name>-trunk.byoc.usw2.pure.cloud.

  11. Under SIP Servers or Proxies, add the SIP server that you received from your Aisera team.

  12. Under SIP Access Control, add the IP that you received from your Aisera team.

  13. Click Save External Trunk to save the new trunk.

Create Outbound Route and Number Plan

The following procedure describes how to create the Outbound Rule in the Site within your Genesys Cloud account that routes calls via the External Trunk you created in the previous step.

  1. Log in to Genesys Cloud as a user with Telephony Admin privileges.

  2. In the top-level menu, select Admin.

  3. Under Telephony, select Sites.

  4. Select the Site where you have added the new trunk.

  5. Navigate to the Number Plans tab.

  6. Create a new number plan.

  7. Under Match Type, select a Regular Expression.

  8. Under Match Expression, leave it as ^()$ for now. If you have created IVR channels on your Aisera platform, you can add the Phone Extension field from each channel

in the following format:

^(<ext1>|<ext2>|<ext3>)$

  1. Under Classification, add a classification name for the plan. You will use that in the routing below.

  2. Save the number plan.

  3. Select the Outbound Routes tab.

  4. Create a new Outbound Route

    1. Under External Trunks, select the Trunk that you created above.

  5. Under Classifications, add the classification of the number plan you created.

  6. Click Save Outbound Rules to save your updated configuration.

Create a Call Flow that Transfers Out

  1. Log in to your Genesys Cloud as a user with Telephony Admin privileges.

  2. In the top-level menu, select Admin.

  3. Under Architect, select Architect.

  4. Add a new flow.

  5. Select the 3 dots in the Main Menu → Toolbox → Transfer → Transfer to Number windows.

  1. Select an option for this transfer and as the Number, add the extension you created in the Aisera platform. After you have created an IVR channel, you must include it in the Number Plan.

  2. Make sure you also delete / move the default disconnect node.

Map the call flow to a number

  1. Log in to Genesys Cloud as a user with Telephony Admin privileges.

  2. In the top-level menu, select Admin.

  3. Under Telephony, select DID numbers.

  4. Go over to the DID Ranges tab, and create a DID range that contains the numbers you want to assign to the call flow.

  5. Go over to the DID Assignments tab and click on the numbers you want to assign to the flow.

  6. Click Assign.

  7. On the tab shown to the right, select Call Flow as the Assignee Type.

  8. Select the flow you created as the Assignee.

Putting it all together

After your configuration is complete, a call received on one of the assigned numbers triggers the configured call flow.

From there, the call will be transferred out, targeting one of Aisera’s IVR channel extensions.

The extension target will be identified by the number plan and use the external BYOC trunk to transfer the call.

The external BYOC trunk is pointing to your Aisera Voice Gateway that will receive the call and assign it to the bot that is associated with the IVR channel.

Last updated