Skip to content

Commit

Permalink
Add disconnect reason for SIP failures. (#845)
Browse files Browse the repository at this point in the history
  • Loading branch information
dennwc authored Nov 1, 2024
1 parent 1274a4f commit 5bd7e73
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 31 deletions.
6 changes: 6 additions & 0 deletions .changeset/mean-glasses-reflect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@livekit/protocol": minor
"github.com/livekit/protocol": minor
---

Add disconnect reason for SIP failures.
68 changes: 37 additions & 31 deletions livekit/livekit_models.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions protobufs/livekit_models.proto
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,8 @@ enum DisconnectReason {
USER_UNAVAILABLE = 11;
// SIP callee rejected the call (busy)
USER_REJECTED = 12;
// SIP protocol failure or unexpected response
SIP_TRUNK_FAILURE = 13;
}

message RTPDrift {
Expand Down

0 comments on commit 5bd7e73

Please sign in to comment.