i am getting this error ```Error creating SIP part...
# ask-ai
f
i am getting this error
Copy code
Error creating SIP participant: TwirpError(code=unavailable, message=twirp error unknown: no response from servers, status=503)
i have tried twilio and telnyx both and got this error on both
t
Thanks for reaching out, Ali. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
The error you are encountering indicates that the SIP service is currently unavailable. Here is what the error components mean: • Code "unavailable": Indicates the service is not available. • Message "no response from servers": Corresponds to an error where no response is received from the servers. • Status 503: HTTP status code for "Service Unavailable." Common causes for this issue include: 1. The LiveKit SIP service is down or unreachable. 2. Network connectivity problems preventing access to the SIP service. 3. Service overload due to high traffic. To troubleshoot this issue, please try the following steps: 1. Verify that your LiveKit SIP service is running and accessible. 2. Implement retry logic with exponential backoff in your application to handle temporary unavailability. 3. Ensure your application has proper network connectivity to reach the LiveKit server endpoints. 4. Check your LiveKit server logs for additional error details that might indicate the root cause. This issue is typically a temporary infrastructure problem rather than an issue with your SIP participant creation request itself. Sources: errors.go | livekit-api/livekit/api/twirp_client.py | protocol/unity_proto/UnityAPI.twirp.go | agent.py
f
Error creating SIP participant: TwirpError(code=permission_denied, message=twirp error unknown: unexpected status from INVITE response: sip status: 403 (FORBIDDEN), status=403, metadata={'error_details': 'CAcSQ3VuZXhwZWN0ZWQgc3RhdHVzIGZyb20gSU5WSVRFIHJlc3BvbnNlOiBzaXAgc3RhdHVzOiA0MDMgKEZPUkJJRERFTikaLAoldHlwZS5nb29nbGVhcGlzLmNvbS9saXZla2l0LlNJUFN0YXR1cxIDCJMD', 'sip_status': 'SIP_STATUS_FORBIDDEN', 'sip_status_code': '403'})
t
Hey there! I totally understand how frustrating SIP call errors can be. Looks like you're dealing with a 403 FORBIDDEN status code, which usually means something's not quite right with your setup. No worries, though – I'll help you troubleshoot this! 1. SIP trunk credentials: Double-check those login details. It's an easy thing to mix up, and sometimes a simple typo can cause these headaches. 2. Phone number format: Make sure the number you're trying to call looks exactly like your provider expects. These folks can be pretty particular about formats! 3. Calling permissions: Some providers have restrictions on certain types of calls. Let's make sure your account can actually reach the number you're dialing. 4. Account status: A quick chat with your SIP provider can confirm everything's active and good to go. 5. IP address stuff: Some providers are picky about where calls originate from. Just want to make sure your IP isn't causing any unexpected roadblocks. Here's what I recommend to get things sorted: 1. Do a quick review of those SIP trunk settings – sometimes the solution is super simple! 2. Reach out to your provider. They're usually super helpful in pinpointing exactly what's going on. 3. Try calling a different number to see if it's a specific route issue. 4. Take a peek at those call logs – they can be real lifesavers in tracking down tricky problems. I know technical issues can be a pain, but we'll get this figured out together. Just let me know how else I can help! Sources: pkg/sip/outbound.go | livekit/sip.go