famous-match-9235
03/11/2026, 8:06 AMtall-airline-16756
03/11/2026, 8:06 AMtall-airline-16756
03/11/2026, 8:06 AMdelete_sip_trunk() or equivalent trunk-deletion calls? If you can share timestamps (or request IDs) around when the trunk disappeared, that will help.
1. Code/SDK usage
• Are you creating or managing trunks programmatically (which SDK/language)? If so, which functions/endpoints do you call and do you have any retry or error-handling logic that might call delete on failure?
• If you can share a minimal snippet or describe where trunk lifecycle is handled, I can look for common patterns that lead to accidental deletion.
1. Environment and permissions
• Is the trunk managed in a shared project or account where other teams or services have write access?
• Do you use any scheduled cleanup jobs that remove unused resources?
What I can do next
• Once you provide timestamps/log entries or the relevant code sections, I’ll help identify likely culprits (accidental API calls, automation, permission issues) and suggest concrete fixes.
• If you prefer, start by searching your logs for any DELETE requests to the trunk endpoint around the time it disappeared — share those entries and I’ll interpret them.
If you send the details above, I’ll walk you step‑by‑step through how to confirm the source and prevent future random deletions.
Sources: Python SDKs | livekit/livekit_composite | DeepWiki | Creating SIP Inbound Trunks and Dispatch Rules with Python SDK | sip | livekit/livekit_composite | DeepWiki | Outbound Calling Script | LiveKit Documentation