Toketo1
04/05/2025, 8:20 PMVapi Support Bot
04/05/2025, 8:22 PMVapi Support Bot
04/05/2025, 8:22 PMToketo1
04/06/2025, 12:39 AMVapi Support Bot
04/06/2025, 12:41 AMcurl -X POST https://api.vapi.ai/credential \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your-vapi-private-api-key" \
-d '{
"provider": "byo-sip-trunk",
"name": "Telnyx Trunk",
"gateways": [
{
"ip": "sip.telnyx.com"
}
]
}'
2. **Associate a Phone Number with the SIP Trunk**:
```
curl -X POST https://api.vapi.ai/phone-number \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your-vapi-private-api-key" \
-d '{
"provider": "byo-phone-number",
"name": "Telnyx SIP Number",
"number": "your-sip-phone-number",
"numberE164CheckEnabled": false,Vapi Support Bot
04/06/2025, 12:41 AM3. **Make outbound calls with the tech prefix**:
curl --location 'https://api.vapi.ai/call/phone' \
--header 'Authorization: Bearer your-vapi-private-api-key' \
--header 'Content-Type: application/json' \
--data '{
"assistantId": "your-assistant-id",
"customer": {
"number": "tech-prefix-with-phone-number-without-plus-signal",
"numberE164CheckEnabled": false
},
"phoneNumberId": "your-phone-id"
}'
```
**Important note about the phone number format**: When making outbound calls, you need to include the tech prefix with the phone number without the plus sign. For example, if your phone number is +6699999999 and your Tech Prefix is 1234, you should format it as: 12346699999999
All of this information is based on the [Telnyx integration guide](https://docs.vapi.ai/advanced/sip/telnyx) I found.
Is there anything specific about this setup process you'd like me to clarify further?
Sources:
- [How to set up outbound calls correctly with Telnyx](https://docs.vapi.ai/advanced/sip/telnyx)
- [Vapi integration with Telnyx for outbound calls](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1344680024665493524)
- [Telnyx configuration settings for Vapi outbound calls](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1338562413334761524)Praveen Nair
04/06/2025, 8:43 AM