The error
"failed joining room: cannot create LiveKit participant: could not dial signal connection" indicates that your SIP service (handling inbound Telnyx calls) is unable to establish a signal connection to your LiveKit server. This is most often caused by network connectivity issues, misconfigured WebSocket URLs, or authentication problems.
•
Verify your LiveKit server is running and accessible from your SIP service.
•
Check that the WebSocket URL (WsUrl) in your SIP service configuration points to the correct LiveKit server endpoint.
•
Ensure there are no firewall or network issues blocking outbound connections from your SIP service to the LiveKit server.
•
Confirm that your API credentials (ApiKey/ApiSecret) are correct and have the necessary permissions.
•
Review both your SIP service and LiveKit server logs for more detailed error messages.
If you need more targeted help, please provide:
• The exact WebSocket URL you are using
• Any relevant log excerpts from your SIP service and LiveKit server
• Confirmation that your LiveKit server is reachable from the SIP service host (e.g., via
telnet
or
curl
)
Once you have this information, I can help you further pinpoint the issue.
Sources:
pkg/sip/inbound.go |
errors.go |
Create and configure Telnyx SIP trunk | LiveKit Docs |
Accepting inbound calls | LiveKit Docs