many-forest-60185
11/03/2025, 6:30 PMtall-airline-16756
11/03/2025, 6:30 PMtall-airline-16756
11/03/2025, 6:31 PMsip.callStatus participant attribute using the participant_attributes_changed event. When someone ends the call, the sip.callStatus attribute will update to 'hangup'. You can then use this event to trigger whatever action you need.
Here’s a simple way to approach it:
• Set up an event handler for participant_attributes_changed.
• Check if the sip.callStatus attribute changes to 'hangup'.
• Take your desired action, like cleanup or logging, once the call ends.
If you’d like, I’m more than happy to walk you through detailed steps or provide some code examples. Just let me know!
Sources: docs/index.yaml | Agents telephony integration | LiveKit Docs