FAIL SIP TRUNKING CREDENTIAL
# support
v
Main Problem: Your SIP trunk credential creation is failing because IP-based authentication (no username/password) is not recommended and often causes routing issues unless your provider gives you a unique SIP domain. Actionable Fix: Try configuring your SIP trunk with a username and password for authentication, as shown below:
Copy code
{
  "provider": "byo-sip-trunk",
  "name": "Unionteste",
  "gateways": [
    {
      "ip": "ccentercarrera.uniontelecom.com.br",
      "inboundEnabled": true
    }
  ],
  "outboundAuthenticationPlan": {
    "authUsername": "YOUR_SIP_USERNAME",
    "authPassword": "YOUR_SIP_PASSWORD"
  }
}
This should resolve the credential creation error if your provider supports credential-based authentication (according to the documentation I have found: https://docs.vapi.ai/advanced/sip/sip-trunk). Source: - [SIP Trunking Documentation](https://docs.vapi.ai/advanced/sip/sip-trunk)
c
Hi, unselect allow outbound calls and try again.
t
Aditiya. Thanks. I wasnt aware that for outbound and inbound calls, it needs to be one, domain address, or another, IP address. Kyle told me that for outbound it could be domain. And, the registration passed.
Thank you.
c
Glad it worked!