how to delete an outbound sip trunk?
# ask-ai
l
how to delete an outbound sip trunk?
t
Thanks for reaching out, Chandan. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'm here to help you delete an outbound SIP trunk in LiveKit! You have a couple of friendly options to do this: • Using LiveKit CLI: You can simply run the command
lk sip outbound delete <sip-trunk-id>
. If you're not sure about the trunk ID, no worries! Just list all outbound trunks first with
lk sip outbound list
to find the right one. • Using SDKs: Each SDK offers a handy method to delete SIP trunks. Here's a quick look: ◦ Python SDK: Try
delete_trunk(delete: DeleteSIPTrunkRequest)
with your trunk ID. ◦ Node.js SDK: Use
deleteSipTrunk(sipTrunkId: string)
to get it done. ◦ Ruby SDK: Call
delete_sip_trunk(sip_trunk_id)
. ◦ Go SDK: Use
DeleteSIPTrunk
through the SIP client with your trunk ID. ◦ Kotlin SDK: The method to use is
deleteSipTrunk()
. If you have any questions or need a bit more guidance with any of these steps, please don’t hesitate to reach out—I’m here to help! Sources: src/main/kotlin/io/livekit/server/SipServiceClient.kt | SIP APIs | LiveKit docs | autocomplete/fish_autocomplete | livekit-api/livekit/api/sip_service.py | packages/livekit-server-sdk/src/SipClient.ts