> ## Documentation Index
> Fetch the complete documentation index at: https://www.vobiz.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Bolna + Vobiz SIP trunk | Bring your Vobiz numbers to Bolna over SIP

> Connect Vobiz to Bolna over a SIP trunk: create an outbound trunk, an origination URI and an inbound trunk in the Vobiz Console, then a trunk in Bolna with the Vobiz preset, and test it both ways.

Use this path when you already run Vobiz trunks, or want trunk-level controls such as channel limits, IP allowlists and SIP headers. For the simpler path, see [Connect your account (streaming)](https://www.vobiz.ai/docs/integrations/bolna-streaming.md).

You create two trunks in Vobiz, an **outbound** trunk that Bolna dials into and an **inbound** trunk that forwards calls on your numbers to Bolna, and one trunk in Bolna that joins them. Bolna's trunk wizard asks for the Vobiz trunk's SIP Domain on its first screen, so start in the Vobiz Console.

## Values you will use

From [Bolna's SIP trunk documentation](https://www.bolna.ai/docs/sip-trunking/vobiz) and the Vobiz [IP allowlist](https://www.vobiz.ai/docs/concepts/ip-whitelisting.md):

| Setting | Value |
| - | - |
| Bolna's signalling IPs (for an IP ACL on your outbound trunk) | `15.252.21.46`, `13.206.230.198` |
| Bolna's inbound address (your origination URI) | `trunk.bolna.ai:5060`, transport **UDP** or **TCP** (not TLS) |
| Vobiz origination IPs (carrier IPs in Bolna) | `13.233.44.61`, `3.111.255.163`, `3.111.128.110` |
| Media (RTP) at Bolna | UDP `30000`-`40000`, to and from `15.252.21.46` |
| Codecs | `PCMU` and `PCMA` only |
| DTMF | RFC 2833 |
| Caller ID on outbound calls | One of the numbers on the trunk, E.164 with `+` |

## Prerequisites

* **Vobiz account** with balance and at least one Indian phone number with KYC complete, not attached to a voice application - [Create account](https://console.vobiz.ai/auth/signup) · [Buy a number](https://www.vobiz.ai/docs/buy-a-phone-number.md)
* **Bolna account** with a saved agent - [platform.bolna.ai](https://platform.bolna.ai)

## Part 1: Vobiz Console

**1. Choose how Vobiz recognises Bolna**

Open [Outbound Trunks](https://console.vobiz.ai/app/sip/out/trunks) in the Vobiz Console (sidebar **SIP Trunk → Outbound Trunks**). The page has three tabs: **Trunks**, **IP ACLs** and **Credentials**. Pick one way for Vobiz to authenticate the calls Bolna places; you don't need both.

| | Credentials (username and password) | IP ACL (allowlist) |
| - | - | - |
| **How it works** | Vobiz challenges each call; Bolna answers with the username and password | Vobiz accepts calls from Bolna's signalling IPs without a challenge |
| **Create on** | **Credentials** tab → **+ Add** | **IP ACLs** tab → **+ Add** |
| **Values** | Username: letters, digits, `_` and `-`. Password: 5 to 20 characters, letters and digits plus at least one of `~!@#$%^&*()_+` | A name, then `15.252.21.46` and `13.206.230.198` (press Enter after each; a single IP becomes `/32`) |
| **Also enter in Bolna** | The same username and password, on the Carrier IPs step | Nothing |
| **Best for** | Any setup. This guide uses credentials | Fixed source IPs, no password to store |

**Credentials:** on the **Credentials** tab click **+ Add**. In **Create New Credentials List**, enter the **Username** and **Password**, leave **Active** on and click **Create Credentials List**. Copy the password now; Vobiz never shows it again.

![Vobiz Console Create New Credentials List dialog with Username and Password fields and the Active toggle](https://mintcdn.com/vobizai/T_7N4lQoLUeIGy8W/images/bolna/vobiz-create-credential.png?fit=max\&auto=format\&n=T_7N4lQoLUeIGy8W\&q=85\&s=f65b9394d3468e059d3822cdb04327b8)

**IP ACL:** on the **IP ACLs** tab click **+ Add**, name the list, add `15.252.21.46` and `13.206.230.198` and click **Create IP ACL**.

**2. Create the outbound trunk**

On the **Trunks** tab click **+ Create trunk**. In **Create Outbound Trunk**:

* **Trunk Name:** `bolna-outbound`
* **Recording & Transcription:** leave off, or turn on **Call Recording** to record every call on this trunk at Vobiz
* **Authentication & Linking:** pick your credential under **Credentials List**, or your list under **IP Access Control List**

Click **Create Trunk**.

![Vobiz Console Create Outbound Trunk dialog with the trunk name bolna-outbound, recording toggles off, and the Authentication and Linking section offering a Credentials List or an IP Access Control List](https://mintcdn.com/vobizai/T_7N4lQoLUeIGy8W/images/bolna/vobiz-create-outbound-trunk.png?fit=max\&auto=format\&n=T_7N4lQoLUeIGy8W\&q=85\&s=42573e8d1ec072425213e2b47f680cab)

The new trunk appears in the list with its **SIP Domain** (`xxxxxxxx.sip.vobiz.ai`) and the attached **Auth**. Copy the SIP Domain; Bolna dials this exact host, not `sip.vobiz.ai`.

![Vobiz Console Outbound Trunk list showing bolna-outbound with its SIP Domain, the credential bolna under Auth, and status Enabled](https://mintcdn.com/vobizai/T_7N4lQoLUeIGy8W/images/bolna/vobiz-outbound-trunk-created.png?fit=max\&auto=format\&n=T_7N4lQoLUeIGy8W\&q=85\&s=05cf19501e7d251d92d4b16ebea0ccef)

**3. Add Bolna's address as an origination URI**

Open [Inbound Trunks](https://console.vobiz.ai/app/sip/in/trunks) (sidebar **SIP Trunk → Inbound Trunks**), switch to the **Origination URIs** tab and click **+ Add**. In **Create URI**:

* **Name:** `bolna_in`
* **URI:** `trunk.bolna.ai:5060` (host and port only, no `sip:` prefix)
* **Transport:** `UDP` (or `TCP`; Bolna's edge does not accept TLS)
* **Active:** on

Click **Create URI**.

![Vobiz Console Create URI dialog with the name bolna\_in, the URI trunk.bolna.ai:5060, transport UDP and Active on](https://mintcdn.com/vobizai/T_7N4lQoLUeIGy8W/images/bolna/vobiz-create-origination-uri.png?fit=max\&auto=format\&n=T_7N4lQoLUeIGy8W\&q=85\&s=f5f8d511872b5673429c091a452b7000)

**4. Create the inbound trunk and link your number**

Back on the **Trunks** tab click **+ Create trunk**. In **Create Inbound Trunk**, enter the **Trunk Name** `bolna_inbound`, pick `bolna_in - trunk.bolna.ai:5060` under **Origination URI**, leave encryption and recording off, and click **Create Trunk**.

![Vobiz Console Create Inbound Trunk dialog with the trunk name bolna\_inbound and the origination URI dropdown showing bolna\_in trunk.bolna.ai:5060](https://mintcdn.com/vobizai/T_7N4lQoLUeIGy8W/images/bolna/vobiz-create-inbound-trunk.png?fit=max\&auto=format\&n=T_7N4lQoLUeIGy8W\&q=85\&s=687a7bd618ab5c1ffcb3ddd8698b765c)

The Console then opens **Link trunk with Phone Numbers**. On **Current Phone Numbers**, click **Select** next to the number Bolna should answer, then click **Link 1 Selected Number**.

![Vobiz Console Link trunk with Phone Numbers page with one number selected for the bolna\_inbound trunk](https://mintcdn.com/vobizai/T_7N4lQoLUeIGy8W/images/bolna/vobiz-link-numbers.png?fit=max\&auto=format\&n=T_7N4lQoLUeIGy8W\&q=85\&s=c3bc757861ec4adc3cd86499adb9aeb7)

> [!WARNING]
>
> Numbers that show **Linked to Application** cannot be selected. A number routes through a voice application **or** a trunk, not both. Detach such a number from its application first (for example one set up through the [streaming path](https://www.vobiz.ai/docs/integrations/bolna-streaming.md)).

## Part 2: Bolna

**1. Create the trunk**

In [Bolna](https://platform.bolna.ai/trunks), open **SIP Trunks** (under **Deploy** in the sidebar) and click **+ Create trunk**. The wizard has four steps.

**Provider:** under *Which carrier is this trunk for?* pick **Vobiz**. Enter a **Trunk name**, keep **Channels** at `10` (simultaneous calls), and paste the SIP Domain from step 2 into **Gateway to dial**, with no `sip:` prefix and no port. Click **Continue**.

![Bolna Create trunk wizard, Provider step, with Vobiz selected, a trunk name, 10 channels and the Vobiz SIP Domain in the Gateway to dial field](https://mintcdn.com/vobizai/T_7N4lQoLUeIGy8W/images/bolna/bolna-create-trunk-provider.png?fit=max\&auto=format\&n=T_7N4lQoLUeIGy8W\&q=85\&s=29f0dab780ba4b047b8f6efa0da4d85e)

**2. Carrier IPs and credentials**

**Carrier IPs** asks *Which addresses does Vobiz call from?* Bolna accepts calls to your numbers only from these addresses, so make sure all three Vobiz origination IPs are listed: `13.233.44.61`, `3.111.255.163` and `3.111.128.110`. Add any that is missing.

Under **Carrier credentials (optional)**, enter the **Username** and **Password** from step 1 if you chose credentials; leave both empty if you chose an IP ACL. Click **Continue**.

![Bolna Create trunk wizard, Carrier IPs step, listing the three Vobiz origination IPs and the carrier credentials username and password](https://mintcdn.com/vobizai/T_7N4lQoLUeIGy8W/images/bolna/bolna-create-trunk-carrier-ips.png?fit=max\&auto=format\&n=T_7N4lQoLUeIGy8W\&q=85\&s=bc623d0b5759424e6d095230ee2f0c31)

**3. Numbers, review, create**

**Numbers:** optionally enter your Vobiz number as `+91XXXXXXXXXX` and click **Add**; you can also add numbers later. Click **Continue**.

**Review:** check the summary and click **Create trunk**. The trunk page opens with health **Waiting for carrier**; that is normal until the first call crosses it.

![Bolna Create trunk wizard, Review step, summarising the Vobiz provider, three carrier IPs, the credential, the gateway and the next steps in the Vobiz console](https://mintcdn.com/vobizai/T_7N4lQoLUeIGy8W/images/bolna/bolna-create-trunk-review.png?fit=max\&auto=format\&n=T_7N4lQoLUeIGy8W\&q=85\&s=28b29b1fc95ba49f05543a41f4c0fca5)

**4. Add the number and pick the agent for inbound calls**

Open the trunk's **Numbers** tab. Set a **Default agent**: it answers any number on this trunk that has no agent of its own, and without one those calls are rejected. Then click **+ Add number**, enter the Vobiz number as `+91XXXXXXXXXX` and leave **Destination key** blank (Vobiz sends the plain digits). In the list, pick the agent in the number's **Agent** column.

![Bolna trunk Numbers tab with a default agent set, one Vobiz number listed with its agent, and the Add number button](https://mintcdn.com/vobizai/T_7N4lQoLUeIGy8W/images/bolna/bolna-trunk-numbers-agent.png?fit=max\&auto=format\&n=T_7N4lQoLUeIGy8W\&q=85\&s=5e5f6fa5b5dc8a0ab5e8f7c3de237f5e)

This is the whole inbound setup. Calls to the number reach the agent chosen here; the agent's own **Inbound Calling** toggle is not needed.

**5. Switch the agent to the trunk for outbound calls**

In **Agent Studio**, open the agent and go to the **Calling** tab. If **Telephony Provider** is greyed out, switch **Inbound Calling** off further down the tab and click **Save agent**; the field unlocks. Then set **Telephony Provider** to **SIP Trunk** and click **Save agent** again.

![Bolna Agent Studio Calling tab with the Telephony Provider dropdown open and SIP Trunk selected, and Inbound Calling off](https://mintcdn.com/vobizai/T_7N4lQoLUeIGy8W/images/bolna/bolna-calling-tab-sip-trunk.png?fit=max\&auto=format\&n=T_7N4lQoLUeIGy8W\&q=85\&s=c06ccbbcf3fca79515a84e821fccbae2)

> [!WARNING]
>
> With **Telephony Provider** set to **Vobiz**, outbound calls go through Bolna's built-in Vobiz provider, not through your trunk: they show as `vobiz outbound` in Bolna's Call History and never appear in your SIP trunk logs. Only **SIP Trunk** uses the trunk you created.

Click **Get a call from agent**. The dialog shows **Call from: SIP Trunk**; pick your trunk number under **Select a phone number**, enter a number you can answer and click **Call now**. Your phone shows the trunk number as the caller, and the call appears in Bolna's Call History as `trunk outbound`.

![Bolna Get a call from agent dialog showing Call from SIP Trunk, a phone number selector and a Call now button](https://mintcdn.com/vobizai/T_7N4lQoLUeIGy8W/images/bolna/bolna-get-a-call.png?fit=max\&auto=format\&n=T_7N4lQoLUeIGy8W\&q=85\&s=2049fe0f7426e06072a6c2ea22f97433)

**6. Test the trunk**

Click **Test trunk** on the trunk page (or open the **Activity** tab). Both tests run without an agent.

* **Test inbound:** click **Start listening**, then dial your Vobiz number from any phone within five minutes. Bolna answers and plays your voice back about a second later. This proves the Vobiz IPs, the origination URI and the number link.
* **Test outbound:** enter a phone number you can answer and click **Place echo call**. Bolna calls it through your outbound trunk; answer, speak, and hear the echo. The call ends after a minute. This proves the gateway and your credential or IP ACL.

![Bolna Test inbound card telling you to dial the trunk number from any phone, with a Start listening button](https://mintcdn.com/vobizai/T_7N4lQoLUeIGy8W/images/bolna/bolna-test-inbound.png?fit=max\&auto=format\&n=T_7N4lQoLUeIGy8W\&q=85\&s=93bc34cd99160e64cc07233988c0fe32)

Each test ends in **Completed** or **Failed** with the SIP code Vobiz returned. Then make a real call each way: dial the number (the agent from step 4 answers), and use **Get a call from agent** as in step 5. Both legs appear in the Vobiz Console under **SIP Trunk → Call Logs**.

> [!TIP]
>
> **The SIP trunk is live.** Calls to your linked numbers reach Bolna through the inbound trunk, and Bolna places calls through your outbound trunk with your number as caller ID.

## Troubleshooting

| Symptom | Cause | Fix |
| - | - | - |
| **Test inbound** fails or inbound calls are refused | A Vobiz origination IP is missing from the trunk's **Carrier IPs** | Add `13.233.44.61`, `3.111.255.163` and `3.111.128.110` on the trunk's **Connection** tab |
| **Test outbound** fails with `401` or `407` | The username or password differs between the two consoles, or Bolna's IPs are not on the IP ACL | Re-enter the credential under **Carrier credentials** on the **Connection** tab, or add `15.252.21.46` and `13.206.230.198` to the ACL |
| Outbound calls fail at once | **Gateway to dial** is `sip.vobiz.ai` instead of the trunk's own SIP Domain | Paste the trunk's `xxxxxxxx.sip.vobiz.ai` |
| **Create URI** rejects the value | A `sip:` prefix, or no port | Enter `trunk.bolna.ai:5060` |
| The number shows **Linked to Application** | It routes through a voice application | Detach it from the application, then link it to the inbound trunk |
| Calls connect with no audio | TLS selected on the origination URI, or a codec other than PCMU/PCMA | Use UDP or TCP and leave codecs at G.711 |
| Health stays **Waiting for carrier** | No call has crossed the trunk yet | Run **Test inbound** or **Test outbound** |
| **Telephony Provider** on the Calling tab is greyed out | The agent has an inbound number set under **Inbound Calling** | Switch **Inbound Calling** off, **Save agent**, pick **SIP Trunk**, save again; inbound stays assigned on the trunk's **Numbers** tab |
| Agent calls show as `vobiz outbound` and never reach **SIP Trunk → Call Logs** | The agent's **Telephony Provider** is **Vobiz** (Bolna's built-in provider), not **SIP Trunk** | Set it to **SIP Trunk** as in Part 2, step 5 |

## Resources

| Resource | Link |
| - | - |
| Bolna: Connect Vobiz with a SIP trunk | [bolna.ai/docs/sip-trunking/vobiz](https://www.bolna.ai/docs/sip-trunking/vobiz) |
| Bolna: SIP trunks overview | [bolna.ai/docs/sip-trunking/overview](https://www.bolna.ai/docs/sip-trunking/overview) |
| Vobiz: Outbound trunks, credentials and IP ACLs | [/platform/sip/outbound-trunks](https://www.vobiz.ai/docs/platform/sip/outbound-trunks.md) · [/platform/sip/credentials](https://www.vobiz.ai/docs/platform/sip/credentials.md) · [/platform/sip/ip-access-control-list](https://www.vobiz.ai/docs/platform/sip/ip-access-control-list.md) |
| Vobiz: Inbound trunks and origination URIs | [/platform/sip/inbound-trunks](https://www.vobiz.ai/docs/platform/sip/inbound-trunks.md) · [/platform/sip/origination-uri](https://www.vobiz.ai/docs/platform/sip/origination-uri.md) |
| Vobiz: IP allowlist | [/concepts/ip-whitelisting](https://www.vobiz.ai/docs/concepts/ip-whitelisting.md) |
| Vobiz: SIP trunking vs WebSockets | [/concepts/sip-vs-websockets](https://www.vobiz.ai/docs/concepts/sip-vs-websockets.md) |
| Vobiz: Streaming path for Bolna | [/integrations/bolna-streaming](https://www.vobiz.ai/docs/integrations/bolna-streaming.md) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.