Iko
11/28/2025, 10:37 AMVapi Support Bot
11/28/2025, 10:38 AMcall.start.error-get-transport means Vapi can't retrieve your Twilio transport configuration.
Please double-check that your Twilio credentials and phone number are correctly set in your environment variables. For example:
env
TWILIO_ACCOUNT_SID=your_account_sid
TWILIO_AUTH_TOKEN=your_auth_token
FROM_NUMBER=your_twilio_number
Update these values in your .env file or deployment settings, then restart your server and try again.
For more details, see the [Call ended reasons documentation](https://docs.vapi.ai/calls/call-ended-reason).
Source:
- [Call ended reasons documentation](https://docs.vapi.ai/calls/call-ended-reason)Iko
11/28/2025, 10:39 AMIko
11/28/2025, 10:40 AMVapi Support Bot
11/28/2025, 10:41 AMcall.start.error-get-transport error in the Vapi dashboard:
1. In your Twilio account, create an Elastic SIP Trunk and add Vapi's SIP server IPs (44.229.228.186 and 44.238.177.138) to the whitelist.
2. In the Vapi dashboard, go to Phone Numbers, click "Add Number," and register your Twilio number by following the prompts.
3. Once your number is registered, you can make outbound calls from the dashboard—no coding needed.
If you need more details, see the [Vapi Twilio integration guide](https://docs.vapi.ai/advanced/sip/twilio).
Source:
- [Vapi Twilio SIP Integration Guide](https://docs.vapi.ai/advanced/sip/twilio)Iko
11/28/2025, 10:49 AMIko
11/28/2025, 10:50 AMVapi Support Bot
11/28/2025, 10:51 AMIko
11/28/2025, 10:58 AMIko
11/28/2025, 11:00 AMVapi Support Bot
11/28/2025, 11:01 AM44.229.228.186 and 44.238.177.138) in your trunk's termination settings. This is a common cause of the call.in-progress.error-sip-outbound-call-failed-to-connect error.
After updating, try your outbound call again from the Vapi dashboard.
For reference, see the [Vapi Twilio SIP integration guide](https://docs.vapi.ai/advanced/sip/twilio).
Source:
- [Vapi Twilio SIP Integration Guide](https://docs.vapi.ai/advanced/sip/twilio)Iko
11/28/2025, 11:15 AMVapi Support Bot
11/28/2025, 11:15 AM44.229.228.186 and 44.238.177.138) as whitelisted in the trunk's termination settings?
Source:
- [Vapi Twilio SIP Integration Guide](https://docs.vapi.ai/advanced/sip/twilio)Iko
11/28/2025, 11:20 AMVapi Support Bot
11/28/2025, 11:21 AMbash
curl -X POST https://api.vapi.ai/phone-number \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_VAPI_API_KEY" \
-d '{
"provider": "byo-phone-number",
"name": "Twilio SIP Number",
"number": "YOUR_TWILIO_NUMBER",
"numberE164CheckEnabled": false,
"credentialId": "YOUR_CREDENTIAL_ID"
}'
Replace the placeholders with your actual details. This should correctly register your Twilio number and may resolve the SIP connection issue. For more details, see the [Vapi Twilio SIP integration guide](https://docs.vapi.ai/advanced/sip/twilio).
Source:
- [Vapi Twilio SIP integration guide](https://docs.vapi.ai/advanced/sip/twilio)Iko
11/28/2025, 11:23 AMVapi Support Bot
11/28/2025, 11:23 AMhttps://api.vapi.ai/phone-number, copy the code snippet provided, and fill in your details (API key, Twilio number, etc.) in the appropriate fields.
3. Click "Send" to register your Twilio number.
If you need step-by-step help with Postman, let me know and I can walk you through each screen.
For more details, see the [Vapi Twilio SIP integration guide](https://docs.vapi.ai/advanced/sip/twilio).
Source:
- [Vapi Twilio SIP integration guide](https://docs.vapi.ai/advanced/sip/twilio)Iko
11/28/2025, 11:43 AMVapi Support Bot
11/28/2025, 11:44 AMhttps://api.vapi.ai/+12243872329 is not correct.
You should use the endpoint https://api.vapi.ai/phone-number and include your phone number in the JSON body of a POST request.
Here’s a concrete example:
json
POST https://api.vapi.ai/phone-number
{
"provider": "byo-phone-number",
"number": "+12243872329",
"credentialId": "YOUR_CREDENTIAL_ID"
}
Replace the placeholders with your actual details.
For more info, see the [API documentation](https://docs.vapi.ai/api-reference/phone-numbers/create).
Source:
- [Create Phone Number API Reference](https://docs.vapi.ai/api-reference/phone-numbers/create)Iko
11/28/2025, 11:58 AMVapi Support Bot
11/28/2025, 11:59 AMhttps://api.vapi.ai/phone-number.
2. Under the Headers tab, add:
- Authorization: Bearer YOUR_VAPI_API_KEY
- Content-Type: application/json
3. In the Body tab (select "raw" and "JSON"), paste and edit:
json
{
"provider": "byo-phone-number",
"name": "Twilio SIP Number",
"number": "+YOUR_TWILIO_NUMBER",
"numberE164CheckEnabled": false,
"credentialId": "YOUR_CREDENTIAL_ID"
}
Click "Send" to register. Replace all placeholders with your actual details.
For more info, see the [API documentation](https://docs.vapi.ai/api-reference/phone-numbers/create).
Source:
- [Create Phone Number API Reference](https://docs.vapi.ai/api-reference/phone-numbers/create)Iko
11/28/2025, 12:26 PMIko
11/28/2025, 12:27 PMIko
11/28/2025, 12:27 PMVapi Support Bot
11/28/2025, 12:28 PMhttps://api.vapi.ai/phone-number
Then, in the Body (set to "raw" and "JSON"), use:
json
{
"provider": "byo-phone-number",
"number": "+12243872329",
"credentialId": "YOUR_CREDENTIAL_ID"
}
Just put your phone number in the JSON body as shown—do not change the URL!
For more details, see the [API documentation](https://docs.vapi.ai/api-reference/phone-numbers/create).
Source:
- [Create Phone Number API Reference](https://docs.vapi.ai/api-reference/phone-numbers/create)Iko
11/28/2025, 12:32 PMIko
11/28/2025, 12:32 PMVapi Support Bot
11/28/2025, 12:34 PMYOUR_CREDENTIAL_ID, you need to create a SIP trunk credential in Vapi. Here’s how:
1. Make a POST request to the credentials endpoint (you can use Postman) with your Twilio SIP details:
json
POST https://api.vapi.ai/credential
{
"provider": "byo-sip-trunk",
"name": "Twilio Trunk",
"gateways": [
{ "ip": "YOUR_TWILIO_GATEWAY_ID", "inboundEnabled": false }
],
"outboundLeadingPlusEnabled": true
}
2. The response will include an "id" field—**this is your `credentialId`** to use in the phone number registration step.
For more details, see the [Vapi Twilio SIP integration guide](https://docs.vapi.ai/advanced/sip/twilio).
Source:
- [Vapi Twilio SIP integration guide](https://docs.vapi.ai/advanced/sip/twilio)Iko
11/28/2025, 12:53 PMVapi Support Bot
11/28/2025, 12:55 PMIko
11/28/2025, 12:58 PMVapi Support Bot
11/28/2025, 12:59 PMhttps://api.vapi.ai/credential.
Step 2: Under Headers, add:
- Authorization: Bearer YOUR_VAPI_API_KEY
- Content-Type: application/json
Step 3: In the Body (set to "raw" and "JSON"), paste and edit:
json
{
"provider": "byo-sip-trunk",
"name": "Twilio Trunk",
"gateways": [
{ "ip": "YOUR_TWILIO_SIP_DOMAIN", "inboundEnabled": false }
],
"outboundLeadingPlusEnabled": true
}
Click "Send" and copy the "id" from the response—this is your credentialId for the next step.
For more, see the [Vapi Twilio SIP integration guide](https://docs.vapi.ai/advanced/sip/twilio).
Source:
- [Vapi Twilio SIP integration guide](https://docs.vapi.ai/advanced/sip/twilio)Iko
11/28/2025, 1:06 PMVapi Support Bot
11/28/2025, 1:07 PMhttps://api.vapi.ai/phone-number.
Set the **Headers**:
- Authorization: Bearer YOUR_VAPI_API_KEY
- Content-Type: application/json
In the Body (set to "raw" and "JSON"), use:
json
{
"provider": "byo-phone-number",
"number": "+12243872329",
"credentialId": "a0892c19-225d-43c8-98af-9c574ebbfad0"
}
Click "Send" to register your number.
For more details, see the [API documentation](https://docs.vapi.ai/api-reference/phone-numbers/create).
Source:
- [Create Phone Number API Reference](https://docs.vapi.ai/api-reference/phone-numbers/create)Iko
11/28/2025, 1:17 PMIko
11/28/2025, 1:17 PMIko
11/28/2025, 1:19 PMIko
11/28/2025, 1:19 PMVapi Support Bot
11/28/2025, 1:21 PM44.229.228.186
44.238.177.138
After confirming, try your call again.
For more details, see the [Vapi Twilio SIP integration guide](https://docs.vapi.ai/advanced/sip/twilio).
Source:
- [Vapi Twilio SIP integration guide](https://docs.vapi.ai/advanced/sip/twilio)Iko
11/28/2025, 1:35 PMVapi Support Bot
11/28/2025, 1:36 PMoutboundAuthenticationPlan section like this:
json
{
"provider": "byo-sip-trunk",
"name": "Twilio Trunk",
"gateways": [
{ "ip": "impel-elastic.pstn.twilio.com", "inboundEnabled": false }
],
"outboundLeadingPlusEnabled": true,
"outboundAuthenticationPlan": {
"authUsername": "YOUR_TWILIO_USERNAME",
"authPassword": "YOUR_TWILIO_PASSWORD"
}
}
Replace with your actual Twilio SIP credentials, then use the new credentialId for your phone number.
See the [Vapi Twilio SIP integration guide](https://docs.vapi.ai/advanced/sip/twilio) for more details.
Source:
- [Vapi Twilio SIP integration guide](https://docs.vapi.ai/advanced/sip/twilio)Iko
11/28/2025, 1:47 PMVapi Support Bot
11/28/2025, 1:48 PMcredentialId? If not, please update the phone number with the new credentialId and try making a call again.
Let me know if you need step-by-step instructions for this update.
Sources:
- [Vapi Twilio SIP integration guide](https://docs.vapi.ai/advanced/sip/twilio)
- [Create Phone Number API Reference](https://docs.vapi.ai/api-reference/phone-numbers/create)Iko
11/28/2025, 1:49 PMIko
11/28/2025, 1:50 PMVapi Support Bot
11/28/2025, 1:51 PMcredentialId (the one with your Twilio SIP credentials) using a PATCH request like this:
json
{
"credentialId": "YOUR_NEW_CREDENTIAL_ID"
}
No additional authentication fields are needed at the phone number level—authentication is handled by the SIP trunk credential.
See the [Update Phone Number API Reference](https://docs.vapi.ai/api-reference/phone-numbers/update?explorer=true) for details.
Source:
- [Update Phone Number API Reference](https://docs.vapi.ai/api-reference/phone-numbers/update?explorer=true)Iko
11/28/2025, 1:54 PMIko
11/28/2025, 1:54 PMVapi Support Bot
11/28/2025, 1:56 PMhttps://api.vapi.ai/phone-number with these settings:
Headers:
- Authorization: Bearer YOUR_VAPI_API_KEY
- Content-Type: application/json
Body (raw, JSON):
json
{
"provider": "byo-phone-number",
"number": "+12243872329",
"credentialId": "YOUR_NEW_CREDENTIAL_ID"
}
Replace YOUR_VAPI_API_KEY and YOUR_NEW_CREDENTIAL_ID with your actual values. Click "Send" in Postman to complete the registration.
For more details, see the [API documentation](https://docs.vapi.ai/api-reference/phone-numbers/create?explorer=true).
Source:
- [Create Phone Number API Reference](https://docs.vapi.ai/api-reference/phone-numbers/create?explorer=true)Iko
11/28/2025, 1:59 PMVapi Support Bot
11/28/2025, 2:01 PMjson
{
"provider": "byo-phone-number",
"number": "+12243872329",
"credentialId": "YOUR_SIP_TRUNK_CREDENTIAL_ID"
}
Replace YOUR_SIP_TRUNK_CREDENTIAL_ID with the actual credentialId returned from the SIP trunk creation response (it should look like a0892c19-225d-43c8-98af-9c574ebbfad0).
See the [Vapi Twilio SIP integration guide](https://docs.vapi.ai/advanced/sip/twilio) for reference.
Source:
- [Vapi Twilio SIP integration guide](https://docs.vapi.ai/advanced/sip/twilio)Iko
11/28/2025, 2:08 PMIko
11/28/2025, 2:09 PMVapi Support Bot
11/28/2025, 2:10 PMe43c2284-0e98-4ba5-9608-3fd2f3cfbbd1) in your POST request. Your request should look like this:
POST to https://api.vapi.ai/phone-number
Headers:
- Authorization: Bearer YOUR_VAPI_API_KEY
- Content-Type: application/json
Body (raw, JSON):
json
{
"provider": "byo-phone-number",
"number": "+12243872329",
"credentialId": "e43c2284-0e98-4ba5-9608-3fd2f3cfbbd1"
}
Just replace YOUR_VAPI_API_KEY with your actual API key. No need to add user/password at this step—the authentication is already handled by the SIP trunk credential you created.
Once you send this request, your phone number should be registered and ready for use!Iko
11/28/2025, 2:14 PMIko
11/28/2025, 2:14 PMIko
11/28/2025, 2:15 PMIko
11/28/2025, 2:16 PMVapi Support Bot
11/28/2025, 2:17 PM44.229.228.186
- 44.238.177.138
If either IP is missing, add it and try your call again.
For reference, see the [Vapi Twilio SIP integration guide](https://docs.vapi.ai/advanced/sip/twilio).
Source:
- [Vapi Twilio SIP integration guide](https://docs.vapi.ai/advanced/sip/twilio)Iko
11/28/2025, 2:20 PMIko
11/28/2025, 2:22 PMVapi Support Bot
11/28/2025, 2:23 PMauthPassword field, which is required for authentication with Twilio. Please recreate your SIP trunk credential with both authUsername and authPassword included, like this:
json
{
"provider": "byo-sip-trunk",
"name": "Twilio Trunk",
"gateways": [
{ "ip": "impel-elastic.pstn.twilio.com", "inboundEnabled": false }
],
"outboundAuthenticationPlan": {
"authUsername": "YOUR_TWILIO_USERNAME",
"authPassword": "YOUR_TWILIO_PASSWORD"
},
"outboundLeadingPlusEnabled": true
}
After creating the new credential, re-register your phone number using the new credentialId.
See the [Vapi Twilio SIP integration guide](https://docs.vapi.ai/advanced/sip/twilio) for reference.
Source:
- [Vapi Twilio SIP integration guide](https://docs.vapi.ai/advanced/sip/twilio)Iko
11/28/2025, 2:25 PMIko
11/28/2025, 2:26 PMVapi Support Bot
11/28/2025, 2:26 PMleonorasherifi
12/03/2025, 12:04 PMfrancodarget
12/05/2025, 4:14 AMleonorasherifi
12/05/2025, 8:38 AMChiranjeet Mishra
12/05/2025, 10:20 AMfrancodarget
12/05/2025, 5:12 PMkyle
12/05/2025, 7:33 PMfrancodarget
12/06/2025, 2:53 PMChiranjeet Mishra
12/10/2025, 1:08 AM"status":"ended"
"endedReason":"call.start.error-vapi-number-international"