Use this article to connect Five9 to Fin Voice with SIP (Session Initiation Protocol), import the Fin Voice IVR (interactive voice response) script into Five9, and route callers after Fin Voice finishes. It's for Five9 admins who can edit IVR scripts and campaigns, and the teammates who add lines in Fin Voice.
How does Fin Voice connect to Five9 with SIP?
Connecting Five9 to Fin Voice with SIP means your Five9 IVR sends calls straight to Fin Voice. When Fin Voice finishes, control returns to your IVR on the same call, and you can route the caller to the right skill using Fin Voice's result.
Note: SIP with Five9 is currently available for Five9 accounts in the US. If your Five9 account is in another region, contact Intercom before you start.
If you want to get started faster, set up call forwarding with Five9 first, then move to SIP. See Integrating Fin Voice with Five9 using call forwarding. For how SIP works with Fin Voice in general, see Connect Fin Voice to your phone system with SIP.
What do I need before connecting Five9 to Fin Voice with SIP?
Before you connect Five9 to Fin Voice with SIP, make sure you have:
A Five9 account with admin access to IVR scripts and campaigns.
SIP connectivity for a third-party AI agent, enabled on your Five9 account. Contact your Five9 account team to set this up. Five9 charges for this connection, which can include a one-off setup fee, a monthly fee, and per-minute charges. Ask your Five9 account team what it costs for your account.
Five9's SIP IP (Internet Protocol) address ranges for your account.
A pseudo number that your IVR dials to reach Fin Voice.
An access token from your app in the Intercom Developer Hub, with the
read_conversationsscope.
How to connect Five9 to Fin Voice with SIP
Step 1: Add a Five9 SIP line in Fin Voice
To add a Five9 SIP line in Fin Voice and download the setup file for Five9:
Go to Fin AI Agent > Deploy > Voice and click New line.
Under Already have a phone system, choose Send calls straight to Fin (SIP).
Give the line a name and choose Five9 as the provider.
On the IP addresses tab, under Allowed IP addresses, enter each IP address or range Five9 sends calls from using Add an IP address or range.
The Credentials tab has SIP username and SIP password fields. Optionally, enter a phone number, SIP extension, or identifier under Phone number, SIP extension, or identifier. If you leave it blank, Fin Voice generates one for you.
Click Continue.
Click the pencil icon on the line's card to open Line details, then click Export configuration and choose Download setup file.
Enter your pseudo number. This downloads a Five9 IVR script (
.five9ivrfile) set up for this line.
Step 2: Import the Fin Voice IVR script in Five9
To import the Fin Voice IVR script and attach it to a campaign in Five9:
In Five9, import the
.five9ivrfile as a new IVR script.Open the Set Headers module and check the variables the Fin Voice script uses.
Fin.fqdnis your SIP domain from Line details.bearer_tokenis your Intercom access token, which isn't included in the file, so add it here.Fin.iva_transfer_numberis your pseudo number.Attach the script to the inbound campaign that should send calls to Fin Voice.
The Fin Voice script sends the Five9 call ID, the caller's number, and the line's routing identifier to Fin Voice as SIP headers: X-CallID, X-CallANI, and X-FinVoice-Config-Id.
Step 3: Route Five9 calls after Fin Voice
To route Five9 calls after Fin Voice finishes, set the line to hand calls back by ending its side of the call:
In Fin Voice, go to Fin AI Agent > Deploy > Voice and open the line.
Go to If Fin can't resolve the conversation.
Set What should Fin do if it can't resolve the conversation? to End the call on both the Inside office hours and Outside office hours tabs.
When Fin Voice finishes its part of the call, it ends its side and your Five9 IVR script continues. The script requests Fin Voice's call data using the Five9 call ID. You can then route the caller to a skill based on Fin Voice's result, for example ending the call if Fin Voice resolved it, or queuing it for a teammate if not. See Get Fin Voice's call data into your phone system in Connect Fin Voice to your phone system with SIP.
Step 4: Test and go live with Five9 and Fin Voice
To test the Five9 connection and go live:
In Five9, open the campaign debugger (Campaigns > your campaign > DNIS > Set Params & Start) and call the campaign number. The debugger shows which step of the script ran and why any step failed.
Confirm the call reaches Fin Voice, Fin Voice answers on the right line, and the call returns to your IVR when Fin Voice finishes.
When you're ready for customers to reach Fin Voice, route customer calls to the line and increase the rollout gradually, starting outside office hours or at 5–10% of calls.
For more on rollout percentages, see Test and go live in Connect Fin Voice to your phone system with SIP. To try Fin Voice in the preview first, see Test Fin Voice before going live.
Note: Calls that reach Fin Voice, including test calls on a real line, are billed as Fin Voice outcomes at $1.99 per outcome. Your first 14 days of Fin Voice outcomes are free, and calls in the preview aren't billed. Your provider's call charges are separate. For details, see Fin AI Agent outcomes.
How to troubleshoot Five9 SIP calls with Fin Voice
If your Five9 SIP line doesn't behave as these steps describe, check the following:
The call never reaches Fin Voice: check the IP ranges on the line, and check that
Fin.fqdnmatches your SIP domain exactly.Fin Voice answers, then the call drops: check that the routing identifier in
X-FinVoice-Config-Idmatches the line.No call data comes back after the call: check that
bearer_tokenis set and that the token has theread_conversationsscope.
Related articles about Fin Voice and SIP
Connect Fin Voice to your phone system with SIP
Need more help? Get support from our Community Forum
Find answers and get help from Intercom Support and Community Experts




