andmac
01/03/2025, 6:46 PM{
"provider": "byo-sip-trunk",
"name": "MySIPProvider",
"gateways": [
{
"provider": "byo-phone-number",
"name": "Meu Número DirectCall",
"number": "+551421098931",
"credentialId": "7e657bf8-5cad-41d0-97be-cc861dc8085b",
"numberE164CheckEnabled": false
}
]
}
2. I associated the phone number provided by DirectCall:
{
"provider": "byo-phone-number",
"name": "MySIPProvider",
"number": "+551421098931",
"credentialId": "<returned-credential-id>",
"numberE164CheckEnabled": false
}
3. I attempted to make an outbound call using this phone number via the Vapi dashboard.
Issue Encountered
• The call failed with the error “sip-gateway-failed-to-connect-call”.
• A 503 Service Unavailable response was captured by the MySIPProvider team on their end during the attempted connection.
• The captured pcap indicates the issue occurred when communicating with the Vapi SIP server.
Additional Details
• IPs whitelisted on the provider’s side: 44.229.228.186, 44.238.177.138
• MySIPProvider gateway IP: 189.84.133.111
• Call ID: ff582065-1bf7-4f88-af59-e5771124723f
Request for Assistance
Could you please verify:
1. Whether there are any configuration issues on Vapi’s side regarding this SIP trunk setup?
2. If the IP ranges provided to MySIPProvider for whitelisting are sufficient?
3. Any additional logs or troubleshooting steps we can take to resolve the issue?
Looking forward to your guidance to resolve this issue.
Thank youVapi
01/03/2025, 6:48 PMVapi
01/03/2025, 6:48 PMcredentialId
you've used in the phone number association is the correct one returned after creating the SIP trunk credential. If there's any mismatch or typo, that could be a reason for the connection failure.
2. **IP Ranges for Whitelisting**: The IPs you've provided (44.229.228.186, 44.238.177.138) should typically be sufficient for whitelisting on MySIPProvider's side. However, it's important to confirm that these are the correct and current IP ranges that Vapi uses for SIP communication. There might be additional IPs that need to be whitelisted, or the existing ones might have changed.
3. **Additional Logs and Troubleshooting Steps**: To further investigate the issue, we would need to check the logs on our side for the call ID you've provided (916a2886-6ebd-4c45-812e-88819f1301fb). This will help us understand if there are any errors or anomalies during the call setup process. Additionally, verifying the network path between Vapi and MySIPProvider's gateway (189.84.133.111) could provide insights into any potential connectivity issues.
To proceed with the investigation, I will need to check our internal logs for the specified call ID and verify the current IP ranges for SIP communication. If you have any further information or changes you've made since encountering the issue, please let me know so I can take that into account during the troubleshooting process.
If you have any other questions or need further assistance, feel free to ask. We're here to help you resolve this issue as smoothly as possible.
Thank you for your patience and cooperation.Vapi
01/03/2025, 6:48 PMandmac
01/03/2025, 8:09 PMShubham Bajaj
01/06/2025, 7:52 AMShubham Bajaj
01/06/2025, 7:52 AMShubham Bajaj
01/06/2025, 7:52 AMandmac
01/06/2025, 2:50 PMShubham Bajaj
01/07/2025, 10:43 AMShubham Bajaj
01/07/2025, 3:57 PMsip.vapi.ai
and then it will work properly.Shubham Bajaj
01/07/2025, 3:58 PMandmac
01/08/2025, 7:05 PM