Bland Integration
This guide walks you through connecting your Bandwidth phone numbers to a Bland hosted voice agent. This integration conforms to a bring-your-own-carrier (BYOC) architecture where SIP trunking is used to connect Bandwidth and Bland on your behalf. Once you're set up, your Bland agent can place outbound calls and answer inbound calls using your Bandwidth numbers and network.
This is a verified integration meaning that Bandwidth has built and tested the integration conformant to the documentation provided herein. This integration is enabled via configuration. No development is required.
This verified integration is only supported for accounts on the Bandwidth Universal Platform. Integrations on the legacy platform are not verified and supported best effort only.
Before you start
- You will need a Bandwidth Universal Platform account with Bland interconnect capability. To enable it, open a ticket with your account representative. Include the Bandwidth admin user who will configure this integration. Be sure to indicate that you want a Bland integration.
- A Bland account with SIP trunking enabled
Calling Features Supported
- Inbound calls to your agent
- Outbound calls from your agent
- Calls redirected from your agent
Configure Bandwidth
Create your Bandwidth SIP Endpoint
Bland requires a Bandwidth SIP Endpoint for both inbound and outbound calls, so complete this section even if you only plan to use one direction. The Bandwidth SIP Endpoint is a fully qualified domain name (FQDN) plus a port.
<hostname>.auth.bandwidth.com:port
The FQDN hostname is actually comprised of two parts: 1) a realm name you create, and 2) a Bandwidth supplied part:
<your realm name>-<bandwidthpart>.auth.bandwidth.com
Bandwidth creates the FQDN when you define a SIP realm.
-
In the Bandwidth App, go to Account → SIP Credentials → Manage Realms and click Add to create a realm.
- If your account has more than one trunk, select your Bland trunk in Trunk group.
- Give the realm a name (e.g.
bland1) and an optional description. - Bandwidth creates the FQDN for the realm. Copy the FQDN exactly as it appears in the Bandwidth App. You'll paste it into Bland as part of your SIP Endpoint.
- For example, if your realm name is
bland1, the FQDN will look likebland1-decce2.auth.bandwidth.com.

-
In order to complete the SIP Endpoint definition you will need to discover the port number assigned. Go to Trunk Group Configurations in the Bandwidth App and note the port assigned to your trunk group. You'll combine this with the FQDN when completing setup in Bland.

For example, a complete SIP Endpoint looks like bland1-decce2.auth.bandwidth.com:5239.
Configure inbound calls
To send inbound calls to your Bland agent, create a Voice Configuration Package (VCP) in Bandwidth that routes your number to Bland's SIP domain.
For full details on VCPs, see Managing Voice Configuration Packages. Otherwise, follow the steps below.
Create the VCP
- In the Bandwidth App, go to Service Management → Voice Configuration and click Add Package.
- Enter a Package name (for example,
Bland) and an optional description. - Under Routing, create the Primary route and click Add endpoint.
- Set the endpoint type to Route to domain name and enter Bland's domain:
us2.sip.bland.ai - Click Create Package.
If your account has more than one trunk, click + Optional attributes on the Primary route and set Trunk group to your Bland trunk.
When you're done, your routing should look like this:

Assign your number to the VCP
- In the Bandwidth App, open the phone number you want your Bland agent to answer.
- In the Voice configuration package drop-down menu, select the VCP you just created, and click Save.
Inbound calls to that number now route to your Bland agent.

You may add multiple numbers to your VCP and calls to those numbers will route to Bland. Within Bland you can assign those numbers to the same agent or different agents.
Configure outbound calls
Bland authenticates outbound calls using credentials you define on your SIP realm. Complete this section only if you plan to place outbound calls.
- Go to Account → SIP Credentials and click Add to create a credential.
- Enter a Username and Password.
- Select the realm you created when you created your SIP Endpoint.
- Save. Bland uses these credentials to authenticate your outbound calls.
Configure Bland
Bland configures every SIP trunk to support both inbound and outbound calls. Create the trunk even if you only plan to use inbound calls.
-
Sign in to your Bland account, or create one if you haven't already.
-
Go to Phone Numbers.
-
Select SIP at the top of the page.
-
Click Create Trunk in the upper right to open the trunk wizard.
-
Fill in each step of the wizard:
- SIP Endpoint: Enter the SIP Endpoint you created in Bandwidth: the FQDN plus the port assigned to your trunk group. For example:
bland1-decce2.auth.bandwidth.com:5239 - Configure your firewall: Bandwidth has already configured the firewall. Check the box indicating your firewall has been updated and continue setup
- Authentication: For outbound calls, enter the SIP username and password you created and assigned to that realm.
- Add Numbers: Add the Bandwidth number you want to call from, or receive calls on, in E.164 format with a leading
+(for example,+19195551234).
- SIP Endpoint: Enter the SIP Endpoint you created in Bandwidth: the FQDN plus the port assigned to your trunk group. For example:
-
Save the trunk.
-
Assign an agent to your phone number:
- Find your number under Phone Numbers and click Configure.
- Under Assignment, click Configure number.
- Select the agent from the drop down list.

Your Bland agent can now place outbound calls and answer inbound calls through Bandwidth using that number.
Bland will perform some connection checks when creating the trunk group. It is normal for it to report errors. Disregard these for now.
If you don't see the SIP option in Bland, your Bland account may not have SIP trunking turned on yet. Contact Bland support to enable it.
Troubleshooting
| Symptom | Likely cause | What to check |
|---|---|---|
Outbound calls rejected with 403 or 407 | SIP credential or realm mismatch | Make sure the SIP endpoint in Bland matches the FQDN Bandwidth created for your realm exactly, and that the username and password match the credential assigned to that realm. |
| Calls fail before reaching Bandwidth | Wrong endpoint or port | Confirm you copied the FQDN verbatim and used the port from your Bandwidth trunk group configuration. |
| Call connects but there's no audio | Transport or media mismatch | Make sure the transport, port, and media encryption settings match on both sides. |
| Number won't save in Bland | Number format | Enter the number in E.164 format with a leading +. |
| SIP option is missing in Bland | SIP not enabled on the Bland account | Contact Bland support to enable SIP trunking. |
Resources
- Managing Voice Configuration Packages — Bandwidth
- Bland — Bland