Skip to content

didww-to-livekit: encrypt trunks by default and take the SIP URI from project settings - #1

Merged
allexp1 merged 1 commit into
didww:mainfrom
DidMykola:didww-to-livekit-secure-default
Oct 12, 2026
Merged

allexp1 merged 1 commit into
didww:mainfrom
DidMykola:didww-to-livekit-secure-default

Conversation

@DidMykola

Copy link
Copy Markdown
Contributor

Summary

Updates the didww-to-livekit skill after testing it end to end against LiveKit Cloud, inbound and outbound, with plain trunks and with TLS plus SRTP.

didww-to-livekit 1.1.0

  • Encrypted by default. connect.py now defaults to --transport tls --srtp require. The skill sets the DIDWW inbound trunk to port 5061, TLS and SRTP SDES, and asks for SRTP SDES on the DIDWW outbound trunk. Plain trunks are an opt-out: --transport tcp --srtp disable.
  • SIP URI is no longer derived. The Project URL and the SIP URI of a LiveKit Cloud project have different subdomains, so deriving one from the other produced a wrong host. connect.py takes --sip-uri or LIVEKIT_SIP_URI and prints a placeholder without it.
  • --outbound-only. Adds the outbound trunk to a project that already has the inbound trunk and dispatch rule. Re-running the full command created a second inbound trunk.
  • Media block. Both LiveKit trunks limit codecs to PCMA and PCMU and set media.encryption. The deprecated top-level media_encryption field is no longer sent.
  • DIDWW outbound trunk is manual. The DIDWW MCP has no outbound trunk tools, so the skill asks the user to create the trunk in the panel and pass the credentials in a file or environment variables. It lists the LiveKit Cloud static IP ranges for the allowed IP list.
  • Failure map rewritten from observed responses: 400 Bad Request inbound and 500 No suitable media outbound on an SRTP mismatch, 484 for an incomplete number, and 404 is not caused by a missing +.
  • LiveKit dashboard labels corrected: Settings, API keys.

docs/didww-to-livekit.md carries the same changes.

didww-connect 1.0.1

Wording only: LiveKit dashboard labels and the SIP URI description.

Not in this change

Six other outbound skills and their doc pages still say the DIDWW MCP creates the outbound trunk and sets spend limits. That is left for a separate change.

Test plan

  • bash scripts/test.sh: all Python tests pass, 30/30 for didww-to-livekit
  • Installer checks in each test.sh did not run locally (no node on the machine); CI needs to cover them
  • Inbound call through trunks created by connect.py, TLS and SRTP, on LiveKit Cloud
  • Outbound call through a trunk created by connect.py --outbound-only, TLS and SRTP, on LiveKit Cloud

🤖 Generated with Claude Code

… project settings

Verified end to end on LiveKit Cloud. connect.py defaults to TLS and
required SRTP, takes --sip-uri instead of deriving the host from the
Project URL, and gains --outbound-only. The skill and its doc page say
the DIDWW outbound trunk is created in the panel, since the DIDWW MCP
has no outbound trunk tools, and the failure map follows the responses
seen in testing. didww-connect: LiveKit dashboard labels corrected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 9, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 98fdcdd2-0c8e-42a7-99e4-0887875e4c6f

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

sonarqubecloud Bot commented Oct 9, 2026

Copy link
Copy Markdown

@allexp1
allexp1 merged commit 9a0ece8 into didww:main Oct 12, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants