Skip to main content
Legacy SIP trunks keep working. There is no date by which you must move. New setups should use SIP trunks, and this page covers moving an existing legacy trunk.

Am I on a legacy SIP trunk?

You are if any of these is true:
  • You created your trunk with the /sip-trunks/... API, or on the SIP Trunks page before SIP trunks were available.
  • Your agents use the sip-trunk telephony provider.
  • Your carrier sends calls to sip.bolna.ai or 13.200.45.61.
SIP trunks use the /trunk/... API, the trunk telephony provider and trunk.bolna.ai.

What changes at your carrier

SIP trunks pass only P-Asserted-Identity and Diversion to the agent. If your agents depend on other inbound headers, such as X-CALLERNO, keep that trunk on legacy for now.

What changes in Bolna

Placing calls does not change: POST /call and batches work the same way, with a trunk number as from_phone_number. Calls on SIP trunks appear in Call History and in webhooks with the provider trunk.

Convert an existing trunk

Email enterprise@bolna.ai with the trunk you want to move. Bolna converts it for you: the new trunk gets the legacy trunk’s gateways, carrier IPs and numbers, and the agents you choose move onto it. Update your carrier with the values in What changes at your carrier during the move. While it is in progress, the SIP Trunks page shows a banner, and calls can arrive on either trunk. When the move finishes, the legacy trunk is switched off.

Or set up a SIP trunk yourself

You can also build the new trunk alongside the legacy one and switch over when you are ready:
1

Create the trunk

Follow Connect your carrier to create the trunk, add your carrier’s IPs, gateway and numbers, and run the inbound and outbound tests. While your account has a legacy trunk, SIP Trunks in the sidebar opens your legacy trunks: click Open new SIP trunks at the top of that page to create the trunk there. Once you have a SIP trunk, SIP Trunks opens the new page, which links back to your legacy trunks.
2

Assign agents to the numbers

On the trunk’s Numbers tab, or with assign agent, give each number its agent. See Inbound calls.
3

Switch inbound at your carrier

Point your numbers at sip:trunk.bolna.ai:5060 and allowlist 15.252.21.46 and 13.206.230.198. Calls follow the URI your carrier uses, so you can move one number at a time.
4

Switch your agents

Set each agent’s telephony provider to SIP Trunk (trunk). Outbound calls from that agent then go through the new trunk. See Outbound calls.

Next steps

SIP trunks overview

How SIP trunks work, supported carriers and limits.

Connect your carrier

Create a SIP trunk step by step.