Complete Step 1: Contact Center app configuration and Step 2: Artemis project configuration in CCAI integration before you start. Those steps are required for both digital and voice channels.
Prerequisites
- The shared connection setup in CCAI integration is complete and the integration status shows Enabled.
- Artemis production and your CCAI production environment are in the same cloud region/cluster. This keeps the transfer on the internal Kore voice gateway. If the environments are in different clusters, the call leaves the Kore network and requires a purchased PSTN number and provider routing.
- App Owner role in CCAI. A standard builder role can’t complete every integration and telephony step.
- An available CCAI queue or named agent, and access to the CCAI Agent Console.
- Two separate audio endpoints for the final test: the caller on a phone or a telephony-enabled video call, and the human agent on a separate device.
- Approved secret storage for the Artemis Platform Key and the shared webhook secret.
End-to-end path
Step 1: Create the CCAI SIP trunk and routing number
Go to Contact Center AI → Flows & Channels → Voice Gateway → SIP Numbers → Configure SIP Trunk. This creates the internal destination that Artemis will REFER the call to. Keep exactly one leading
sip: in the resulting SIP number (sip:<routing-id>@<host>:5060). A double sip: prefix breaks the destination.Step 2: Route the SIP number to a human destination
- Click Next. Reserve or select the SIP routing number and enable Inbound Calls. Select the intended CCAI app.
- Create a Call Start Flow. Supply a non-empty description and select the SIP number when prompted.
- Connect the Start node to an Agent Transfer node, then choose the intended queue, skill, or named employee.
- For every receiving employee, enable Contact Center access, Agent Console as the default experience, Voice, and the required queue/skill membership.
- Publish the Start Flow.
Attaching a Start Flow can return an already-published CCAI app to In Development. Republish the app after this step (see Step 3).
- Agent Console is open and the human agent is Available.
- The target queue/skill or named-agent route is correct.
- The app and every relevant voice flow show Published.
Step 3: Publish the CCAI app
Publish the CCAI app and all affected voice/Start flows.Step 4: Configure Artemis agent transfer for SIP REFER
In Artemis, go to Project Settings → Agent Transfer and enter the following configurations under Voice Gateway, in addition to the Default Routing connection configured in CCAI integration:Step 5: Configure the voice-transfer mechanism in the ABL
Use theEscalate block with routing.voice.call_transfer_type set to sip (and transfer_method set to refer, invite, or bye) to drive the live SIP call handoff. This is the recommended pattern — it works unchanged for chat and voice, with no separate tool definition needed:
call_transfer tool directly. If you do, define it in the TOOLS block as follows:
- When the caller explicitly asks to speak with or be transferred to a human employee, representative, live agent, customer-service agent, or real person, invoke the transfer immediately with
callTransferTypeset tosip. Don’t continue troubleshooting, offer alternatives, or ask a follow-up question before calling the tool. - Never merely say that a transfer is starting, underway, or complete. Invoke the transfer and rely on its result.
- Don’t treat negated, hypothetical, quoted, historical, or third-party mentions of a human representative as a transfer request.
Step 6: Deploy and bind the voice channel in Artemis
Saving an ABL change updates only the draft. It doesn’t change the behavior of a live call until you create and bind a new deployment.
- Open Artemis → Deployments and choose the environment used by the Realtime Voice channel.
- Create a deployment, choose Customize per agent, and select Auto-create from draft for the voice agent. Confirm the correct Entry Agent, then deploy. The previous deployment can keep draining; it doesn’t have to be retired first.
- Go to Channels, open the Realtime Voice channel, and confirm it points to the same environment and the newly active deployment/version.
- Configure other channel properties and save.
- Confirm the Artemis Realtime Voice channel has a working inbound DID if dialing from a phone. This public inbound DID is different from the CCAI SIP routing ID.
Step 7: Test and verify
- Publish the CCAI app and all affected voice/Start flows. Confirm the human agent is Available before dialing.
- Call the Artemis agent and say a test phrase such as “Transfer me to a human agent.”
- Verify the expected Artemis behavior: the
call_transfertool is invoked withcallTransferType=sip. The configured transition message (if any) plays once, and a SIP REFER/transfer session begins. - Verify the expected CCAI behavior: a new voice interaction is offered to the configured queue or agent. Accept the interaction.
- Confirm success: the AI stops responding to the caller, the human and caller hear one another, and two-way audio continues until the human ends the call.
- Artemis Sessions/Trace: a
call_transfertool invocation, not only an escalation event. - Artemis Transfer Sessions: provider SmartAssist, channel voice, and a successful/connected lifecycle.
- CCAI Agent Console: offered interaction, assigned queue/agent, acceptance, and connected state.
- Audio: caller and human can interrupt/respond naturally; the AI no longer answers after acceptance.
Troubleshoot voice transfer issues
Final go/no-go checklist
- Artemis and CCAI are on matching production environments, and the CCAI user is App Owner.
- The CCAI SIP trunk and routing number exist; the Call Start Flow routes to a real human destination and is published.
- The Artemis Integration fields are saved in CCAI, and the corresponding connection fields in Artemis are populated.
- A new agent version/deployment is active, and Realtime Voice is bound to it.
- Agent Transfer uses Kore Voice Gateway, SIP REFER, the correct SIP target, and SmartAssist trunk On.
- A new external voice test produces a CCAI offer, human acceptance, AI disengagement, and two-way audio.
Points to note
- Conversation transcripts and recordings: Recordings and transcripts from voice calls in CCAI are available in Artemis after the session ends, under Sessions logs. It may take up to 10 minutes to present them in Artemis due to post-session processing.
Related articles: