Integrate PolyAI agents with Genesys Cloud using BYOC.
PolyAI integrates with Genesys Cloud’s Bring Your Own Carrier (BYOC) service to provide efficient call handling, routing, and handoff capabilities. This guide explains how to integrate your Genesys Cloud instance with the PolyAI app available on the Genesys AppFoundry page.
Get connection tokens:
Enable Handoff API:
Prepare for SIP INVITE data:
x-inin-cnv
: the Genesys Conversation ID.X-User-to-User
: Custom data in the format X-User-to-User:{data};encoding=ascii
.Send data during SIP REFER:
To return data to Genesys, use this format in the SIP REFER message:
Refer-To: <sip:{route}@{ip}?User-to-User={pd}{data}%3Bencoding%3Dhex>
{pd}
with the protocol discriminator (two hex digits).{data}
with the hex-encoded information.To configure a SIP trunk with Genesys Cloud, follow these steps.
Configuration steps for the US region:
Telephony > Trunks > External Trunks
in Genesys Cloud.kam.us-1.polyai.app
, Port: 5061
3.221.248.55
audio/PCMU
X-User-to-User
Ascii
X-PolyAi-Auth-Token
Configuration steps for the US region:
Telephony > Trunks > External Trunks
in Genesys Cloud.kam.us-1.polyai.app
, Port: 5061
3.221.248.55
audio/PCMU
X-User-to-User
Ascii
X-PolyAi-Auth-Token
Configuration steps for the UK region:
Telephony > Trunks > External Trunks
in Genesys Cloud.kam1.uk-1.polyai.app
, Port: 5061
3.10.92.139
audio/PCMU
X-User-to-User
Ascii
X-PolyAi-Auth-Token
Configuration steps for the EU region:
Telephony > Trunks > External Trunks
in Genesys Cloud.kam.euw-1.polyai.app
, Port: 5061
54.77.217.78
audio/PCMU
X-User-to-User
Ascii
X-PolyAi-Auth-Token
Configuration steps for the APAC region:
Telephony > Trunks > External Trunks
in Genesys Cloud.kam1.sg-1.polyai.app
, Port: 5061
18.140.207.42
audio/PCMU
X-User-to-User
Ascii
X-PolyAi-Auth-Token
Repeat the above steps with the secondary PolyAI server and IP for your region:
kam2.us-1.polyai.app
, 35.170.209.49
.kam2.us-1.polyai.app
, 35.170.209.49
.kam2.uk-1.polyai.app
, 18.168.178.6
.kam2.euw-1.polyai.app
, 34.255.224.245
.kam2.sg-1.polyai.app
, 13.250.218.51
.For support, contact PolyAI at platform-support@poly-ai.com.