Connect a Vobiz phone number to an xAI Grok voice agent over Direct SIP with TLS - bring your own number in regions where xAI does not provision numbers, including India.
xAI voice agents answer calls over SIP. Its Direct SIP option lets you attach a phone number you already own, so you can put a Grok agent on a Vobiz number in any region Vobiz serves - including India, where xAI does not provision numbers itself.
An inbound calling setup where someone dials your Vobiz number, Vobiz routes the call over TLS to xAI's SIP endpoint, and the Grok agent handles the conversation.
textCaller → Vobiz number → Vobiz inbound trunk → sip.voice.x.ai (TLS) → xAI Grok agent
In the xAI console, open your agent and add a new phone number. Select the Direct SIP tab rather than Twilio.

Fill in the fields:
| Field | Value |
|---|---|
| Name | Any label that identifies this number |
| Phone number | Your Vobiz number in E.164 format, for example +91XXXXXXXXXX |
| SIP URI | sip:{number}@sip.voice.x.ai;transport=tls |
| Allowed addresses | The Vobiz SIP signaling IPs - see below |
The SIP URI field shows {number} as a template. xAI resolves it to the number you entered, so the address Vobiz sends to becomes +91XXXXXXXXXX@sip.voice.x.ai.
⚠️ Warning: Keep
transport=tlsin the SIP URI. The origination URI you create in Step 2 must use the same transport, or the call will not connect.
Allowed addresses controls which hosts xAI accepts SIP traffic from. Add the Vobiz SIP signaling IPs so calls from your trunk are accepted:
text13.203.7.132 65.2.100.211 13.126.98.234 13.235.11.131 13.233.44.61 3.111.255.163 3.111.128.110 43.204.64.203 15.207.232.91 35.154.133.28
These are the India signaling IPs. For the full list including RTP media ranges, and for other regions, see IP Whitelisting.
{/* TODO: confirm whether the Authentication section in the xAI dialog needs credentials for this flow, or whether IP allow-listing alone is sufficient. */}
An origination URI is the SIP destination Vobiz routes inbound calls to. Navigate to Origination URIs and create one pointing at xAI.

| Field | Value |
|---|---|
| URI | +91XXXXXXXXXX@sip.voice.x.ai - your number, then the xAI SIP domain |
| Description | Optional, for example xAI Grok agent |
| Transport | TLS |
| Active | On |
ℹ️ Note: Use the same number here that you entered in xAI. The URI is what xAI matches the incoming call against.
Navigate to Inbound Trunks and create a trunk that uses the origination URI from Step 2.

| Field | Value |
|---|---|
| Trunk Name | Any label, for example xAI |
| Primary URI | Select the origination URI you created in Step 2 |
Two optional sections are available on the same screen:
Open the trunk you just created and link your Vobiz number to it under Linked Numbers.

Click Link Numbers, select your number, and confirm. The trunk detail view then shows the number under Linked Numbers (1), and the trunk status reads Enabled.
At this point the route is complete: the number is linked to the trunk, the trunk points at the origination URI, and the origination URI points at xAI.
Call your Vobiz number from any phone. The Grok agent should answer and begin the conversation.
Check that the number in the Vobiz origination URI exactly matches the number configured in xAI, including the + and country code.
Confirm the transport is TLS in both places - transport=tls in the xAI SIP URI and TLS on the Vobiz origination URI.
Verify the Vobiz SIP signaling IPs are present in the Allowed addresses list on the xAI number. See IP Whitelisting for the current list.
Open the trunk and confirm Status is Enabled and the number appears under Linked Numbers.
IP Whitelisting: Full SIP signaling and RTP media IP ranges
Callbacks: Receive call events on your own endpoint
Call Recording: Record, retrieve, and download calls on this trunk
SIP Trunking: How Vobiz trunks route calls
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.