stale-vase-84095
08/01/2025, 7:27 PMtall-airline-16756
08/01/2025, 7:27 PMtall-airline-16756
08/01/2025, 7:28 PMlist_sip_inbound_trunk (singular), not list_sip_inbound_trunks (plural). Here's the corrected code:
from livekit.protocol.sip import ListSIPInboundTrunkRequest
# Basic usage - list all inbound trunks
trunks_response = await livekit_client.sip.list_sip_inbound_trunk(
ListSIPInboundTrunkRequest()
)
Let me know if you need further assistance!
Sources: livekit/livekit_sip.pb.go | SIP APIs | LiveKit Docs | livekit-api/livekit/api/sip_service.pystale-vase-84095
08/01/2025, 7:49 PMtall-airline-16756
08/01/2025, 7:50 PMconst data = await this.rpc.request(
svc,
'DeleteSIPTrunk',
new DeleteSIPTrunkRequest({ sipTrunkId }).toJson(),
await this.authHeader({}, { admin: true }),
);
If you’re working with a different SDK or want a hand with anything else, just give me a shout!stale-vase-84095
08/01/2025, 7:52 PMtall-airline-16756
08/01/2025, 7:52 PMROOM_NAME with your actual room name and ID with the dispatch ID you want to remove.
• SIP Dispatch Rules: If you need to delete a SIP dispatch rule, this is the command to use: `lk sip dispatch delete SIP_DISPATCH_RULE_ID`Just replace SIP_DISPATCH_RULE_ID with the correct ID for your SIP dispatch rule.
Feel free to reach out if you want a hand with anything else! Sources: autocomplete/fish_autocomplete