abundant-alligator-24067
03/12/2026, 2:37 PMtall-airline-16756
03/12/2026, 2:38 PMtall-airline-16756
03/12/2026, 2:38 PMkrisp_enabled to true in the SIPInboundTrunkInfo when creating or updating the inbound trunk that handles your LiveKit phone numbers.
Example (Python SDK):
trunk = await lk_api.sip.create_sip_inbound_trunk(
CreateSIPInboundTrunkRequest(
trunk=SIPInboundTrunkInfo(
name="My Inbound Trunk",
numbers=PHONE_NUMBERS,
krisp_enabled=True
)
)
)
Notes:
• Krisp processing happens inside LiveKit Cloud: audio is briefly decrypted, cleaned, and re-encrypted to apply noise cancellation.
• This applies to inbound telephony calls received on LiveKit-provisioned numbers.
If you’d like, tell me:
• Whether you’re creating a new inbound trunk or updating an existing one, and
• The SDK or API language you prefer (Python, REST, etc.),
and I’ll provide the exact request code or steps for that path.
Sources: LiveKit Phone Numbers | Connect voice agents to phone lines | LiveKit | Agents (Python) | livekit/livekit_composite | DeepWiki | SIP Telephony and Encryptionabundant-alligator-24067
03/12/2026, 2:39 PMtall-airline-16756
03/12/2026, 2:40 PMkrisp_enabled (or the equivalent room_config) for your dispatch rule.
Sources: sip | livekit/livekit_composite | DeepWiki | examples/voice_agents | livekit/livekit_composite | DeepWiki | SIP Telephony and Encryption | Agents telephony integration | LiveKit Documentation | Introducing LiveKit Phone Numbers: zero to ringing in 60 seconds | LiveKitabundant-alligator-24067
03/12/2026, 2:41 PMtall-airline-16756
03/12/2026, 2:41 PMfrom livekit import LiveKitAPI # replace with your actual SDK import
from livekit.models import (
CreateSIPDispatchRuleRequest,
SIPDispatchRule,
SIPDispatchRuleRoomConfig,
)
# Initialize API client (replace with your auth / client setup)
lk_api = LiveKitAPI(api_key="YOUR_API_KEY", api_secret="YOUR_API_SECRET")
# Replace with your LiveKit-managed phone numbers (list of strings)
PHONE_NUMBERS = ["+15551234567"]
room_config = SIPDispatchRuleRoomConfig(
# Enable Krisp noise cancellation for the room created by this dispatch rule
krisp_enabled=True,
# other room config options you may want to set:
# e.g., max_participants=2, recording_enabled=False, etc.
)
dispatch_rule = SIPDispatchRule(
name="inbound-dispatch-with-krisp",
numbers=PHONE_NUMBERS,
room_config=room_config,
# optionally set match_prefix, priority, description, etc.
)
request = CreateSIPDispatchRuleRequest(dispatch_rule=dispatch_rule)
created = await lk_api.sip.create_sip_dispatch_rule(request)
print("Created dispatch rule:", created.id)
2) Update an existing dispatch rule to enable Krisp
from livekit.models import (
UpdateSIPDispatchRuleRequest,
SIPDispatchRuleRoomConfig,
)
# dispatch_rule_id is the ID of the dispatch rule you want to update
dispatch_rule_id = "your-dispatch-rule-id"
room_config = SIPDispatchRuleRoomConfig(
krisp_enabled=True,
)
update_request = UpdateSIPDispatchRuleRequest(
dispatch_rule_id=dispatch_rule_id,
room_config=room_config,
)
updated = await lk_api.sip.update_sip_dispatch_rule(update_request)
print("Updated dispatch rule:", updated.id)
Notes and tips
• Replace the SDK imports and client initialization with the exact names your LiveKit Python SDK uses if they differ.
• If you prefer REST instead of the SDK, tell me and I’ll provide the equivalent HTTP request payload and endpoint.
• If your dispatch rule uses additional fields (egress settings, agent routing), include those alongside `room_config`; krisp_enabled=True is the key flag to enable noise cancellation.
Would you like the REST/HTTP equivalent or a JavaScript example as well?abundant-alligator-24067
03/12/2026, 2:42 PMtall-airline-16756
03/12/2026, 2:42 PMkrisp_enabled=True via the API.
If you want, I can:
• Provide a screenshot-guided walkthrough for the exact dashboard page (tell me whether you’re on the new UI or classic UI), or
• Give the REST API or JavaScript code equivalent to what the UI does. Which would help more? Sources: LiveKit Phone Numbers | Connect voice agents to phone lines | LiveKit | sip | livekit/livekit_composite | DeepWikitall-airline-16756
03/12/2026, 2:45 PMabundant-alligator-24067
03/12/2026, 2:51 PM