Setting up outbound calls with Ultravox and Vobiz is straightforward: send Ultravox a request to start a call along with your Vobiz credentials, and Ultravox handles the rest.Documentation Index
Fetch the complete documentation index at: https://docs.vobiz.ai/llms.txt
Use this file to discover all available pages before exploring further.
What you’ll build
A programmatic outbound calling integration where Ultravox places calls through your Vobiz SIP trunk, with the Ultravox AI agent driving the conversation once the call is answered.Prerequisites
- Ultravox account with API key and an agent → Ultravox dashboard
- Vobiz account with a SIP trunk → Vobiz Console
- A Vobiz phone number to use as caller ID
Step 1: Gather your credentials
You need three pieces of information to connect the two systems.| Source | Item | Where to get | Value / description |
|---|---|---|---|
| Ultravox | API key | Ultravox keys | YOUR_API_KEY |
| Ultravox | Agent ID | Ultravox dashboard | YOUR_AGENT_ID |
| Vobiz | SIP domain | Vobiz trunks | YOUR_DOMAIN.sip.vobiz.ai |
| Vobiz | Username | Vobiz trunks | YOUR_USERNAME |
| Vobiz | Password | Vobiz trunks | YOUR_PASSWORD |
| Vobiz | From number | Vobiz numbers | +91XXXXXXXXXX |
Step 2: Place an outbound call
Unlike inbound calls, you don’t need to add a URI to Vobiz. Send aPOST request to Ultravox, and Ultravox pushes the call to Vobiz.
Step 3: Critical parameters explained
to- destination URI. Format:sip:NUMBER@VOBIZ_DOMAIN.from- your caller ID. Most SIP providers (including Vobiz) reject the call if this doesn’t match a number you actually purchased from them.firstSpeakerSettings: { "user": {} }- required for outbound calls. It tells the AI to wait for the human to say “hello” before speaking, so the AI doesn’t finish its greeting while the call is still connecting.
Step 4: Call lifecycle
- Request - you run the curl. Ultravox returns a
callIdimmediately. - Invite - Ultravox sends a SIP
INVITEto your Vobiz domain using your credentials. - Ringing - the destination phone starts ringing. SIP billing starts now.
- Connect - the user picks up and says “hello”.
- Conversation - Ultravox detects the speech and the AI agent starts the conversation.
Troubleshooting
If the call doesn’t ring, use this API to see why Vobiz rejected it:| Code | Meaning |
|---|---|
| 403 Forbidden | Wrong username/password or your IP isn’t allowed. |
| 407 Proxy Authentication Required | Normal - Ultravox should handle it automatically using your password. |
| 480 Temporarily Unavailable | The destination number is busy or turned off. |
Next steps
- See the Ultravox documentation for advanced agent configuration.
- Read about Vobiz SIP trunks to manage your trunk credentials.
- Track call records in the Vobiz Console.