we have an inbound trunk setup and dispatch rule t...
# ask-ai
q
we have an inbound trunk setup and dispatch rule to our voice agent which is deployed on livekit cloud { "sipTrunkId": "ST_7UmyDHewxGLZ", "name": "vonage-ip-auth", "numbers": [ "+447418370448" ], "allowedAddresses": [ "216.115.17.0/24", "216.115.20.0/24", "216.115.22.0/24", "216.115.23.0/24" ] }{ "sipDispatchRuleId": "SDR_FcdRjXTgaXBT", "rule": { "dispatchRuleDirect": { "roomName": "voiceagent" } }, "trunkIds": [ "ST_7UmyDHewxGLZ" ], "name": "vonage", "roomConfig": { "agents": [ { "agentName": "CA_gwwmei3bZ7LQ" } ] } } getting sip error code 500 when we call from vonage.Any ideas (edited)
t
Thanks for reaching out, Nauman. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'm sorry to hear you're encountering the SIP error code 500. This error usually points to an internal server issue, which might be coming from either your SIP trunking provider or the configuration in LiveKit. Let’s walk through some steps together to help you troubleshoot: • Verify IP and Phone Number Whitelisting: Please double-check that the "Allowed IPs" and "Allowed numbers" in your inbound trunk configuration exactly match the IP addresses and phone numbers your SIP trunking provider has authorized. • Validate Authentication Credentials: Make sure the username and password for your inbound trunk are correct and currently active on your SIP provider's platform. • Check SIP Endpoint Configuration: Confirm that your SIP trunking provider is properly routing inbound traffic to the LiveKit SIP endpoint (which is your SIP URI without the "sip:" prefix). If after these steps the problem still continues, it might be a good idea to reach out to your SIP trunking provider. They can help investigate if there are any server-side issues affecting incoming calls to your trunk. Please know I’m here to support you through this—don’t hesitate to ask if you need more help! Sources: SIP inbound trunk | LiveKit Docs | SIP trunk setup | LiveKit Docs | livekit/livekit_sip.twirp.go | Docs::Telephony