Propagate SIP_TRUNK_FAILURE (#4890)

This commit is contained in:
Alex
2026-09-21 15:40:21 -07:00
committed by GitHub
parent 094ac494e0
commit 502346df00
2 changed files with 9 additions and 1 deletions
+2
View File
@@ -94,6 +94,8 @@ func (s *signalhandler) HandleMessage(msg proto.Message) error {
reason = types.ParticipantCloseReasonUserRejected
case livekit.DisconnectReason_AGENT_ERROR:
reason = types.ParticipantCloseReasonAgentError
case livekit.DisconnectReason_SIP_TRUNK_FAILURE:
reason = types.ParticipantCloseReasonSIPTrunkFailure
}
s.params.Logger.Debugw("client leaving room", "reason", reason)
s.params.Participant.HandleLeaveRequest(reason)