Prerequisites
- Contact Center AI, Automation AI, and Agent AI accounts with administrator access.
- Genesys Cloud CX account with admin role.
- Familiarity with creating Architect flows and External Trunks in Genesys.
Contact Center AI Configuration
- Sign in to AI for Service.
- Go to Contact Center AI > Flows & Channels.
-
Click Start Flows > + New Start Flow. See Create Flows.
-
In the Experience Flow, add a Script Node with the following code:
- Add an Automation node or other flow nodes for the conversation.
-
Add an Agent Transfer node to hand over the call to Genesys agents.
- Publish the flow. Use Test Flow to verify the call connects to the correct flow.
Configure Agent Transfer
-
Go to App Settings > Integrations > Agent Transfer.
-
Click Voice > SIP Transfer and configure:
Setting Value SIP Transfer Method SIP INVITE SIP Transfer URI sip:+<DID>@koreSmartassist.byoc.mypurecloud.comwhere<DID>is a DID number created in Genesys and the domain is the FQDN from the Genesys external trunk.
Using SIP INVITE, you can pass SIP headers to Genesys. Header keys must not contain spaces. Genesys supports reading up to 10 SIP headers via the Get SIP Header node in Architect. See the Genesys configuration section for trunk FQDN details.
Genesys Configuration
Step 1 – Queue
Create an agent queue and add the necessary members for routing live agent transfers.Step 2 – Architect Flow
Create an Inbound Call Flow to handle calls transferred from CCAI.- Sign in to Genesys Cloud.
-
Go to Admin > Architect.
-
Click + Add to create a new call flow.
- Enter a Name and Description, then click Create Flow.
- Create tasks in the Main Menu or create a Reusable Task (mark as starting task from the three-dot menu).
-
After the Start node, add a Get SIP Headers node:
- SIP Header Names (Literal):
x-conversationid,x-koresession-id - SIP Headers Result:
Task.koreSIPheaders
To find any node in Architect, click the three vertical dots on that node and select Search Toolbox. - SIP Header Names (Literal):
-
Add a Set Participant Data node:
- Attribute name:
koreSIPHeaders(must be exact) - Value (Expression):
ToString(Task.koreSIPheaders)
- Attribute name:
- Add at least one Transfer to ACD node pointing to the agent queue.
- Add a Disconnect node on the Failure path.
-
Save and publish the flow.
You can also extract and inspect all available SIP headers.
Step 3 – DID Numbers
Create a single-number DID Range (start and end set to the same number, for example+12223334444) for internal routing inside Genesys.
This DID, combined with the trunk domain, forms the SIP Address used to INVITE the call from Kore Contact Center to Genesys.
- Service Provider: Internal
- Add a comment describing the range’s purpose.
- Assignee Type: Call Flow
- DID Number: Your number
Step 4 – Call Route
- Go to Admin > Call Routing.
-
Click Add to create a new call route.
- Map the DID number (Step 3) to the call flow (Step 2).
Step 5 – Trunk
Configure an external trunk connecting to the session border controller (SBC) for your region.- Sign in to Genesys Cloud.
- Go to Admin > Telephony > External Trunks (or search “External Trunks”).
-
Click + Create New and configure:
Setting Value External Trunk Name Your name Type BYOC Carrier Subtype Generic BYOC Carrier
-
Select Kore Site in the Number Plan Site dropdown.
- Enter a unique name for Inbound SIP Termination Identifier.
-
The Inbound Request-URI Reference is auto-generated:
Add this FQDN Method URL (for example,sip:+xxxxxxxxxxx@koreSmartassist.byoc.mypurecloud.com) to the SIP Transfer URI field in the Agent Transfer configuration on the Contact Center AI side. -
In SIP Access Control, add the AI for Service voice gateway IPs:
Region IP Addresses US Prod 3.224.189.218, 35.174.41.205 AU Prod 54.153.137.7, 13.237.170.233
- Expand Media and enable Recording. Enable all Optional Recording options.
-
Set Codec to Opus and select Dual channel.
-
Expand Protocol and enable Conversation Headers.
-
Click Save External Trunk.
- If Media > Recording is not enabled, the end call summary in the Agent AI widget is unavailable. The middleware requires this setting to receive the session end event from Genesys.
- If Protocol > Conversation Headers is not enabled, the landing summary and real-time transcription in the Agent AI widget are unavailable.
Agent AI Integration
Add the Bot
Use the same automation bot used in the CCAI Automation Flow.
Integrate Agent AI with Genesys
Follow Agent AI Integration with Genesys Cloud CX. Configuration notes:- When adding Agent AI bot credentials, use the bot added in the step above.
-
Add a new field in the Genesys data table:
Field Value Name isSipInviteTransferFromKoreData Type String Value True
- Do not configure audiohook or enable audiohook monitor at the queue level.
-
Do not add the
isAudiohookEnabledfield in the data table.
Test the Integration
Call the CCAI number purchased during setup. After a successful agent transfer, the signed-in Genesys agent can accept the incoming call.-
Click Answer in Genesys.
-
Open the Tools section and select the interaction widget configured during setup.
-
The Agent AI widget appears on the right side of the Genesys Agent Desktop.
-
Click the Transcript tab to view user-bot conversation history, a summary, and real-time transcripts.
View Interaction Details in CCAI
- Go to CCAI > Analytics > Contact Center > Interactions.
-
Click the interaction to view.