bland-airplane-60910
08/28/2025, 6:47 AMtall-airline-16756
08/28/2025, 6:47 AMtall-airline-16756
08/28/2025, 6:48 AMdelete_room API. This method skips the SIP signaling layer, which is actually responsible for sending that BYE message. Instead, it just disconnects everyone and closes the room directly.
To make sure a SIP BYE gets sent:
• Try to end calls using SIP-aware APIs instead of delete_room. For example, you can use TransferSIPParticipant or other SIP-specific signaling methods.
• Double-check that the SIP participant’s sip.callStatus is active before sending a BYE.
• Turn on debug logging in the LiveKit SIP service so you can watch the SIP signaling and see if BYE messages are being created and sent.
• Make sure your SIP trunk setup allows BYE messages through and that nothing in between is blocking them.
If you want a hand with this or have a special use case where SIP signaling is super important, just give me a shout—I’m happy to help guide you through it!
Sources: Agents telephony integration | LiveKit Docs | test/integration/sip_test.go | livekit/livekit_sip.pb.go | livekit-protocol/src/livekit.rs | telephony/sip_lifecycle.py