Skip to main content

SIP (BYOP) Setup

This guide walks you through connecting your own SIP carrier to Vocobase for inbound and outbound calling.
SIP is a Bring-Your-Own-Provider (BYOP) transport. You bring a carrier that supports standard SIP, and Vocobase manages the voice-agent connection for inbound and outbound calls.

Prerequisites

  • A Vocobase partner account with "SIP" present in allowed_telephony_providers (check GET /api/v2/config). If it is not listed, contact your Vocobase account manager to enable it.
  • An account with any SIP carrier, with the following details ready:
    • SIP host — the carrier’s SIP server hostname (e.g., sip.your-carrier.com)
    • Outbound auth username + password — the SIP credentials your carrier issues for INVITE authentication
    • Source IPs — the carrier’s egress IPs from which inbound SIP INVITEs originate (used to allowlist inbound traffic)
    • At least one DID (phone number in E.164 format) provisioned on the carrier for inbound and/or outbound voice
  • A Vocobase V2 API key

Step 1: Gather your carrier credentials

1

Log in to your SIP carrier's portal

Sign in to your carrier’s dashboard (Vobiz, Tata Tele, Knowlarity, or whichever ITSP you use).
2

Locate your SIP trunk settings

Find the SIP trunk / SIP gateway section. You are looking for:
  • SIP host — typically a hostname like sip.carrier.com or pbx.carrier.com
  • Auth username and auth password — the credentials Vocobase will present when placing outbound INVITEs through your carrier
  • Source IPs — the IPs your carrier uses to send inbound INVITEs to subscribers. Most carriers publish these in their docs.
Your SIP auth password grants outbound calling on your trunk. Treat it like any production secret.
3

Confirm your DID(s)

From the carrier portal, note each phone number you plan to use, in E.164 format (e.g., +918011223344). These are the numbers Vocobase will use as caller IDs on outbound calls and bind to inbound routing on inbound calls.

Step 2: Add the SIP connection with the V2 API

Create a named SIP connection and store the returned connection_id.
Paste the livekit_sip_uri into your carrier’s DID-origination or outbound routing setting so that calls to your DIDs are forwarded to Vocobase. The exact field name varies by carrier, often called origination URI, SIP termination URL, or destination SIP URI.
Connections created through the V2 API also appear in the Vocobase dashboard telephony settings with their name and connection ID.

Step 3: Make an outbound test call

Start an outbound call with "provider": "sip". If your partner account has multiple active SIP connections, include connection_id.
A successful response looks like:
Passing only "provider": "sip" remains valid while there is exactly one active SIP connection.

How it works

  • Outbound — Vocobase starts the call through your SIP carrier and connects the call to your selected agent.
  • Inbound — When a caller dials one of your DIDs, your carrier forwards the call to the SIP URI you configured and Vocobase routes it to the assigned agent.
  • Transfer — Transfers use the same configured carrier connection and include transfer metadata in the session.completed webhook.

Troubleshooting

Next steps

Telephony Connections

Create and manage multiple named connections.

Vobiz Setup

Configure Vobiz as another telephony provider.

Quick Start

Create an agent and make your first call.