Run Ultravox conversational AI over Vobiz SIP trunking - configure your trunk, dispatch outbound calls, and reach 130+ countries including India.
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.
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.
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 |
Unlike inbound calls, you don't need to add a URI to Vobiz. Send a POST request to Ultravox, and Ultravox pushes the call to Vobiz.
bashcurl -X POST "https://api.ultravox.ai/api/agents/YOUR_AGENT_ID/calls" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "medium": { "sip": { "outgoing": { "to": "sip:+919XXXXXXXXX@YOUR_VOBIZ_DOMAIN.sip.vobiz.ai", "from": "YOUR_VOBIZ_NUMBER", "username": "YOUR_VOBIZ_USERNAME", "password": "YOUR_VOBIZ_PASSWORD" } } }, "firstSpeakerSettings": { "user": {} } }'
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.callId immediately.INVITE to your Vobiz domain using your credentials.If the call doesn't ring, use this API to see why Vobiz rejected it:
bash# Replace CALL_ID with the ID returned by the create-call request curl -X GET "https://api.ultravox.ai/api/calls/CALL_ID/sip/logs" \ -H "X-API-Key: YOUR_API_KEY"
Common SIP error codes:
| 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. |
Connect 3CX PBX to Vobiz SIP trunking for inbound and outbound calling across 130+ countries - configure a generic SIP trunk in minutes.
Connect an Agora Conversational AI agent to Vobiz SIP trunking - add a Vobiz number to Agora for outbound campaigns and route inbound calls to your agent, including India and 130+ countries.
Bolna ships Vobiz as a built-in telephony provider. Paste two credentials into the Providers screen and your agents place and answer calls on numbers in 130+ countries, reaching 190, with audio streaming rather than a SIP trunk.
We use cookies to run this site and, with your permission, to understand how it's used. Read our Cookie Policy.