Skip to main content

How do I connect a virtual phone number to my AI voice platform like Vapi or Retell AI?

Connecting a Vobiz phone number to any AI voice platform takes three steps: provision a DID number in Vobiz, configure your AI platform to use Vobiz as its SIP trunk provider, and point the number’s inbound answer URL at your AI platform’s webhook. The entire process takes under 10 minutes and requires no code for most platforms.

Step 1 — Provision a Vobiz Phone Number

  1. Log in to console.vobiz.ai
  2. Navigate to Phone Numbers > Buy Number
  3. Select your country, number type (local DID, mobile, or toll-free), and click Purchase
  4. The number is live immediately
You can also provision numbers programmatically via the Number Provisioning API.

Step 2 — Create a Vobiz Application

Vobiz routes calls using Applications — each Application holds the answer URL that your AI platform provides for inbound calls.
  1. Navigate to Applications > Create Application
  2. Set the Answer URL to your AI platform’s inbound call webhook (see platform-specific instructions below)
  3. Set the Hangup URL if you need end-of-call events
  4. Assign your phone number to this Application

Step 3 — Configure Your AI Platform

Vapi
  • Go to Phone Numbers > Import > SIP Trunk
  • Enter your Vobiz SIP domain and credentials
  • Vapi handles inbound calls and uses Vobiz for outbound calls from that number
  • Full guide: Vapi + Vobiz
Retell AI
  • Go to Phone Numbers > Import Phone Number > Custom Telephony / SIP
  • Enter your Vobiz SIP trunk URI and credentials
  • Full guide: Retell AI + Vobiz
LiveKit
  • Vobiz connects the PSTN call as a LiveKit SIP participant
  • Configure sip_trunk_id in your LiveKit SIP dispatch rules to route inbound Vobiz calls to your LiveKit room
  • Full guide: LiveKit + Vobiz
ElevenLabs Conversational AI
  • Navigate to Conversational AI > Phone Numbers > Import
  • Select Vobiz as the carrier and enter your SIP credentials
  • Full guide: ElevenLabs + Vobiz
Pipecat
  • Configure the SIPTransport in your Pipecat pipeline with your Vobiz SIP endpoint
  • Vobiz streams raw audio to your Pipecat WebSocket endpoint at your configured sample rate
  • Full guide: Pipecat + Vobiz
Sarvam AI

Making Outbound Calls From Your AI Agent

To trigger an outbound call from your AI agent through Vobiz:
The answer_url is where Vobiz fetches call handling instructions on answer — this can point directly to your AI platform’s inbound webhook or your own server that returns VobizXML.

Frequently Asked Questions

Vobiz has documented integrations with Vapi, Retell AI, LiveKit, Pipecat, ElevenLabs, Bolna, Ultravox, Sarvam AI, OpenAI Realtime, and 3CX. Any platform that accepts a standard SIP trunk or WebSocket audio stream will work.
Yes. A single Vobiz number handles inbound calls (routed to your AI platform via the Application answer URL) and outbound calls (triggered via the Calls API with the number as the from field).
Vobiz supports μ-law (PCMU) at 8kHz by default, and linear PCM at 8kHz, 16kHz, or 24kHz for platforms requiring higher sample rates. Configure the codec in your Vobiz Application settings.
No. A single Vobiz SIP trunk works across multiple AI platforms. You can assign different phone numbers to different Applications, each pointing to a different AI platform’s answer URL.
Under 10 minutes. Provision a number, create an Application with Vapi’s webhook URL, assign the number, and import the SIP credentials into Vapi’s dashboard.