Hi, I need to use a third-party provider for outbound calls and I'm creating a trunk to connect VAPI. Following the API documentation steps, I defined:
POST
https://api.vapi.ai/credential with
{ "provider": "byo-sip-trunk", "name": "MyTrunk", "gateways": [{"ip": "my server sip..."}] }, response OK
POST
https://api.vapi.ai/phone-number with
{ "provider": "byo-phone-number", "name": "MySIP Number", "number": "xxx", "credentialId": "taken from previous call response...", "numberE164CheckEnabled": false } response OK
After these operations, I can see MySIP Number in the numbers list on the VAPI dashboard along with my existing Vonage number which is already working.
However, when I execute an outbound call, I always get an error: "sip-gateway-failed-to-connect-call"
How can I solve this issue? Am I missing the credentials setup to access the provider? Where and how do I set them up?