Overview
Route an existing Infobip voice number to a Voiceflow Voice agent using an Infobip static SIP trunk and Bring your own SIP in Voiceflow. Infobip carries the call; Voiceflow hosts the conversation and audio processing. The setup uses IP authentication, with separate addresses for calls into Voiceflow and calls back through Infobip.
Use a static trunk: this walkthrough does not use a registered trunk, a provider preset or an authenticated trunk requiring X-IB-AccessCode. Those configurations have different authentication requirements. Infobip SMS is a separate conversation channel.
Before you begin
Obtain both systems’ signalling sources before defining the static trunk.
The static trunk’s source list controls calls sent from Voiceflow to Infobip. Its destination list controls where Infobip sends incoming calls. Voiceflow’s inbound allowlist must contain the actual Infobip SBC sources, including the provisioned redundant side. Obtain these account/location-specific values through the administrators and confirm the trunk is operational before a call test. The shared SIP network reference explains signalling versus media allowlists.
Infobip returns location-specific SBC information when a trunk is provisioned; account age and trunk type can affect whether this is a hostname or IP list. Use the returned values and provider-confirmed signalling ranges rather than borrowing another account’s addresses. See Infobip trunk setup.
Connect the static trunk
Create the SIP endpoint before assigning the number’s incoming voice action.
Create the Voiceflow connection
In Agent studio, open the Voice project’s Phone numbers → Create number → SIP → Bring your own SIP. Enter a name and enable Inbound calls. Choose IPs and add Infobip’s confirmed public IPv4 signalling sources/CIDRs. Leave digest credentials unset for this IP-authenticated setup.
If callbacks are required, enable Outbound calls and transfers and add the provider-confirmed termination hostname(s) or public IPv4 addresses in failover order, using the transport/port Infobip supplies. Enter an authorized E.164 Caller ID, and leave outbound Username/Password empty. The static trunk authorizes Voiceflow using its source-IP list instead. Across both directions Voiceflow allows ten address rows; reduce to the relevant provider-confirmed sources/destinations if necessary.
Choose Create, copy the full SIP address, and confirm the Voice agent assignment. Open Environment, choose the controlled Environment and Draft, then Save. Workspace creation requires assigning the agent separately. See Bring your own SIP for the shared form contract.
Create an Infobip static trunk
In the Infobip portal, open Channels and Numbers → Channels → Voice and WebRTC → SIP Trunking → Create SIP trunk. Choose an Infobip static trunk, the approved location, plan and capacity. Its destination FQDN is the complete Voiceflow SIP hostname. Its source IPs are the Voiceflow signalling egress addresses obtained above. For a basic unencrypted setup use UDP on 5060 on both sides.
Review the order before confirming its chargeable creation. Retain the returned SBC information, confirm the trunk’s administrative/action status is ready, and reconcile the Voiceflow inbound allowlist with every actual provider signalling source. If your account does not expose the needed plan or address capacity, have Infobip enable/prepare it before proceeding. Follow the static-trunk configuration.
Prepare a named incoming route
Open Voice and WebRTC → Call Routing, create a dedicated test route and add the new trunk as a SIP destination. Use it as the primary destination; retain an approved fallback only if it is independently reachable. Leave the destination username override empty so the original dialled number remains the SIP user. Review and save the route before touching the number. See Create routes.
Assign the controlled number's voice action
Open Voice and WebRTC → Numbers, select the number and its Voice tab, then set the incoming action to Forward to Call Routing and select the named test route. Save and reopen to check both the action and route. A number has one voice action at a time; this replaces its existing voice action. An explicit DID route avoids relying on dynamic filter selection. See Select inbound routes.
The Voiceflow hostname selects the SIP connection; its saved assignment determines the agent/release for every routed number. Caller identity is taken from the call, separately from its dialled destination, and must not be treated as authenticated account identity. Voiceflow manages subsequent speech turns and call completion.
Configure callbacks and transfers
Verify the reverse static route before enabling a backend trigger or handover.
Inspect both outbound authorization layers
Confirm the Voiceflow connection has Outbound calls and transfers enabled with Infobip’s actual termination host/port/protocol and authorized Caller ID. Confirm Infobip’s static source-IP list includes Voiceflow’s supplied signalling egress ranges. These are different from the Infobip sources allowed into Voiceflow. Match any later TLS/SRTP change to the shared encryption contract.
Prepare the runtime request
Have the Voiceflow administrator supply SIP_CONNECTION_ID from this connection’s Outbound call API → View and VF_API_KEY, a runtime key authorized for the assigned project’s read/version-read permissions. Set TEST_RECIPIENT to a separate E.164 phone you can answer. From the backend, run this only when ready for a real callback:
HTTP 200 has an empty body and no call ID. Confirm the phone rings, answer it and check the agent’s speech. Inspect Infobip records before retrying a request with an uncertain result. SIP outbound calls owns the exact contract. Infobip’s API key does not authorize this Voiceflow operation.
Prepare a separate support transfer
Configure Agent → Call forward or a Workflow Call forward step with a distinct support destination and its invocation condition. A phone transfer uses telephone handling; a SIP destination requests REFER. Before using a SIP transfer, have the Infobip administrator create a Transfer Only route with a SIP filter, this trunk ID and a To value matching the transfer destination. Add the intended PHONE destination, save, and review the filter using SIP trunk routing. Confirm that it cannot select the original AI route again. Infobip retains the original SIP leg after connecting a REFER target, while Voiceflow stops the agent media after accepting a transfer. Verify that the complete call is cleared after both participants hang up before enabling this SIP handover for customers. A working callback does not establish REFER handling. Follow the Voiceflow transfer procedure and transfer contract, then test actual teammate pickup.
Test the caller journey
Check every selected route through an audible conversation and completed call.
Call the Infobip test number
From a separate controlled phone, call the number. Expect the test Environment’s greeting. Ask a known support question and confirm the complete spoken answer and audio both ways.
Continue and end the conversation
Ask a follow-up referring to that answer. Expect it to remain in context. Hang up, inspect the ended carrier legs in Analyze → Logs, and find the matching Voiceflow Transcript by time and caller. Make a fresh call to check repeat routing. The Infobip connected legs’ dialogId helps correlate the carrier side.
Check callbacks and teammate pickup
If enabled, place one backend callback and confirm the actual Caller ID, intended agent, two-way speech and hangup. In a separate incoming call, request the configured support transfer; confirm the teammate receives and can speak to the caller, then end both legs. Inspect their records rather than equating a routing acceptance with pickup.
No call reaches Voiceflow
Check the number action, selected route and actual Infobip SBC source.
Read back the number’s single voice action and named route, then the route’s SIP trunk and that trunk’s destination hostname/status. Compare the actual SBC source with Voiceflow’s inbound allowlist, including the redundant side. Check the Voiceflow agent and saved release separately. Creating a trunk alone does not assign the number’s incoming route.
Audio, outbound calls or transfers fail
Separate the media path, reverse source-IP approval and transfer route.
Use SIP troubleshooting for negotiated media and codec checks. For callbacks, inspect Infobip’s source-IP approval, termination destination and Caller ID policy. For SIP transfer, inspect the transfer-only route, its filters and destination. A rejected transfer may end the agent call. Review Infobip call-routing results alongside Transcripts before attempting another call.
Release and maintain the route
Coordinate agent publication, number actions and static trunk changes.
Release and test again
Publish the reviewed Environment, select Published on this connection and save. All environments follows Published traffic splits. Repeat the caller test on a fresh call before moving approved customer numbers to this route.
Maintain the deployment record
Retain the number’s original/current voice action, route and trunk IDs, destination priorities, both signalling allowlists, Voiceflow SIP hostname/connection ID, agent and release. Check all associated numbers before editing a shared trunk. Confirm source/destination changes with both administrators and retest fresh calls after maintenance.
Restore or retire the route
To roll back, restore the recorded number voice action and route, then confirm the previous service answers. Route numbers away before deleting the Infobip trunk or unassigning/deleting the Voiceflow connection. Neither system restores the other system’s routing automatically.