SIP Integration with Talkdesk

SIP trunking is only available on the Synthflow Enterprise Plan.

This guide covers connecting Talkdesk to Synthflow via SIP trunk using Talkdesk’s External SIP Trunking capability. Talkdesk routes calls to a Synthflow AI agent, which can handle AI conversations and transfer callers back to live Talkdesk agents.

Prerequisites

RequirementDetail
TalkdeskActive account with Admin access; Talkdesk CX Cloud with SIP Trunking enabled
SynthflowEnterprise Plan with a configured AI assistant (v2.0+)
Phone NumberAt least one DID provisioned in Talkdesk (E.164 format)
NetworkFirewall allows SIP (UDP/TCP 32681 or TLS 32682) and RTP media between Talkdesk and Synthflow

Talkdesk Configuration

All configuration is done in the Talkdesk Admin panel under IntegrationsSIP Trunking.

Create the SIP Trunk

  1. In Talkdesk Admin, navigate to IntegrationsSIP Trunking.
  2. Click Add SIP Trunk.
  3. Configure the trunk:
FieldValue
NameSynthflow AI
SIP Server / Proxysip.synthflow.ai
Port32681 (UDP/TCP) or 32682 (TLS)
TransportUDP/TCP or TLS
Authentication TypeIP-based (whitelist Synthflow IPs) or Digest
SIP UsernameFrom Synthflow — only required if using Digest auth
SIP PasswordFrom Synthflow — only required if using Digest auth
Max Concurrent CallsPer your Synthflow plan / expected call volume
  1. Under Allowed IPs, add Synthflow’s SIP signaling IP addresses. Contact Synthflow support for the current list.
  2. Click Save.

For UDP/TCP signaling use port 32681. For TLS, use port 32682.

Configure Inbound Call Routing

Route inbound calls to Synthflow through Talkdesk’s call routing engine.

  1. In Talkdesk Admin, go to VoiceRing Groups or IVR (depending on your setup).
  2. Create a new routing action or edit an existing IVR menu.
  3. Add an External Transfer or SIP Transfer step:
    • Set the destination to the DID associated with your Synthflow SIP number.
    • Select the Synthflow AI SIP trunk as the outbound route.
  4. Set a timeout (recommended: 30 seconds) and configure a fallback to a Talkdesk agent ring group.
  5. Save and activate the routing configuration.

For skills-based routing, use Talkdesk’s routing rules engine to send specific call types (e.g., by language, department, or IVR selection) to different Synthflow assistant numbers.

Configure Transfer Back to Talkdesk (AI → Live Agent)

  1. Note your Talkdesk SIP domain or the DID for the target agent ring group.
  2. Configure Synthflow’s transfer action to route to the Talkdesk ring group DID via the SIP trunk.
  3. Talkdesk will receive the transfer and route to the next available agent in the ring group.

Synthflow Configuration

Add the SIP Number

  1. Go to the Synthflow Phone Numbers page.
  2. Click Add NumberCustom / SIP.
  3. Enter the phone number in E.164 format (same DID provisioned in Talkdesk).
  4. Fill in the SIP connection details:
FieldValue
Termination URIYour Talkdesk SBC gateway hostname or IP address
SIP UsernameYour SIP authentication username
SIP PasswordYour SIP authentication password
Outbound Proxy (if required)Talkdesk SBC proxy address (if required)

The Termination URI is your Talkdesk SBC address — this routes Synthflow calls back into Talkdesk for PSTN termination and agent transfers.

Be precise when copying SIP credentials. Incorrect values will cause registration failure.

Attach to the Assistant

  1. Go to Assistants and create or select an assistant (v2.0+).
  2. In the assistant settings, attach the SIP number you just created.
  3. Wait 1–2 minutes for SIP registration to complete.

The SIP trunk is created at the moment of attaching the SIP number to the assistant.


Call Flow Summary

ScenarioFlow
Inbound to AICaller → PSTN → Talkdesk → IVR/Ring Group → SIP Transfer → Synthflow AI Agent
AI transfers to live agentSynthflow AI → SIP transfer → Talkdesk SBC → Ring Group → Live Agent
Outbound from Talkdesk via AITalkdesk IVR/campaign → SIP Trunk → Synthflow AI → handles call

Verification

TestWhat to check
Inbound callCall the Talkdesk DID from an external phone. Verify it routes to Synthflow AI. Check two-way audio.
Transfer to live agentTrigger escalation during a Synthflow call. Confirm the call lands in the correct Talkdesk ring group with caller ID intact.
Outbound from TalkdeskRoute a Talkdesk IVR call to the Synthflow trunk. Verify the AI agent answers.

Quick Troubleshooting

IssueFix
Registration failsCheck Termination URI, credentials, and firewall (UDP/TCP 32681 or TLS 32682). Verify Synthflow IPs are in Talkdesk’s allowed list.
Calls not reaching SynthflowConfirm IVR/ring group routing action points to the Synthflow DID via the correct SIP trunk.
One-way or no audioEnsure RTP ports are open bidirectionally. Confirm G.711 codec is negotiated on both sides.
Caller ID missingSet the From header to the caller’s E.164 number. Verify Talkdesk passes ANI through the SIP INVITE.
Transfer failsVerify the Talkdesk ring group DID is correct and the SIP trunk is active. Check Talkdesk transfer logs.

Reference

  • Talkdesk SIP Trunking Documentation: docs.talkdesk.com
  • Talkdesk Admin Guide: support.talkdesk.com
  • Synthflow SIP Overview: docs.synthflow.ai/about-sip
  • Synthflow X-EI SIP Header: docs.synthflow.ai/x-ei-sip-header