I’m getting very confused by the slew of similar issues and questions.
This feels like the same question as Urgent: on_session_end callback not triggering in Agents SDK - #5 by Vishal_Maurya and you already asked about delete_room_on_close in this thread: Agent Disconnects After session.shutdown(drain=True) but User Remains Stuck in Room — Production Issue - #3 by Vishal_Maurya .
It becomes very difficult to help when you cross post questions between different topics.