Hey LiveKit team — we’re seeing a failure mode with outbound voice agents (Python, LiveKit Agents + Telnyx). If the agent has a config bug during startup (e.g., invalid Deepgram model), the agent crashes right after AgentSession.start is kicked off, but the SIP leg still gets placed, so the callee lands in an empty room that never tears down. Looking for guidance/best practices on:
1. How to gate placing the SIP call until STT/LLM/TTS are actually ready, and
2. How to cleanly abort/close the room when initialization fails so the user isn’t left hanging.
Any recommended pattern or API hooks to synchronize “agent ready” before dialing, or to force room cleanup on init errors? Thanks ahead of time