fresh-telephone-307
12/03/2025, 7:07 PMtall-airline-16756
12/03/2025, 7:07 PMtall-airline-16756
12/03/2025, 7:08 PMconfig.yaml values (or paste these fields): ws_url, api_key, api_secret, redis.address, and sip_port (mask secrets if needed).
• Can the SIP container reach the LiveKit WebSocket port? From the SIP host run:
◦ telnet <livekit-host> 7880 or curl -v http://<livekit-host>:7880 and paste the result.
• Can the SIP host reach Redis? redis-cli -h <redis-host> -p <port> ping (or paste connection test output).
• Any firewall/NAT between SIP and LiveKit (cloud VPC rules, host firewall, or Docker network)? If yes, which ports are allowed outbound/inbound?
• Are you using UDP for SIP (logs show transport: "udp")? Is Plivo configured with ;transport=udp to your SIP IP?
• Are LiveKit and SIP using the same API key/secret and Redis namespace? Confirm no typos or extra whitespace.
If you prefer, paste sanitized log lines of the startup for SIP and LiveKit showing connection attempts. Once I have those results I’ll recommend the exact fix (ws_url/credentials/Redis, firewall rule, or transport change).
Sources: Self-hosted SIP server | LiveKit docsfresh-telephone-307
12/03/2025, 7:08 PMtall-airline-16756
12/03/2025, 7:09 PMws_url (use wss:// for TLS when possible).
• Use the correct api_key and api_secret that the cloud LiveKit instance expects; no typos or extra spaces.
• Point the SIP service to the same Redis instance/namespace used by the cloud LiveKit (if required by your deployment).
• Ensure network connectivity and firewall rules allow the SIP host to reach:
◦ LiveKit WebSocket port (default 7880) — outbound from SIP to LiveKit.
◦ Redis port (default 6379) if Redis is remote.
◦ SIP signaling ports you use (e.g., 5060/udp or 5060/tcp) for incoming traffic from carriers like Plivo.
• Match SIP transport between your carrier and your SIP server (UDP vs TCP vs TLS). If using UDP, set the carrier URI with `;transport=udp`; TLS provides more reliable connectivity.
• If NAT is involved, ensure correct external IP/port mappings and that any required STUN/TURN or RTP port ranges are open for media (e.g., 10000–20000 UDP if used).
If you want, tell me:
• the ws_url, which transport you plan to use (UDP/TCP/TLS), and whether Redis is local or cloud-hosted — I’ll give the exact config checks and connectivity tests to run.fresh-telephone-307
12/03/2025, 7:11 PMtall-airline-16756
12/03/2025, 7:11 PMws_url to the cloud LiveKit WebSocket (use wss:// for TLS).
• Use the correct api_key and api_secret for the cloud instance.
• If Redis is required, point the SIP service to the same Redis instance/namespace the cloud uses.
• Ensure network connectivity and firewall rules allow outbound from your SIP host to:
◦ LiveKit WebSocket port (default 7880)
◦ Redis (default 6379) if remote
◦ Any SIP signaling ports you accept (e.g., 5060) for incoming carrier traffic
• Match SIP transport (UDP/TCP/TLS) between carrier, your SIP server, and LiveKit. For UDP, include ;transport=udp in carrier URIs; TLS is recommended for reliability.
• If NAT is involved, ensure external IP mappings and RTP ports (e.g., 10000–20000 UDP) are open for media.
If you’d like, tell me your planned ws_url, transport (UDP/TCP/TLS), and whether Redis is local or cloud — I’ll provide exact config checks and connectivity commands to run.fresh-telephone-307
12/03/2025, 7:32 PMtall-airline-16756
12/03/2025, 7:32 PM