Before you start
- Know your Genesys model. The guided setup supports BYOC Cloud, where calls run on Genesys Cloud’s own infrastructure. If you run your own Genesys Edge devices (BYOC Premises), you use the generic SIP trunk setup instead.
- Know your Genesys Cloud region. This is the region your Genesys Cloud organization runs in, for example US East (Virginia) or EU (Frankfurt).
- Admin access in Genesys Cloud. You need permission to manage external trunks to finish the setup.
- Numbers to route. Have the phone numbers or extensions ready, written exactly as Genesys will send them to PolyAI.
If the Genesys option shows Coming soon, contact your PolyAI account manager.
Start the guided setup
- In Agent Studio, go to Integrations and open the Telephony tab.
- Click Add number. The Add a number panel opens.
- Under Integrate with your contact center platform, select Genesys.
1
Model
Answer Which Genesys model do you use?
- BYOC Cloud (marked Fastest setup): you use Genesys Cloud’s own infrastructure, with no edge devices or carrier connections of your own. Pick this if you’re not sure.
- BYOC Premises: you’ve deployed your own Genesys Edge devices.
2
Trunk details
- Choose your Genesys Cloud region. The list shows each region with its Genesys domain, for example US East (Virginia) — mypurecloud.com. The region decides which Genesys IP ranges reach PolyAI. Agent Studio also uses it to prefill the trunk Name, such as
Genesys Cloud — US East (Virginia). - Copy your region’s BYOC Cloud signaling and media IP ranges from the Genesys Cloud Resource Center. For signaling, see BYOC Cloud public SIP IP addresses. PolyAI rejects calls from any address you don’t list.
- Fill in the trunk fields:
Click Next.
3
Numbers
Under Numbers and routing, add each number that should reach your agent:
- Extension: the dialed number or extension as it arrives on this trunk, for example
+441234567890. Enter it exactly as Genesys sends it. - Environment: which environment of your agent answers calls to this number.
- Variant (optional): routes calls to a specific variant of the agent. Leave empty for the default.
4
Review
Check the Basics, Network and encryption, Authentication and Numbers sections. Click Edit next to a section to change it, then click Create trunk.Agent Studio creates the trunk and shows Genesys Cloud connected. If a number fails to save, Agent Studio tells you which one. Add it again from the trunk’s card on the Telephony tab.
5
Reference
The Reference step shows Finish in Genesys Cloud and the connection details you need. See Configure Genesys Cloud.Click Done to close the setup. The trunk and its numbers then appear on the Telephony tab, where you can view the same connection details again.
Connection details
The Reference step lists everything Genesys needs. Each value has a copy button.- Connection basics: Encryption, Port (5061), Signalling (SIP over TLS), Media (SRTP over UDP), RTP port range, your SIP CIDR and RTP CIDR ranges, and Authentication.
- TLS certificates: TLS version 1.2, the PolyAI root certificate (DigiCert Global Root G2), and the requirement that Your certificate is signed by a publicly trusted certificate authority.
- How to reach PolyAI: the SIP trunk A record (Recommended) and its SIP URI, plus a Global A record and an SRV service and protocol record with their SIP URIs. If one option doesn’t work with your platform, try one of the others.
- Identifying this trunk: the Trunk ID, the Header and URI parameter that carry it, and, depending on your authentication choice, the digest Username and Realm or the Token header.
Use an AI assistant
The reference includes Have an AI assistant connect your platform. Copy the prompt and paste it into an AI assistant that can work in your Genesys Cloud admin console. The prompt contains this trunk’s settings. The assistant points a trunk at PolyAI and replies with what it configured.Configure Genesys Cloud
Finish the setup in Genesys Cloud admin, using the values from the Reference step.- In Genesys Cloud admin, go to Telephony > Trunks and create an external trunk of type BYOC Cloud.
- Set the trunk SIP server to the PolyAI SIP trunk A record on port
5061, using TLS for signaling and SRTP for media. - If you chose SIP digest or Token authentication, configure the same credentials on the Genesys trunk. For a token, send it in the header shown as Token header.
- If your organization restricts SIP traffic by IP address, allow the addresses the PolyAI trunk address resolves to.
- Attach the trunk to a route so calls to your numbers reach it.
Pass call data between Genesys and PolyAI
Data on the inbound INVITE
The Genesys SIP INVITE can include:x-inin-cnv: the Genesys conversation ID.X-User-to-User: custom data, in the formatX-User-to-User:{data};encoding=ascii. To send it, set UUI passthrough on the Genesys trunk with protocolX-User-to-Userand encodingAscii.
conv.sip_headers. See Custom SIP.
Data on the SIP REFER
To return data to Genesys when your agent transfers a call, use this format in the SIP REFER:Refer-To: <sip:{route}@{ip}?User-to-User={pd}{data}%3Bencoding%3Dhex>
- Replace
{pd}with the protocol discriminator (two hex digits). - Replace
{data}with the hex-encoded information.
Screen pop with the Handoff API
If you need a screen pop for live agents, Genesys can fetch the handoff data your agent saved through the Handoff API. Create an API key in Agent Studio for this.Change or remove the trunk
On the Telephony tab, open the Genesys trunk’s menu:- Add number adds another number to the trunk.
- Edit configuration changes the name, CIDR ranges or authentication. Secrets are never shown again; leave a secret field blank to keep the stored one.
- Remove trunk deletes the trunk. Every call routing over it stops, including calls to its numbers. This cannot be undone.
Related pages
Custom SIP
Read SIP headers in your agent, and set up a generic SIP trunk for BYOC Premises.
Handoffs
Configure where and how your agent transfers calls.

