SIP trunk doesn't even try
# support
k
I try to setup a SIP trunk. But i get an error "Couldn't validate SIP trunk credential. SIP gateway creation failed" But when checking with our SIP provider they don't even see logs of trying to create a connection. They don't use any blocklisting so it cannot be the IP that gets blocked. Can someone check so we can have more info than "Couldnt validate"
Seemed using a domain name instead of an IP adress was part of the issue, i changed it to an IP and was able to add it, yet is still cannot get any calls in or out
u
same situation for me @Support.Voice-Agent maybe can help?
c
Hi, to configure the SIP Trunk, please follow the documentation for whitelisting the IP addresses: Then use this template as a guide to configuring both inbound and outbound gateways. The inbound gateway will need a static IP address and the outbound gateway will use the resolved domain name using UDP protocol:
Copy code
{
  "provider": "byo-sip-trunk",
  "name": "My SIP Trunk",
  "gateways": [
    {
      "ip": "sip.provider.com",
      "port": 5060,
      "outboundEnabled": true,
      "inboundEnabled": false,
      "outboundProtocol": "udp"
    },
    {
      "ip": "203.0.113.10",
      "port": 5060,
      "outboundEnabled": false,
      "inboundEnabled": true
    }
  ]
}
Once you have configured the SIP trunk, you will receive a value for credentialId. Save that and use it for the next step of assigning the SIP trunk to a phone number, as that is a required value for setting up the phone number. If you encounter any issues with the setup, please feel free to reach out.
4 Views