Jose
03/29/2025, 2:00 PMJose
03/29/2025, 2:01 PMVapi Support Bot
03/29/2025, 2:02 PMnumberE164CheckEnabled
parameter to false
when creating a phone number associated with a 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,
"credentialId": "your-new-trunk-credential-id-which-you-got-from-previous-step"
}'
2. **Use SIP URIs for Call Transfer**: When creating a tool to transfer a call, you can specify the extension directly and disable the E.164 check as shown in [this Discord post](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1339709058587820132):
curl -X POST https://api.vapi.ai/tool \
-H "Authorization: Bearer " \
-H "Content-Type: application/json" \
-d '{
"type": "transferCall",
"function": {
"name": ""
},
"destinations": [
{
"type": "number",
"number": "insert-number-here",
"extension": "insert-ext",
"numberE164CheckEnabled": false
}
]
}'
Vapi Support Bot
03/29/2025, 2:02 PMAniah
03/30/2025, 9:34 AMJose
04/01/2025, 4:07 PMJose
04/01/2025, 4:07 PMAniah
04/01/2025, 8:39 PM