Tiago Machado
05/15/2025, 3:32 PMVapi Support Bot
05/15/2025, 3:34 PMVapi Support Bot
05/15/2025, 3:34 PMsipUri
, server, username, password, and domain in your Vapi configuration exactly match those used in your working MicroSip setup. For example:
json
{
"provider": "byo-sip-trunk",
"credentials": {
"username": "120493001",
"password": "your_password"
},
"gateways": [
{
"ip": "sip.nvoip.com.br",
"port": 5060,
"outboundProtocol": "udp"
}
]
}
If the settings are correct, review your SIP provider's logs to confirm if INVITE requests from Vapi are being received and not blocked or rejected.
Sources:
- [Vapi SIP connection troubleshooting](https://discord.com/channels/1211482211119796234/1333747605628391434)
- [Vapi outbound call troubleshooting](https://discord.com/channels/1211482211119796234/1336713212233515089)alexrb1
05/15/2025, 3:51 PMalexrb1
05/15/2025, 3:52 PMalexrb1
05/15/2025, 3:52 PMalexrb1
05/15/2025, 4:23 PMTiago Machado
05/16/2025, 1:18 PMalexrb1
05/16/2025, 5:08 PMPraveen
05/17/2025, 5:31 AMTiago Machado
05/21/2025, 12:04 PMPraveen
05/21/2025, 5:49 PM"call_id": "f168481f-a545-123e-419c-0e3cec77810b", "sip_status": 403, "sip_reason": "Forbidden", "call_status": "failed", "account_sid": "c540e46c-41f5-48d4-a551-9a2a72af3c09", "trace_id": "6aff9250165a4a0b50f8f2581a7848b9",
After some investigation, we have this log to return to you. Your SIP works in other places, but there is some IPs that need to be whitelisted in order to use VAPI, which can be found on the documentation:
Please also make sure that your credentials are entered in correctly. If you need any assistance regarding these topics, feel free to reach out.Tiago Machado
05/21/2025, 7:01 PMPraveen
05/22/2025, 2:58 AMTiago Machado
05/27/2025, 3:34 PMVapi Support Bot
05/27/2025, 3:36 PMjson
POST https://api.vapi.ai/call/phone
{
"assistantId": "YOUR_ASSISTANT_ID",
"customer": { "number": "15557654321", "numberE164CheckEnabled": false },
"phoneNumberId": "YOUR_PHONE_NUMBER_ID"
}
[Full guide here](https://docs.vapi.ai/advanced/sip/sip-trunk)
Clarifying question:
Have you already whitelisted the required Vapi IPs in your Nvoip firewall, and if so, did you receive any error or confirmation from Nvoip after doing so?
Source:
- [Vapi SIP Trunking Guide](https://docs.vapi.ai/advanced/sip/sip-trunk)Vapi Support Bot
05/27/2025, 3:36 PMjson
POST https://api.vapi.ai/call/phone
{
"assistantId": "YOUR_ASSISTANT_ID",
"customer": { "number": "15557654321", "numberE164CheckEnabled": false },
"phoneNumberId": "YOUR_PHONE_NUMBER_ID"
}
[Full guide here](https://docs.vapi.ai/advanced/sip/sip-trunk)
Clarifying question:
Have you already whitelisted the required Vapi IPs in your Nvoip firewall, and if so, did you receive any error or confirmation from Nvoip after doing so?
Source:
- [Vapi SIP Trunking Guide](https://docs.vapi.ai/advanced/sip/sip-trunk)Vapi Support Bot
05/27/2025, 3:36 PMbash
curl -X POST "https://api.vapi.ai/credential" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_VAPI_PRIVATE_KEY" \
-d '{
"provider": "byo-sip-trunk",
"name": "Your SIP Trunk",
"gateways": [{ "ip": "YOUR_SIP_PROVIDER_DOMAIN" }],
"outboundAuthenticationPlan": {
"authUsername": "YOUR_SIP_USERNAME",
"authPassword": "YOUR_SIP_PASSWORD"
}
}'
2. Associate your phone number using the returned credentialId
.
3. Test an outbound call using the /call/phone
endpoint.
Ensure your SIP provider has whitelisted Vapi's IPs: 44.229.228.186/32
and 44.238.177.138/32
.
For more details, see the [Vapi SIP Trunking documentation](https://docs.vapi.ai/advanced/sip/sip-trunk).
Source:
- [Vapi SIP Trunking documentation](https://docs.vapi.ai/advanced/sip/sip-trunk)Vapi Support Bot
05/27/2025, 3:36 PMbash
curl -X POST "https://api.vapi.ai/credential" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_VAPI_PRIVATE_KEY" \
-d '{
"provider": "byo-sip-trunk",
"name": "Your SIP Trunk",
"gateways": [{ "ip": "YOUR_SIP_PROVIDER_DOMAIN" }],
"outboundAuthenticationPlan": {
"authUsername": "YOUR_SIP_USERNAME",
"authPassword": "YOUR_SIP_PASSWORD"
}
}'
2. Associate your phone number using the returned credentialId
.
3. Test an outbound call using the /call/phone
endpoint.
Ensure your SIP provider has whitelisted Vapi's IPs: 44.229.228.186/32
and 44.238.177.138/32
.
For more details, see the [Vapi SIP Trunking documentation](https://docs.vapi.ai/advanced/sip/sip-trunk).
Source:
- [Vapi SIP Trunking documentation](https://docs.vapi.ai/advanced/sip/sip-trunk)Tiago Machado
05/27/2025, 6:47 PMVapi Support Bot
05/27/2025, 6:48 PMVapi Support Bot
05/27/2025, 6:49 PMVapi Support Bot
05/27/2025, 6:49 PMTiago Machado
05/27/2025, 11:55 PMVapi Support Bot
05/27/2025, 11:56 PMVapi Support Bot
05/27/2025, 11:57 PMf381f59c-26a7-47dd-a289-6d608ea7aef2
).
You cannot access these logs directly; please wait for a response from support—they will investigate and share any findings with you.
For reference, only high-level call status is visible in your dashboard; detailed SIP logs require support intervention.
Source: [Vapi SIP Trunking Guide](https://docs.vapi.ai/advanced/sip/sip-trunk)
Source:
- [Vapi SIP Trunking Guide](https://docs.vapi.ai/advanced/sip/sip-trunk)ANNATIS Dev
05/28/2025, 9:44 AMVapi Support Bot
05/28/2025, 9:45 AM44.229.228.186/32
and 44.238.177.138/32
) with your SIP provider? This is a common requirement for successful SIP trunk connections.
For more details, see the [Vapi SIP Trunking documentation](https://docs.vapi.ai/advanced/sip/sip-trunk).
Once confirmed, we can further narrow down the issue while waiting for backend log analysis.
Source:
- [Vapi SIP Trunking documentation](https://docs.vapi.ai/advanced/sip/sip-trunk)Tiago Machado
05/28/2025, 10:46 AMVapi Support Bot
05/28/2025, 10:47 AMVapi Support Bot
05/28/2025, 10:48 AMbash
curl -X POST "https://api.vapi.ai/phone-number" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_VAPI_PRIVATE_KEY" \
-d '{
"provider": "byo-phone-number",
"name": "Your Number Name",
"number": "YOUR_PHONE_NUMBER",
"numberE164CheckEnabled": false,
"credentialId": "YOUR_CREDENTIAL_ID"
}'
If this is already set up and the issue remains, please wait for Vapi support to review your call logs, as detailed SIP logs are not directly accessible to users.
Source:
- [Vapi SIP Trunking Guide](https://docs.vapi.ai/advanced/sip/sip-trunk)Shubham Bajaj
05/28/2025, 12:04 PMTiago Machado
05/28/2025, 2:29 PMPraveen
05/29/2025, 1:33 AMTiago Machado
05/29/2025, 12:19 PMTiago Machado
05/29/2025, 1:08 PMPraveen
05/30/2025, 6:59 AMTiago Machado
06/09/2025, 4:10 PMPraveen
06/10/2025, 6:20 PMSubrat Sagar
06/26/2025, 7:31 AMPraveen
06/29/2025, 6:51 PM