SIP Trunk Credentials
# support
t
Hi, I am getting 'Failed to create SIP trunk credential' error when trying to add a Switch Telecom SIP trunk from South Africa. SIP Server: sip.switchtel.co.za Username: 0320040027 Port: 5060 Protocol: UDP Peer Type: Dynamic IP Country: South Africa Tried with and without SIP Registration. Both fail. I have also attached a screenshot of the above.Any help appreciated https://cdn.discordapp.com/attachments/1483834924287918230/1483834925248544778/Failed_SIP_Trunk.png?ex=69bc0876&is=69bab6f6&hm=ae755e51ba51d0ed1c22883bfb107bf361869405ac6c0f6ec268b7f84aaf96c6&
v
The most common cause of this error is using a hostname instead of a numeric IP address. To fix this, resolve
sip.switchtel.co.za
to its IPv4 address and use that IP in your configuration. For example, run:
Copy code
dig +short sip.switchtel.co.za
or
Copy code
nslookup sip.switchtel.co.za
Replace the SIP server field with the returned IP address (e.g.,
197.155.123.45
). This should resolve the credential creation error. Reference: See the [Vapi troubleshooting guide](https://docs.vapi.ai/advanced/sip/troubleshoot-sip-trunk-credential-errors). Source: - [Troubleshoot SIP trunk credential errors](https://docs.vapi.ai/advanced/sip/troubleshoot-sip-trunk-credential-errors)
c
Hi, The screenshot you provided is helpful, could you scroll up a little bit and send me a screenshot of the gateways you have configured as well? This will help me better understand the issue you are facing.