Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/sip-numbers-out-only.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"github.com/livekit/protocol": patch
"@livekit/protocol": patch
---

Add new phone number state for outbound-only.
28 changes: 16 additions & 12 deletions livekit/livekit_phone_number.pb.go

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

163 changes: 82 additions & 81 deletions livekit/livekit_phone_number.twirp.go

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

11 changes: 6 additions & 5 deletions protobufs/livekit_phone_number.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ import "logger/options.proto";

// Phone number status enumeration
enum PhoneNumberStatus {
PHONE_NUMBER_STATUS_UNSPECIFIED = 0; // Default value
PHONE_NUMBER_STATUS_ACTIVE = 1; // Number is active and ready for use
PHONE_NUMBER_STATUS_PENDING = 2; // Number is being provisioned
PHONE_NUMBER_STATUS_RELEASED = 3; // Number has been released
PHONE_NUMBER_STATUS_OFFLINE = 4; // Number is offline (not associated with any dispatch rule)
PHONE_NUMBER_STATUS_UNSPECIFIED = 0; // Default value
PHONE_NUMBER_STATUS_ACTIVE = 1; // Number is active and ready for use
PHONE_NUMBER_STATUS_PENDING = 2; // Number is being provisioned
PHONE_NUMBER_STATUS_RELEASED = 3; // Number has been released
PHONE_NUMBER_STATUS_OFFLINE = 4; // Number is offline (not associated with any dispatch rule, unavailable for outbound)
PHONE_NUMBER_STATUS_OUTBOUND_ONLY = 5; // Number is available for outbound only (not associated with any dispatch rule)
}

// Phone number type enumeration
Expand Down
Loading