yummy-tealY
VAPI4mo ago
yummy-teal

Unable to create BYO-SIP credential

Hi team, I’m trying to create a SIP trunk credential with the following payload:

{
  "provider": "byo-sip-trunk",
  "name": "Telephony TRUNK",
  "gateways": [{ "ip": "XXXX.telephony.co" }],
  "outboundAuthenticationPlan": {
    "authUsername": "123", //this is an ext from a number
    "authPassword": "<Password>"
  }
}



But I get this error:

{
  "message": "Couldn't validate SIP trunk credential. SIP gateway creation failed.",
  "error": "Bad Request",
  "statusCode": 400
}


Here are the clients SIP endpoint sent to us:
Domain/Proxy: ClientCompany
Outbound Proxy: xxxxx.telephony.co
Username: 123
Password: <password>
The telephony also have provisioned us a phone number so thats what we're planning to add to VAPI

Here’s what I’ve already tried:

  • Switched "gateways.ip" to the provider’s literal IP address instead of domain.
  • Confirmed that Vapi's IPs (44.229.228.186, 44.238.177.138) are allow-listed in our SIP provider.
  • adding "inboundEnabled": false inside "gateways" works on adding credentials but our solution require inbound calling.
Could you help verify what might be wrong or if there’s an additional required field? Thanks!

@Vapi Support Bot
image.png
Was this page helpful?