package livekit
import (
_ "github.com/livekit/protocol/livekit/logger"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
anypb "google.golang.org/protobuf/types/known/anypb"
durationpb "google.golang.org/protobuf/types/known/durationpb"
emptypb "google.golang.org/protobuf/types/known/emptypb"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type SIPStatusCode int32
const (
SIPStatusCode_SIP_STATUS_UNKNOWN SIPStatusCode = 0
SIPStatusCode_SIP_STATUS_TRYING SIPStatusCode = 100
SIPStatusCode_SIP_STATUS_RINGING SIPStatusCode = 180
SIPStatusCode_SIP_STATUS_CALL_IS_FORWARDED SIPStatusCode = 181
SIPStatusCode_SIP_STATUS_QUEUED SIPStatusCode = 182
SIPStatusCode_SIP_STATUS_SESSION_PROGRESS SIPStatusCode = 183
SIPStatusCode_SIP_STATUS_EARLY_DIALOG_TERMINATED SIPStatusCode = 199
SIPStatusCode_SIP_STATUS_OK SIPStatusCode = 200
SIPStatusCode_SIP_STATUS_ACCEPTED SIPStatusCode = 202
SIPStatusCode_SIP_STATUS_NO_NOTIFICATION SIPStatusCode = 204
SIPStatusCode_SIP_STATUS_MULTIPLE_CHOICES SIPStatusCode = 300
SIPStatusCode_SIP_STATUS_MOVED_PERMANENTLY SIPStatusCode = 301
SIPStatusCode_SIP_STATUS_MOVED_TEMPORARILY SIPStatusCode = 302
SIPStatusCode_SIP_STATUS_USE_PROXY SIPStatusCode = 305
SIPStatusCode_SIP_STATUS_ALTERNATIVE_SERVICE SIPStatusCode = 380
SIPStatusCode_SIP_STATUS_BAD_REQUEST SIPStatusCode = 400
SIPStatusCode_SIP_STATUS_UNAUTHORIZED SIPStatusCode = 401
SIPStatusCode_SIP_STATUS_PAYMENT_REQUIRED SIPStatusCode = 402
SIPStatusCode_SIP_STATUS_FORBIDDEN SIPStatusCode = 403
SIPStatusCode_SIP_STATUS_NOTFOUND SIPStatusCode = 404
SIPStatusCode_SIP_STATUS_METHOD_NOT_ALLOWED SIPStatusCode = 405
SIPStatusCode_SIP_STATUS_NOT_ACCEPTABLE SIPStatusCode = 406
SIPStatusCode_SIP_STATUS_PROXY_AUTH_REQUIRED SIPStatusCode = 407
SIPStatusCode_SIP_STATUS_REQUEST_TIMEOUT SIPStatusCode = 408
SIPStatusCode_SIP_STATUS_CONFLICT SIPStatusCode = 409
SIPStatusCode_SIP_STATUS_GONE SIPStatusCode = 410
SIPStatusCode_SIP_STATUS_LENGTH_REQUIRED SIPStatusCode = 411
SIPStatusCode_SIP_STATUS_CONDITIONAL_REQUEST_FAILED SIPStatusCode = 412
SIPStatusCode_SIP_STATUS_REQUEST_ENTITY_TOO_LARGE SIPStatusCode = 413
SIPStatusCode_SIP_STATUS_REQUEST_URI_TOO_LONG SIPStatusCode = 414
SIPStatusCode_SIP_STATUS_UNSUPPORTED_MEDIA_TYPE SIPStatusCode = 415
SIPStatusCode_SIP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE SIPStatusCode = 416
SIPStatusCode_SIP_STATUS_UNKNOWN_RESOURCE_PRIORITY SIPStatusCode = 417
SIPStatusCode_SIP_STATUS_BAD_EXTENSION SIPStatusCode = 420
SIPStatusCode_SIP_STATUS_EXTENSION_REQUIRED SIPStatusCode = 421
SIPStatusCode_SIP_STATUS_SESSION_INTERVAL_TOO_SMALL SIPStatusCode = 422
SIPStatusCode_SIP_STATUS_INTERVAL_TOO_BRIEF SIPStatusCode = 423
SIPStatusCode_SIP_STATUS_BAD_LOCATION_INFORMATION SIPStatusCode = 424
SIPStatusCode_SIP_STATUS_BAD_ALERT_MESSAGE SIPStatusCode = 425
SIPStatusCode_SIP_STATUS_USE_IDENTITY_HEADER SIPStatusCode = 428
SIPStatusCode_SIP_STATUS_PROVIDE_REFERRER_IDENTITY SIPStatusCode = 429
SIPStatusCode_SIP_STATUS_FLOW_FAILED SIPStatusCode = 430
SIPStatusCode_SIP_STATUS_ANONYMITY_DISALLOWED SIPStatusCode = 433
SIPStatusCode_SIP_STATUS_BAD_IDENTITY_INFO SIPStatusCode = 436
SIPStatusCode_SIP_STATUS_UNSUPPORTED_CERTIFICATE SIPStatusCode = 437
SIPStatusCode_SIP_STATUS_INVALID_IDENTITY_HEADER SIPStatusCode = 438
SIPStatusCode_SIP_STATUS_FIRST_HOP_LACKS_OUTBOUND_SUPPORT SIPStatusCode = 439
SIPStatusCode_SIP_STATUS_MAX_BREADTH_EXCEEDED SIPStatusCode = 440
SIPStatusCode_SIP_STATUS_BAD_INFO_PACKAGE SIPStatusCode = 469
SIPStatusCode_SIP_STATUS_CONSENT_NEEDED SIPStatusCode = 470
SIPStatusCode_SIP_STATUS_TEMPORARILY_UNAVAILABLE SIPStatusCode = 480
SIPStatusCode_SIP_STATUS_CALL_TRANSACTION_DOES_NOT_EXISTS SIPStatusCode = 481
SIPStatusCode_SIP_STATUS_LOOP_DETECTED SIPStatusCode = 482
SIPStatusCode_SIP_STATUS_TOO_MANY_HOPS SIPStatusCode = 483
SIPStatusCode_SIP_STATUS_ADDRESS_INCOMPLETE SIPStatusCode = 484
SIPStatusCode_SIP_STATUS_AMBIGUOUS SIPStatusCode = 485
SIPStatusCode_SIP_STATUS_BUSY_HERE SIPStatusCode = 486
SIPStatusCode_SIP_STATUS_REQUEST_TERMINATED SIPStatusCode = 487
SIPStatusCode_SIP_STATUS_NOT_ACCEPTABLE_HERE SIPStatusCode = 488
SIPStatusCode_SIP_STATUS_BAD_EVENT SIPStatusCode = 489
SIPStatusCode_SIP_STATUS_REQUEST_PENDING SIPStatusCode = 491
SIPStatusCode_SIP_STATUS_UNDECIPHERABLE SIPStatusCode = 493
SIPStatusCode_SIP_STATUS_SECURITY_AGREEMENT_REQUIRED SIPStatusCode = 494
SIPStatusCode_SIP_STATUS_INTERNAL_SERVER_ERROR SIPStatusCode = 500
SIPStatusCode_SIP_STATUS_NOT_IMPLEMENTED SIPStatusCode = 501
SIPStatusCode_SIP_STATUS_BAD_GATEWAY SIPStatusCode = 502
SIPStatusCode_SIP_STATUS_SERVICE_UNAVAILABLE SIPStatusCode = 503
SIPStatusCode_SIP_STATUS_GATEWAY_TIMEOUT SIPStatusCode = 504
SIPStatusCode_SIP_STATUS_VERSION_NOT_SUPPORTED SIPStatusCode = 505
SIPStatusCode_SIP_STATUS_MESSAGE_TOO_LARGE SIPStatusCode = 513
SIPStatusCode_SIP_STATUS_GLOBAL_BUSY_EVERYWHERE SIPStatusCode = 600
SIPStatusCode_SIP_STATUS_GLOBAL_DECLINE SIPStatusCode = 603
SIPStatusCode_SIP_STATUS_GLOBAL_DOES_NOT_EXIST_ANYWHERE SIPStatusCode = 604
SIPStatusCode_SIP_STATUS_GLOBAL_NOT_ACCEPTABLE SIPStatusCode = 606
SIPStatusCode_SIP_STATUS_GLOBAL_UNWANTED SIPStatusCode = 607
SIPStatusCode_SIP_STATUS_GLOBAL_REJECTED SIPStatusCode = 608
)
var (
SIPStatusCode_name = map[int32]string{
0: "SIP_STATUS_UNKNOWN",
100: "SIP_STATUS_TRYING",
180: "SIP_STATUS_RINGING",
181: "SIP_STATUS_CALL_IS_FORWARDED",
182: "SIP_STATUS_QUEUED",
183: "SIP_STATUS_SESSION_PROGRESS",
199: "SIP_STATUS_EARLY_DIALOG_TERMINATED",
200: "SIP_STATUS_OK",
202: "SIP_STATUS_ACCEPTED",
204: "SIP_STATUS_NO_NOTIFICATION",
300: "SIP_STATUS_MULTIPLE_CHOICES",
301: "SIP_STATUS_MOVED_PERMANENTLY",
302: "SIP_STATUS_MOVED_TEMPORARILY",
305: "SIP_STATUS_USE_PROXY",
380: "SIP_STATUS_ALTERNATIVE_SERVICE",
400: "SIP_STATUS_BAD_REQUEST",
401: "SIP_STATUS_UNAUTHORIZED",
402: "SIP_STATUS_PAYMENT_REQUIRED",
403: "SIP_STATUS_FORBIDDEN",
404: "SIP_STATUS_NOTFOUND",
405: "SIP_STATUS_METHOD_NOT_ALLOWED",
406: "SIP_STATUS_NOT_ACCEPTABLE",
407: "SIP_STATUS_PROXY_AUTH_REQUIRED",
408: "SIP_STATUS_REQUEST_TIMEOUT",
409: "SIP_STATUS_CONFLICT",
410: "SIP_STATUS_GONE",
411: "SIP_STATUS_LENGTH_REQUIRED",
412: "SIP_STATUS_CONDITIONAL_REQUEST_FAILED",
413: "SIP_STATUS_REQUEST_ENTITY_TOO_LARGE",
414: "SIP_STATUS_REQUEST_URI_TOO_LONG",
415: "SIP_STATUS_UNSUPPORTED_MEDIA_TYPE",
416: "SIP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE",
417: "SIP_STATUS_UNKNOWN_RESOURCE_PRIORITY",
420: "SIP_STATUS_BAD_EXTENSION",
421: "SIP_STATUS_EXTENSION_REQUIRED",
422: "SIP_STATUS_SESSION_INTERVAL_TOO_SMALL",
423: "SIP_STATUS_INTERVAL_TOO_BRIEF",
424: "SIP_STATUS_BAD_LOCATION_INFORMATION",
425: "SIP_STATUS_BAD_ALERT_MESSAGE",
428: "SIP_STATUS_USE_IDENTITY_HEADER",
429: "SIP_STATUS_PROVIDE_REFERRER_IDENTITY",
430: "SIP_STATUS_FLOW_FAILED",
433: "SIP_STATUS_ANONYMITY_DISALLOWED",
436: "SIP_STATUS_BAD_IDENTITY_INFO",
437: "SIP_STATUS_UNSUPPORTED_CERTIFICATE",
438: "SIP_STATUS_INVALID_IDENTITY_HEADER",
439: "SIP_STATUS_FIRST_HOP_LACKS_OUTBOUND_SUPPORT",
440: "SIP_STATUS_MAX_BREADTH_EXCEEDED",
469: "SIP_STATUS_BAD_INFO_PACKAGE",
470: "SIP_STATUS_CONSENT_NEEDED",
480: "SIP_STATUS_TEMPORARILY_UNAVAILABLE",
481: "SIP_STATUS_CALL_TRANSACTION_DOES_NOT_EXISTS",
482: "SIP_STATUS_LOOP_DETECTED",
483: "SIP_STATUS_TOO_MANY_HOPS",
484: "SIP_STATUS_ADDRESS_INCOMPLETE",
485: "SIP_STATUS_AMBIGUOUS",
486: "SIP_STATUS_BUSY_HERE",
487: "SIP_STATUS_REQUEST_TERMINATED",
488: "SIP_STATUS_NOT_ACCEPTABLE_HERE",
489: "SIP_STATUS_BAD_EVENT",
491: "SIP_STATUS_REQUEST_PENDING",
493: "SIP_STATUS_UNDECIPHERABLE",
494: "SIP_STATUS_SECURITY_AGREEMENT_REQUIRED",
500: "SIP_STATUS_INTERNAL_SERVER_ERROR",
501: "SIP_STATUS_NOT_IMPLEMENTED",
502: "SIP_STATUS_BAD_GATEWAY",
503: "SIP_STATUS_SERVICE_UNAVAILABLE",
504: "SIP_STATUS_GATEWAY_TIMEOUT",
505: "SIP_STATUS_VERSION_NOT_SUPPORTED",
513: "SIP_STATUS_MESSAGE_TOO_LARGE",
600: "SIP_STATUS_GLOBAL_BUSY_EVERYWHERE",
603: "SIP_STATUS_GLOBAL_DECLINE",
604: "SIP_STATUS_GLOBAL_DOES_NOT_EXIST_ANYWHERE",
606: "SIP_STATUS_GLOBAL_NOT_ACCEPTABLE",
607: "SIP_STATUS_GLOBAL_UNWANTED",
608: "SIP_STATUS_GLOBAL_REJECTED",
}
SIPStatusCode_value = map[string]int32{
"SIP_STATUS_UNKNOWN": 0,
"SIP_STATUS_TRYING": 100,
"SIP_STATUS_RINGING": 180,
"SIP_STATUS_CALL_IS_FORWARDED": 181,
"SIP_STATUS_QUEUED": 182,
"SIP_STATUS_SESSION_PROGRESS": 183,
"SIP_STATUS_EARLY_DIALOG_TERMINATED": 199,
"SIP_STATUS_OK": 200,
"SIP_STATUS_ACCEPTED": 202,
"SIP_STATUS_NO_NOTIFICATION": 204,
"SIP_STATUS_MULTIPLE_CHOICES": 300,
"SIP_STATUS_MOVED_PERMANENTLY": 301,
"SIP_STATUS_MOVED_TEMPORARILY": 302,
"SIP_STATUS_USE_PROXY": 305,
"SIP_STATUS_ALTERNATIVE_SERVICE": 380,
"SIP_STATUS_BAD_REQUEST": 400,
"SIP_STATUS_UNAUTHORIZED": 401,
"SIP_STATUS_PAYMENT_REQUIRED": 402,
"SIP_STATUS_FORBIDDEN": 403,
"SIP_STATUS_NOTFOUND": 404,
"SIP_STATUS_METHOD_NOT_ALLOWED": 405,
"SIP_STATUS_NOT_ACCEPTABLE": 406,
"SIP_STATUS_PROXY_AUTH_REQUIRED": 407,
"SIP_STATUS_REQUEST_TIMEOUT": 408,
"SIP_STATUS_CONFLICT": 409,
"SIP_STATUS_GONE": 410,
"SIP_STATUS_LENGTH_REQUIRED": 411,
"SIP_STATUS_CONDITIONAL_REQUEST_FAILED": 412,
"SIP_STATUS_REQUEST_ENTITY_TOO_LARGE": 413,
"SIP_STATUS_REQUEST_URI_TOO_LONG": 414,
"SIP_STATUS_UNSUPPORTED_MEDIA_TYPE": 415,
"SIP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE": 416,
"SIP_STATUS_UNKNOWN_RESOURCE_PRIORITY": 417,
"SIP_STATUS_BAD_EXTENSION": 420,
"SIP_STATUS_EXTENSION_REQUIRED": 421,
"SIP_STATUS_SESSION_INTERVAL_TOO_SMALL": 422,
"SIP_STATUS_INTERVAL_TOO_BRIEF": 423,
"SIP_STATUS_BAD_LOCATION_INFORMATION": 424,
"SIP_STATUS_BAD_ALERT_MESSAGE": 425,
"SIP_STATUS_USE_IDENTITY_HEADER": 428,
"SIP_STATUS_PROVIDE_REFERRER_IDENTITY": 429,
"SIP_STATUS_FLOW_FAILED": 430,
"SIP_STATUS_ANONYMITY_DISALLOWED": 433,
"SIP_STATUS_BAD_IDENTITY_INFO": 436,
"SIP_STATUS_UNSUPPORTED_CERTIFICATE": 437,
"SIP_STATUS_INVALID_IDENTITY_HEADER": 438,
"SIP_STATUS_FIRST_HOP_LACKS_OUTBOUND_SUPPORT": 439,
"SIP_STATUS_MAX_BREADTH_EXCEEDED": 440,
"SIP_STATUS_BAD_INFO_PACKAGE": 469,
"SIP_STATUS_CONSENT_NEEDED": 470,
"SIP_STATUS_TEMPORARILY_UNAVAILABLE": 480,
"SIP_STATUS_CALL_TRANSACTION_DOES_NOT_EXISTS": 481,
"SIP_STATUS_LOOP_DETECTED": 482,
"SIP_STATUS_TOO_MANY_HOPS": 483,
"SIP_STATUS_ADDRESS_INCOMPLETE": 484,
"SIP_STATUS_AMBIGUOUS": 485,
"SIP_STATUS_BUSY_HERE": 486,
"SIP_STATUS_REQUEST_TERMINATED": 487,
"SIP_STATUS_NOT_ACCEPTABLE_HERE": 488,
"SIP_STATUS_BAD_EVENT": 489,
"SIP_STATUS_REQUEST_PENDING": 491,
"SIP_STATUS_UNDECIPHERABLE": 493,
"SIP_STATUS_SECURITY_AGREEMENT_REQUIRED": 494,
"SIP_STATUS_INTERNAL_SERVER_ERROR": 500,
"SIP_STATUS_NOT_IMPLEMENTED": 501,
"SIP_STATUS_BAD_GATEWAY": 502,
"SIP_STATUS_SERVICE_UNAVAILABLE": 503,
"SIP_STATUS_GATEWAY_TIMEOUT": 504,
"SIP_STATUS_VERSION_NOT_SUPPORTED": 505,
"SIP_STATUS_MESSAGE_TOO_LARGE": 513,
"SIP_STATUS_GLOBAL_BUSY_EVERYWHERE": 600,
"SIP_STATUS_GLOBAL_DECLINE": 603,
"SIP_STATUS_GLOBAL_DOES_NOT_EXIST_ANYWHERE": 604,
"SIP_STATUS_GLOBAL_NOT_ACCEPTABLE": 606,
"SIP_STATUS_GLOBAL_UNWANTED": 607,
"SIP_STATUS_GLOBAL_REJECTED": 608,
}
)
func (x SIPStatusCode) Enum() *SIPStatusCode {
p := new(SIPStatusCode)
*p = x
return p
}
func (x SIPStatusCode) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SIPStatusCode) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_sip_proto_enumTypes[0].Descriptor()
}
func (SIPStatusCode) Type() protoreflect.EnumType {
return &file_livekit_sip_proto_enumTypes[0]
}
func (x SIPStatusCode) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (SIPStatusCode) EnumDescriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{0}
}
type SIPTransport int32
const (
SIPTransport_SIP_TRANSPORT_AUTO SIPTransport = 0
SIPTransport_SIP_TRANSPORT_UDP SIPTransport = 1
SIPTransport_SIP_TRANSPORT_TCP SIPTransport = 2
SIPTransport_SIP_TRANSPORT_TLS SIPTransport = 3
)
var (
SIPTransport_name = map[int32]string{
0: "SIP_TRANSPORT_AUTO",
1: "SIP_TRANSPORT_UDP",
2: "SIP_TRANSPORT_TCP",
3: "SIP_TRANSPORT_TLS",
}
SIPTransport_value = map[string]int32{
"SIP_TRANSPORT_AUTO": 0,
"SIP_TRANSPORT_UDP": 1,
"SIP_TRANSPORT_TCP": 2,
"SIP_TRANSPORT_TLS": 3,
}
)
func (x SIPTransport) Enum() *SIPTransport {
p := new(SIPTransport)
*p = x
return p
}
func (x SIPTransport) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SIPTransport) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_sip_proto_enumTypes[1].Descriptor()
}
func (SIPTransport) Type() protoreflect.EnumType {
return &file_livekit_sip_proto_enumTypes[1]
}
func (x SIPTransport) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (SIPTransport) EnumDescriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{1}
}
type SIPHeaderOptions int32
const (
SIPHeaderOptions_SIP_NO_HEADERS SIPHeaderOptions = 0 SIPHeaderOptions_SIP_X_HEADERS SIPHeaderOptions = 1 SIPHeaderOptions_SIP_ALL_HEADERS SIPHeaderOptions = 2 )
var (
SIPHeaderOptions_name = map[int32]string{
0: "SIP_NO_HEADERS",
1: "SIP_X_HEADERS",
2: "SIP_ALL_HEADERS",
}
SIPHeaderOptions_value = map[string]int32{
"SIP_NO_HEADERS": 0,
"SIP_X_HEADERS": 1,
"SIP_ALL_HEADERS": 2,
}
)
func (x SIPHeaderOptions) Enum() *SIPHeaderOptions {
p := new(SIPHeaderOptions)
*p = x
return p
}
func (x SIPHeaderOptions) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SIPHeaderOptions) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_sip_proto_enumTypes[2].Descriptor()
}
func (SIPHeaderOptions) Type() protoreflect.EnumType {
return &file_livekit_sip_proto_enumTypes[2]
}
func (x SIPHeaderOptions) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (SIPHeaderOptions) EnumDescriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{2}
}
type SIPMediaEncryption int32
const (
SIPMediaEncryption_SIP_MEDIA_ENCRYPT_DISABLE SIPMediaEncryption = 0 SIPMediaEncryption_SIP_MEDIA_ENCRYPT_ALLOW SIPMediaEncryption = 1 SIPMediaEncryption_SIP_MEDIA_ENCRYPT_REQUIRE SIPMediaEncryption = 2 )
var (
SIPMediaEncryption_name = map[int32]string{
0: "SIP_MEDIA_ENCRYPT_DISABLE",
1: "SIP_MEDIA_ENCRYPT_ALLOW",
2: "SIP_MEDIA_ENCRYPT_REQUIRE",
}
SIPMediaEncryption_value = map[string]int32{
"SIP_MEDIA_ENCRYPT_DISABLE": 0,
"SIP_MEDIA_ENCRYPT_ALLOW": 1,
"SIP_MEDIA_ENCRYPT_REQUIRE": 2,
}
)
func (x SIPMediaEncryption) Enum() *SIPMediaEncryption {
p := new(SIPMediaEncryption)
*p = x
return p
}
func (x SIPMediaEncryption) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SIPMediaEncryption) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_sip_proto_enumTypes[3].Descriptor()
}
func (SIPMediaEncryption) Type() protoreflect.EnumType {
return &file_livekit_sip_proto_enumTypes[3]
}
func (x SIPMediaEncryption) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (SIPMediaEncryption) EnumDescriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{3}
}
type ProviderType int32
const (
ProviderType_PROVIDER_TYPE_UNKNOWN ProviderType = 0
ProviderType_PROVIDER_TYPE_INTERNAL ProviderType = 1 ProviderType_PROVIDER_TYPE_EXTERNAL ProviderType = 2 )
var (
ProviderType_name = map[int32]string{
0: "PROVIDER_TYPE_UNKNOWN",
1: "PROVIDER_TYPE_INTERNAL",
2: "PROVIDER_TYPE_EXTERNAL",
}
ProviderType_value = map[string]int32{
"PROVIDER_TYPE_UNKNOWN": 0,
"PROVIDER_TYPE_INTERNAL": 1,
"PROVIDER_TYPE_EXTERNAL": 2,
}
)
func (x ProviderType) Enum() *ProviderType {
p := new(ProviderType)
*p = x
return p
}
func (x ProviderType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ProviderType) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_sip_proto_enumTypes[4].Descriptor()
}
func (ProviderType) Type() protoreflect.EnumType {
return &file_livekit_sip_proto_enumTypes[4]
}
func (x ProviderType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (ProviderType) EnumDescriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{4}
}
type SIPCallStatus int32
const (
SIPCallStatus_SCS_CALL_INCOMING SIPCallStatus = 0 SIPCallStatus_SCS_PARTICIPANT_JOINED SIPCallStatus = 1 SIPCallStatus_SCS_ACTIVE SIPCallStatus = 2 SIPCallStatus_SCS_DISCONNECTED SIPCallStatus = 3 SIPCallStatus_SCS_ERROR SIPCallStatus = 4 )
var (
SIPCallStatus_name = map[int32]string{
0: "SCS_CALL_INCOMING",
1: "SCS_PARTICIPANT_JOINED",
2: "SCS_ACTIVE",
3: "SCS_DISCONNECTED",
4: "SCS_ERROR",
}
SIPCallStatus_value = map[string]int32{
"SCS_CALL_INCOMING": 0,
"SCS_PARTICIPANT_JOINED": 1,
"SCS_ACTIVE": 2,
"SCS_DISCONNECTED": 3,
"SCS_ERROR": 4,
}
)
func (x SIPCallStatus) Enum() *SIPCallStatus {
p := new(SIPCallStatus)
*p = x
return p
}
func (x SIPCallStatus) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SIPCallStatus) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_sip_proto_enumTypes[5].Descriptor()
}
func (SIPCallStatus) Type() protoreflect.EnumType {
return &file_livekit_sip_proto_enumTypes[5]
}
func (x SIPCallStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (SIPCallStatus) EnumDescriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{5}
}
type SIPTransferStatus int32
const (
SIPTransferStatus_STS_TRANSFER_ONGOING SIPTransferStatus = 0
SIPTransferStatus_STS_TRANSFER_FAILED SIPTransferStatus = 1
SIPTransferStatus_STS_TRANSFER_SUCCESSFUL SIPTransferStatus = 2
)
var (
SIPTransferStatus_name = map[int32]string{
0: "STS_TRANSFER_ONGOING",
1: "STS_TRANSFER_FAILED",
2: "STS_TRANSFER_SUCCESSFUL",
}
SIPTransferStatus_value = map[string]int32{
"STS_TRANSFER_ONGOING": 0,
"STS_TRANSFER_FAILED": 1,
"STS_TRANSFER_SUCCESSFUL": 2,
}
)
func (x SIPTransferStatus) Enum() *SIPTransferStatus {
p := new(SIPTransferStatus)
*p = x
return p
}
func (x SIPTransferStatus) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SIPTransferStatus) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_sip_proto_enumTypes[6].Descriptor()
}
func (SIPTransferStatus) Type() protoreflect.EnumType {
return &file_livekit_sip_proto_enumTypes[6]
}
func (x SIPTransferStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (SIPTransferStatus) EnumDescriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{6}
}
type SIPFeature int32
const (
SIPFeature_NONE SIPFeature = 0
SIPFeature_KRISP_ENABLED SIPFeature = 1
)
var (
SIPFeature_name = map[int32]string{
0: "NONE",
1: "KRISP_ENABLED",
}
SIPFeature_value = map[string]int32{
"NONE": 0,
"KRISP_ENABLED": 1,
}
)
func (x SIPFeature) Enum() *SIPFeature {
p := new(SIPFeature)
*p = x
return p
}
func (x SIPFeature) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SIPFeature) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_sip_proto_enumTypes[7].Descriptor()
}
func (SIPFeature) Type() protoreflect.EnumType {
return &file_livekit_sip_proto_enumTypes[7]
}
func (x SIPFeature) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (SIPFeature) EnumDescriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{7}
}
type SIPCallDirection int32
const (
SIPCallDirection_SCD_UNKNOWN SIPCallDirection = 0
SIPCallDirection_SCD_INBOUND SIPCallDirection = 1
SIPCallDirection_SCD_OUTBOUND SIPCallDirection = 2
)
var (
SIPCallDirection_name = map[int32]string{
0: "SCD_UNKNOWN",
1: "SCD_INBOUND",
2: "SCD_OUTBOUND",
}
SIPCallDirection_value = map[string]int32{
"SCD_UNKNOWN": 0,
"SCD_INBOUND": 1,
"SCD_OUTBOUND": 2,
}
)
func (x SIPCallDirection) Enum() *SIPCallDirection {
p := new(SIPCallDirection)
*p = x
return p
}
func (x SIPCallDirection) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SIPCallDirection) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_sip_proto_enumTypes[8].Descriptor()
}
func (SIPCallDirection) Type() protoreflect.EnumType {
return &file_livekit_sip_proto_enumTypes[8]
}
func (x SIPCallDirection) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (SIPCallDirection) EnumDescriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{8}
}
type SIPTrunkInfo_TrunkKind int32
const (
SIPTrunkInfo_TRUNK_LEGACY SIPTrunkInfo_TrunkKind = 0
SIPTrunkInfo_TRUNK_INBOUND SIPTrunkInfo_TrunkKind = 1
SIPTrunkInfo_TRUNK_OUTBOUND SIPTrunkInfo_TrunkKind = 2
)
var (
SIPTrunkInfo_TrunkKind_name = map[int32]string{
0: "TRUNK_LEGACY",
1: "TRUNK_INBOUND",
2: "TRUNK_OUTBOUND",
}
SIPTrunkInfo_TrunkKind_value = map[string]int32{
"TRUNK_LEGACY": 0,
"TRUNK_INBOUND": 1,
"TRUNK_OUTBOUND": 2,
}
)
func (x SIPTrunkInfo_TrunkKind) Enum() *SIPTrunkInfo_TrunkKind {
p := new(SIPTrunkInfo_TrunkKind)
*p = x
return p
}
func (x SIPTrunkInfo_TrunkKind) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SIPTrunkInfo_TrunkKind) Descriptor() protoreflect.EnumDescriptor {
return file_livekit_sip_proto_enumTypes[9].Descriptor()
}
func (SIPTrunkInfo_TrunkKind) Type() protoreflect.EnumType {
return &file_livekit_sip_proto_enumTypes[9]
}
func (x SIPTrunkInfo_TrunkKind) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (SIPTrunkInfo_TrunkKind) EnumDescriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{3, 0}
}
type SIPStatus struct {
state protoimpl.MessageState `protogen:"open.v1"`
Code SIPStatusCode `protobuf:"varint,1,opt,name=code,proto3,enum=livekit.SIPStatusCode" json:"code,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SIPStatus) Reset() {
*x = SIPStatus{}
mi := &file_livekit_sip_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SIPStatus) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SIPStatus) ProtoMessage() {}
func (x *SIPStatus) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*SIPStatus) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{0}
}
func (x *SIPStatus) GetCode() SIPStatusCode {
if x != nil {
return x.Code
}
return SIPStatusCode_SIP_STATUS_UNKNOWN
}
func (x *SIPStatus) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
type CreateSIPTrunkRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
InboundAddresses []string `protobuf:"bytes,1,rep,name=inbound_addresses,json=inboundAddresses,proto3" json:"inbound_addresses,omitempty"`
OutboundAddress string `protobuf:"bytes,2,opt,name=outbound_address,json=outboundAddress,proto3" json:"outbound_address,omitempty"`
OutboundNumber string `protobuf:"bytes,3,opt,name=outbound_number,json=outboundNumber,proto3" json:"outbound_number,omitempty"`
InboundNumbersRegex []string `protobuf:"bytes,4,rep,name=inbound_numbers_regex,json=inboundNumbersRegex,proto3" json:"inbound_numbers_regex,omitempty"`
InboundNumbers []string `protobuf:"bytes,9,rep,name=inbound_numbers,json=inboundNumbers,proto3" json:"inbound_numbers,omitempty"`
InboundUsername string `protobuf:"bytes,5,opt,name=inbound_username,json=inboundUsername,proto3" json:"inbound_username,omitempty"`
InboundPassword string `protobuf:"bytes,6,opt,name=inbound_password,json=inboundPassword,proto3" json:"inbound_password,omitempty"`
OutboundUsername string `protobuf:"bytes,7,opt,name=outbound_username,json=outboundUsername,proto3" json:"outbound_username,omitempty"`
OutboundPassword string `protobuf:"bytes,8,opt,name=outbound_password,json=outboundPassword,proto3" json:"outbound_password,omitempty"`
Name string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"`
Metadata string `protobuf:"bytes,11,opt,name=metadata,proto3" json:"metadata,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateSIPTrunkRequest) Reset() {
*x = CreateSIPTrunkRequest{}
mi := &file_livekit_sip_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateSIPTrunkRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateSIPTrunkRequest) ProtoMessage() {}
func (x *CreateSIPTrunkRequest) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*CreateSIPTrunkRequest) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{1}
}
func (x *CreateSIPTrunkRequest) GetInboundAddresses() []string {
if x != nil {
return x.InboundAddresses
}
return nil
}
func (x *CreateSIPTrunkRequest) GetOutboundAddress() string {
if x != nil {
return x.OutboundAddress
}
return ""
}
func (x *CreateSIPTrunkRequest) GetOutboundNumber() string {
if x != nil {
return x.OutboundNumber
}
return ""
}
func (x *CreateSIPTrunkRequest) GetInboundNumbersRegex() []string {
if x != nil {
return x.InboundNumbersRegex
}
return nil
}
func (x *CreateSIPTrunkRequest) GetInboundNumbers() []string {
if x != nil {
return x.InboundNumbers
}
return nil
}
func (x *CreateSIPTrunkRequest) GetInboundUsername() string {
if x != nil {
return x.InboundUsername
}
return ""
}
func (x *CreateSIPTrunkRequest) GetInboundPassword() string {
if x != nil {
return x.InboundPassword
}
return ""
}
func (x *CreateSIPTrunkRequest) GetOutboundUsername() string {
if x != nil {
return x.OutboundUsername
}
return ""
}
func (x *CreateSIPTrunkRequest) GetOutboundPassword() string {
if x != nil {
return x.OutboundPassword
}
return ""
}
func (x *CreateSIPTrunkRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CreateSIPTrunkRequest) GetMetadata() string {
if x != nil {
return x.Metadata
}
return ""
}
type ProviderInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Type ProviderType `protobuf:"varint,3,opt,name=type,proto3,enum=livekit.ProviderType" json:"type,omitempty"`
PreventTransfer bool `protobuf:"varint,4,opt,name=prevent_transfer,json=preventTransfer,proto3" json:"prevent_transfer,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ProviderInfo) Reset() {
*x = ProviderInfo{}
mi := &file_livekit_sip_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ProviderInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ProviderInfo) ProtoMessage() {}
func (x *ProviderInfo) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*ProviderInfo) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{2}
}
func (x *ProviderInfo) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *ProviderInfo) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *ProviderInfo) GetType() ProviderType {
if x != nil {
return x.Type
}
return ProviderType_PROVIDER_TYPE_UNKNOWN
}
func (x *ProviderInfo) GetPreventTransfer() bool {
if x != nil {
return x.PreventTransfer
}
return false
}
type SIPTrunkInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"`
Kind SIPTrunkInfo_TrunkKind `protobuf:"varint,14,opt,name=kind,proto3,enum=livekit.SIPTrunkInfo_TrunkKind" json:"kind,omitempty"`
InboundAddresses []string `protobuf:"bytes,2,rep,name=inbound_addresses,json=inboundAddresses,proto3" json:"inbound_addresses,omitempty"`
OutboundAddress string `protobuf:"bytes,3,opt,name=outbound_address,json=outboundAddress,proto3" json:"outbound_address,omitempty"`
OutboundNumber string `protobuf:"bytes,4,opt,name=outbound_number,json=outboundNumber,proto3" json:"outbound_number,omitempty"`
Transport SIPTransport `protobuf:"varint,13,opt,name=transport,proto3,enum=livekit.SIPTransport" json:"transport,omitempty"`
InboundNumbersRegex []string `protobuf:"bytes,5,rep,name=inbound_numbers_regex,json=inboundNumbersRegex,proto3" json:"inbound_numbers_regex,omitempty"`
InboundNumbers []string `protobuf:"bytes,10,rep,name=inbound_numbers,json=inboundNumbers,proto3" json:"inbound_numbers,omitempty"`
InboundUsername string `protobuf:"bytes,6,opt,name=inbound_username,json=inboundUsername,proto3" json:"inbound_username,omitempty"`
InboundPassword string `protobuf:"bytes,7,opt,name=inbound_password,json=inboundPassword,proto3" json:"inbound_password,omitempty"`
OutboundUsername string `protobuf:"bytes,8,opt,name=outbound_username,json=outboundUsername,proto3" json:"outbound_username,omitempty"`
OutboundPassword string `protobuf:"bytes,9,opt,name=outbound_password,json=outboundPassword,proto3" json:"outbound_password,omitempty"`
Name string `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty"`
Metadata string `protobuf:"bytes,12,opt,name=metadata,proto3" json:"metadata,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SIPTrunkInfo) Reset() {
*x = SIPTrunkInfo{}
mi := &file_livekit_sip_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SIPTrunkInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SIPTrunkInfo) ProtoMessage() {}
func (x *SIPTrunkInfo) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*SIPTrunkInfo) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{3}
}
func (x *SIPTrunkInfo) GetSipTrunkId() string {
if x != nil {
return x.SipTrunkId
}
return ""
}
func (x *SIPTrunkInfo) GetKind() SIPTrunkInfo_TrunkKind {
if x != nil {
return x.Kind
}
return SIPTrunkInfo_TRUNK_LEGACY
}
func (x *SIPTrunkInfo) GetInboundAddresses() []string {
if x != nil {
return x.InboundAddresses
}
return nil
}
func (x *SIPTrunkInfo) GetOutboundAddress() string {
if x != nil {
return x.OutboundAddress
}
return ""
}
func (x *SIPTrunkInfo) GetOutboundNumber() string {
if x != nil {
return x.OutboundNumber
}
return ""
}
func (x *SIPTrunkInfo) GetTransport() SIPTransport {
if x != nil {
return x.Transport
}
return SIPTransport_SIP_TRANSPORT_AUTO
}
func (x *SIPTrunkInfo) GetInboundNumbersRegex() []string {
if x != nil {
return x.InboundNumbersRegex
}
return nil
}
func (x *SIPTrunkInfo) GetInboundNumbers() []string {
if x != nil {
return x.InboundNumbers
}
return nil
}
func (x *SIPTrunkInfo) GetInboundUsername() string {
if x != nil {
return x.InboundUsername
}
return ""
}
func (x *SIPTrunkInfo) GetInboundPassword() string {
if x != nil {
return x.InboundPassword
}
return ""
}
func (x *SIPTrunkInfo) GetOutboundUsername() string {
if x != nil {
return x.OutboundUsername
}
return ""
}
func (x *SIPTrunkInfo) GetOutboundPassword() string {
if x != nil {
return x.OutboundPassword
}
return ""
}
func (x *SIPTrunkInfo) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *SIPTrunkInfo) GetMetadata() string {
if x != nil {
return x.Metadata
}
return ""
}
type CreateSIPInboundTrunkRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Trunk *SIPInboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateSIPInboundTrunkRequest) Reset() {
*x = CreateSIPInboundTrunkRequest{}
mi := &file_livekit_sip_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateSIPInboundTrunkRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateSIPInboundTrunkRequest) ProtoMessage() {}
func (x *CreateSIPInboundTrunkRequest) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*CreateSIPInboundTrunkRequest) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{4}
}
func (x *CreateSIPInboundTrunkRequest) GetTrunk() *SIPInboundTrunkInfo {
if x != nil {
return x.Trunk
}
return nil
}
type UpdateSIPInboundTrunkRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"`
Action isUpdateSIPInboundTrunkRequest_Action `protobuf_oneof:"action"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateSIPInboundTrunkRequest) Reset() {
*x = UpdateSIPInboundTrunkRequest{}
mi := &file_livekit_sip_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateSIPInboundTrunkRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateSIPInboundTrunkRequest) ProtoMessage() {}
func (x *UpdateSIPInboundTrunkRequest) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*UpdateSIPInboundTrunkRequest) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{5}
}
func (x *UpdateSIPInboundTrunkRequest) GetSipTrunkId() string {
if x != nil {
return x.SipTrunkId
}
return ""
}
func (x *UpdateSIPInboundTrunkRequest) GetAction() isUpdateSIPInboundTrunkRequest_Action {
if x != nil {
return x.Action
}
return nil
}
func (x *UpdateSIPInboundTrunkRequest) GetReplace() *SIPInboundTrunkInfo {
if x != nil {
if x, ok := x.Action.(*UpdateSIPInboundTrunkRequest_Replace); ok {
return x.Replace
}
}
return nil
}
func (x *UpdateSIPInboundTrunkRequest) GetUpdate() *SIPInboundTrunkUpdate {
if x != nil {
if x, ok := x.Action.(*UpdateSIPInboundTrunkRequest_Update); ok {
return x.Update
}
}
return nil
}
type isUpdateSIPInboundTrunkRequest_Action interface {
isUpdateSIPInboundTrunkRequest_Action()
}
type UpdateSIPInboundTrunkRequest_Replace struct {
Replace *SIPInboundTrunkInfo `protobuf:"bytes,2,opt,name=replace,proto3,oneof"`
}
type UpdateSIPInboundTrunkRequest_Update struct {
Update *SIPInboundTrunkUpdate `protobuf:"bytes,3,opt,name=update,proto3,oneof"`
}
func (*UpdateSIPInboundTrunkRequest_Replace) isUpdateSIPInboundTrunkRequest_Action() {}
func (*UpdateSIPInboundTrunkRequest_Update) isUpdateSIPInboundTrunkRequest_Action() {}
type SIPInboundTrunkInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
Numbers []string `protobuf:"bytes,4,rep,name=numbers,proto3" json:"numbers,omitempty"`
AllowedAddresses []string `protobuf:"bytes,5,rep,name=allowed_addresses,json=allowedAddresses,proto3" json:"allowed_addresses,omitempty"`
AllowedNumbers []string `protobuf:"bytes,6,rep,name=allowed_numbers,json=allowedNumbers,proto3" json:"allowed_numbers,omitempty"`
AuthUsername string `protobuf:"bytes,7,opt,name=auth_username,json=authUsername,proto3" json:"auth_username,omitempty"`
AuthPassword string `protobuf:"bytes,8,opt,name=auth_password,json=authPassword,proto3" json:"auth_password,omitempty"`
Headers map[string]string `protobuf:"bytes,9,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
HeadersToAttributes map[string]string `protobuf:"bytes,10,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
AttributesToHeaders map[string]string `protobuf:"bytes,14,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
IncludeHeaders SIPHeaderOptions `protobuf:"varint,15,opt,name=include_headers,json=includeHeaders,proto3,enum=livekit.SIPHeaderOptions" json:"include_headers,omitempty"`
RingingTimeout *durationpb.Duration `protobuf:"bytes,11,opt,name=ringing_timeout,json=ringingTimeout,proto3" json:"ringing_timeout,omitempty"`
MaxCallDuration *durationpb.Duration `protobuf:"bytes,12,opt,name=max_call_duration,json=maxCallDuration,proto3" json:"max_call_duration,omitempty"`
KrispEnabled bool `protobuf:"varint,13,opt,name=krisp_enabled,json=krispEnabled,proto3" json:"krisp_enabled,omitempty"`
MediaEncryption SIPMediaEncryption `protobuf:"varint,16,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SIPInboundTrunkInfo) Reset() {
*x = SIPInboundTrunkInfo{}
mi := &file_livekit_sip_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SIPInboundTrunkInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SIPInboundTrunkInfo) ProtoMessage() {}
func (x *SIPInboundTrunkInfo) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*SIPInboundTrunkInfo) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{6}
}
func (x *SIPInboundTrunkInfo) GetSipTrunkId() string {
if x != nil {
return x.SipTrunkId
}
return ""
}
func (x *SIPInboundTrunkInfo) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *SIPInboundTrunkInfo) GetMetadata() string {
if x != nil {
return x.Metadata
}
return ""
}
func (x *SIPInboundTrunkInfo) GetNumbers() []string {
if x != nil {
return x.Numbers
}
return nil
}
func (x *SIPInboundTrunkInfo) GetAllowedAddresses() []string {
if x != nil {
return x.AllowedAddresses
}
return nil
}
func (x *SIPInboundTrunkInfo) GetAllowedNumbers() []string {
if x != nil {
return x.AllowedNumbers
}
return nil
}
func (x *SIPInboundTrunkInfo) GetAuthUsername() string {
if x != nil {
return x.AuthUsername
}
return ""
}
func (x *SIPInboundTrunkInfo) GetAuthPassword() string {
if x != nil {
return x.AuthPassword
}
return ""
}
func (x *SIPInboundTrunkInfo) GetHeaders() map[string]string {
if x != nil {
return x.Headers
}
return nil
}
func (x *SIPInboundTrunkInfo) GetHeadersToAttributes() map[string]string {
if x != nil {
return x.HeadersToAttributes
}
return nil
}
func (x *SIPInboundTrunkInfo) GetAttributesToHeaders() map[string]string {
if x != nil {
return x.AttributesToHeaders
}
return nil
}
func (x *SIPInboundTrunkInfo) GetIncludeHeaders() SIPHeaderOptions {
if x != nil {
return x.IncludeHeaders
}
return SIPHeaderOptions_SIP_NO_HEADERS
}
func (x *SIPInboundTrunkInfo) GetRingingTimeout() *durationpb.Duration {
if x != nil {
return x.RingingTimeout
}
return nil
}
func (x *SIPInboundTrunkInfo) GetMaxCallDuration() *durationpb.Duration {
if x != nil {
return x.MaxCallDuration
}
return nil
}
func (x *SIPInboundTrunkInfo) GetKrispEnabled() bool {
if x != nil {
return x.KrispEnabled
}
return false
}
func (x *SIPInboundTrunkInfo) GetMediaEncryption() SIPMediaEncryption {
if x != nil {
return x.MediaEncryption
}
return SIPMediaEncryption_SIP_MEDIA_ENCRYPT_DISABLE
}
func (x *SIPInboundTrunkInfo) GetCreatedAt() *timestamppb.Timestamp {
if x != nil {
return x.CreatedAt
}
return nil
}
func (x *SIPInboundTrunkInfo) GetUpdatedAt() *timestamppb.Timestamp {
if x != nil {
return x.UpdatedAt
}
return nil
}
type SIPInboundTrunkUpdate struct {
state protoimpl.MessageState `protogen:"open.v1"`
Numbers *ListUpdate `protobuf:"bytes,1,opt,name=numbers,proto3" json:"numbers,omitempty"`
AllowedAddresses *ListUpdate `protobuf:"bytes,2,opt,name=allowed_addresses,json=allowedAddresses,proto3" json:"allowed_addresses,omitempty"`
AllowedNumbers *ListUpdate `protobuf:"bytes,3,opt,name=allowed_numbers,json=allowedNumbers,proto3" json:"allowed_numbers,omitempty"`
AuthUsername *string `protobuf:"bytes,4,opt,name=auth_username,json=authUsername,proto3,oneof" json:"auth_username,omitempty"`
AuthPassword *string `protobuf:"bytes,5,opt,name=auth_password,json=authPassword,proto3,oneof" json:"auth_password,omitempty"`
Name *string `protobuf:"bytes,6,opt,name=name,proto3,oneof" json:"name,omitempty"`
Metadata *string `protobuf:"bytes,7,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
MediaEncryption *SIPMediaEncryption `protobuf:"varint,8,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption,oneof" json:"media_encryption,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SIPInboundTrunkUpdate) Reset() {
*x = SIPInboundTrunkUpdate{}
mi := &file_livekit_sip_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SIPInboundTrunkUpdate) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SIPInboundTrunkUpdate) ProtoMessage() {}
func (x *SIPInboundTrunkUpdate) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*SIPInboundTrunkUpdate) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{7}
}
func (x *SIPInboundTrunkUpdate) GetNumbers() *ListUpdate {
if x != nil {
return x.Numbers
}
return nil
}
func (x *SIPInboundTrunkUpdate) GetAllowedAddresses() *ListUpdate {
if x != nil {
return x.AllowedAddresses
}
return nil
}
func (x *SIPInboundTrunkUpdate) GetAllowedNumbers() *ListUpdate {
if x != nil {
return x.AllowedNumbers
}
return nil
}
func (x *SIPInboundTrunkUpdate) GetAuthUsername() string {
if x != nil && x.AuthUsername != nil {
return *x.AuthUsername
}
return ""
}
func (x *SIPInboundTrunkUpdate) GetAuthPassword() string {
if x != nil && x.AuthPassword != nil {
return *x.AuthPassword
}
return ""
}
func (x *SIPInboundTrunkUpdate) GetName() string {
if x != nil && x.Name != nil {
return *x.Name
}
return ""
}
func (x *SIPInboundTrunkUpdate) GetMetadata() string {
if x != nil && x.Metadata != nil {
return *x.Metadata
}
return ""
}
func (x *SIPInboundTrunkUpdate) GetMediaEncryption() SIPMediaEncryption {
if x != nil && x.MediaEncryption != nil {
return *x.MediaEncryption
}
return SIPMediaEncryption_SIP_MEDIA_ENCRYPT_DISABLE
}
type CreateSIPOutboundTrunkRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Trunk *SIPOutboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateSIPOutboundTrunkRequest) Reset() {
*x = CreateSIPOutboundTrunkRequest{}
mi := &file_livekit_sip_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateSIPOutboundTrunkRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateSIPOutboundTrunkRequest) ProtoMessage() {}
func (x *CreateSIPOutboundTrunkRequest) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*CreateSIPOutboundTrunkRequest) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{8}
}
func (x *CreateSIPOutboundTrunkRequest) GetTrunk() *SIPOutboundTrunkInfo {
if x != nil {
return x.Trunk
}
return nil
}
type UpdateSIPOutboundTrunkRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"`
Action isUpdateSIPOutboundTrunkRequest_Action `protobuf_oneof:"action"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateSIPOutboundTrunkRequest) Reset() {
*x = UpdateSIPOutboundTrunkRequest{}
mi := &file_livekit_sip_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateSIPOutboundTrunkRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateSIPOutboundTrunkRequest) ProtoMessage() {}
func (x *UpdateSIPOutboundTrunkRequest) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*UpdateSIPOutboundTrunkRequest) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{9}
}
func (x *UpdateSIPOutboundTrunkRequest) GetSipTrunkId() string {
if x != nil {
return x.SipTrunkId
}
return ""
}
func (x *UpdateSIPOutboundTrunkRequest) GetAction() isUpdateSIPOutboundTrunkRequest_Action {
if x != nil {
return x.Action
}
return nil
}
func (x *UpdateSIPOutboundTrunkRequest) GetReplace() *SIPOutboundTrunkInfo {
if x != nil {
if x, ok := x.Action.(*UpdateSIPOutboundTrunkRequest_Replace); ok {
return x.Replace
}
}
return nil
}
func (x *UpdateSIPOutboundTrunkRequest) GetUpdate() *SIPOutboundTrunkUpdate {
if x != nil {
if x, ok := x.Action.(*UpdateSIPOutboundTrunkRequest_Update); ok {
return x.Update
}
}
return nil
}
type isUpdateSIPOutboundTrunkRequest_Action interface {
isUpdateSIPOutboundTrunkRequest_Action()
}
type UpdateSIPOutboundTrunkRequest_Replace struct {
Replace *SIPOutboundTrunkInfo `protobuf:"bytes,2,opt,name=replace,proto3,oneof"`
}
type UpdateSIPOutboundTrunkRequest_Update struct {
Update *SIPOutboundTrunkUpdate `protobuf:"bytes,3,opt,name=update,proto3,oneof"`
}
func (*UpdateSIPOutboundTrunkRequest_Replace) isUpdateSIPOutboundTrunkRequest_Action() {}
func (*UpdateSIPOutboundTrunkRequest_Update) isUpdateSIPOutboundTrunkRequest_Action() {}
type SIPOutboundTrunkInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
DestinationCountry string `protobuf:"bytes,14,opt,name=destination_country,json=destinationCountry,proto3" json:"destination_country,omitempty"`
Transport SIPTransport `protobuf:"varint,5,opt,name=transport,proto3,enum=livekit.SIPTransport" json:"transport,omitempty"`
Numbers []string `protobuf:"bytes,6,rep,name=numbers,proto3" json:"numbers,omitempty"`
AuthUsername string `protobuf:"bytes,7,opt,name=auth_username,json=authUsername,proto3" json:"auth_username,omitempty"`
AuthPassword string `protobuf:"bytes,8,opt,name=auth_password,json=authPassword,proto3" json:"auth_password,omitempty"`
Headers map[string]string `protobuf:"bytes,9,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
HeadersToAttributes map[string]string `protobuf:"bytes,10,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
AttributesToHeaders map[string]string `protobuf:"bytes,11,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
IncludeHeaders SIPHeaderOptions `protobuf:"varint,12,opt,name=include_headers,json=includeHeaders,proto3,enum=livekit.SIPHeaderOptions" json:"include_headers,omitempty"`
MediaEncryption SIPMediaEncryption `protobuf:"varint,13,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"`
FromHost string `protobuf:"bytes,15,opt,name=from_host,json=fromHost,proto3" json:"from_host,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SIPOutboundTrunkInfo) Reset() {
*x = SIPOutboundTrunkInfo{}
mi := &file_livekit_sip_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SIPOutboundTrunkInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SIPOutboundTrunkInfo) ProtoMessage() {}
func (x *SIPOutboundTrunkInfo) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*SIPOutboundTrunkInfo) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{10}
}
func (x *SIPOutboundTrunkInfo) GetSipTrunkId() string {
if x != nil {
return x.SipTrunkId
}
return ""
}
func (x *SIPOutboundTrunkInfo) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *SIPOutboundTrunkInfo) GetMetadata() string {
if x != nil {
return x.Metadata
}
return ""
}
func (x *SIPOutboundTrunkInfo) GetAddress() string {
if x != nil {
return x.Address
}
return ""
}
func (x *SIPOutboundTrunkInfo) GetDestinationCountry() string {
if x != nil {
return x.DestinationCountry
}
return ""
}
func (x *SIPOutboundTrunkInfo) GetTransport() SIPTransport {
if x != nil {
return x.Transport
}
return SIPTransport_SIP_TRANSPORT_AUTO
}
func (x *SIPOutboundTrunkInfo) GetNumbers() []string {
if x != nil {
return x.Numbers
}
return nil
}
func (x *SIPOutboundTrunkInfo) GetAuthUsername() string {
if x != nil {
return x.AuthUsername
}
return ""
}
func (x *SIPOutboundTrunkInfo) GetAuthPassword() string {
if x != nil {
return x.AuthPassword
}
return ""
}
func (x *SIPOutboundTrunkInfo) GetHeaders() map[string]string {
if x != nil {
return x.Headers
}
return nil
}
func (x *SIPOutboundTrunkInfo) GetHeadersToAttributes() map[string]string {
if x != nil {
return x.HeadersToAttributes
}
return nil
}
func (x *SIPOutboundTrunkInfo) GetAttributesToHeaders() map[string]string {
if x != nil {
return x.AttributesToHeaders
}
return nil
}
func (x *SIPOutboundTrunkInfo) GetIncludeHeaders() SIPHeaderOptions {
if x != nil {
return x.IncludeHeaders
}
return SIPHeaderOptions_SIP_NO_HEADERS
}
func (x *SIPOutboundTrunkInfo) GetMediaEncryption() SIPMediaEncryption {
if x != nil {
return x.MediaEncryption
}
return SIPMediaEncryption_SIP_MEDIA_ENCRYPT_DISABLE
}
func (x *SIPOutboundTrunkInfo) GetFromHost() string {
if x != nil {
return x.FromHost
}
return ""
}
func (x *SIPOutboundTrunkInfo) GetCreatedAt() *timestamppb.Timestamp {
if x != nil {
return x.CreatedAt
}
return nil
}
func (x *SIPOutboundTrunkInfo) GetUpdatedAt() *timestamppb.Timestamp {
if x != nil {
return x.UpdatedAt
}
return nil
}
type SIPOutboundTrunkUpdate struct {
state protoimpl.MessageState `protogen:"open.v1"`
Address *string `protobuf:"bytes,1,opt,name=address,proto3,oneof" json:"address,omitempty"`
Transport *SIPTransport `protobuf:"varint,2,opt,name=transport,proto3,enum=livekit.SIPTransport,oneof" json:"transport,omitempty"`
DestinationCountry *string `protobuf:"bytes,9,opt,name=destination_country,json=destinationCountry,proto3,oneof" json:"destination_country,omitempty"`
Numbers *ListUpdate `protobuf:"bytes,3,opt,name=numbers,proto3" json:"numbers,omitempty"`
AuthUsername *string `protobuf:"bytes,4,opt,name=auth_username,json=authUsername,proto3,oneof" json:"auth_username,omitempty"`
AuthPassword *string `protobuf:"bytes,5,opt,name=auth_password,json=authPassword,proto3,oneof" json:"auth_password,omitempty"`
Name *string `protobuf:"bytes,6,opt,name=name,proto3,oneof" json:"name,omitempty"`
Metadata *string `protobuf:"bytes,7,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
MediaEncryption *SIPMediaEncryption `protobuf:"varint,8,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption,oneof" json:"media_encryption,omitempty"`
FromHost *string `protobuf:"bytes,10,opt,name=from_host,json=fromHost,proto3,oneof" json:"from_host,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SIPOutboundTrunkUpdate) Reset() {
*x = SIPOutboundTrunkUpdate{}
mi := &file_livekit_sip_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SIPOutboundTrunkUpdate) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SIPOutboundTrunkUpdate) ProtoMessage() {}
func (x *SIPOutboundTrunkUpdate) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*SIPOutboundTrunkUpdate) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{11}
}
func (x *SIPOutboundTrunkUpdate) GetAddress() string {
if x != nil && x.Address != nil {
return *x.Address
}
return ""
}
func (x *SIPOutboundTrunkUpdate) GetTransport() SIPTransport {
if x != nil && x.Transport != nil {
return *x.Transport
}
return SIPTransport_SIP_TRANSPORT_AUTO
}
func (x *SIPOutboundTrunkUpdate) GetDestinationCountry() string {
if x != nil && x.DestinationCountry != nil {
return *x.DestinationCountry
}
return ""
}
func (x *SIPOutboundTrunkUpdate) GetNumbers() *ListUpdate {
if x != nil {
return x.Numbers
}
return nil
}
func (x *SIPOutboundTrunkUpdate) GetAuthUsername() string {
if x != nil && x.AuthUsername != nil {
return *x.AuthUsername
}
return ""
}
func (x *SIPOutboundTrunkUpdate) GetAuthPassword() string {
if x != nil && x.AuthPassword != nil {
return *x.AuthPassword
}
return ""
}
func (x *SIPOutboundTrunkUpdate) GetName() string {
if x != nil && x.Name != nil {
return *x.Name
}
return ""
}
func (x *SIPOutboundTrunkUpdate) GetMetadata() string {
if x != nil && x.Metadata != nil {
return *x.Metadata
}
return ""
}
func (x *SIPOutboundTrunkUpdate) GetMediaEncryption() SIPMediaEncryption {
if x != nil && x.MediaEncryption != nil {
return *x.MediaEncryption
}
return SIPMediaEncryption_SIP_MEDIA_ENCRYPT_DISABLE
}
func (x *SIPOutboundTrunkUpdate) GetFromHost() string {
if x != nil && x.FromHost != nil {
return *x.FromHost
}
return ""
}
type GetSIPInboundTrunkRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetSIPInboundTrunkRequest) Reset() {
*x = GetSIPInboundTrunkRequest{}
mi := &file_livekit_sip_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetSIPInboundTrunkRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetSIPInboundTrunkRequest) ProtoMessage() {}
func (x *GetSIPInboundTrunkRequest) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*GetSIPInboundTrunkRequest) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{12}
}
func (x *GetSIPInboundTrunkRequest) GetSipTrunkId() string {
if x != nil {
return x.SipTrunkId
}
return ""
}
type GetSIPInboundTrunkResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Trunk *SIPInboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetSIPInboundTrunkResponse) Reset() {
*x = GetSIPInboundTrunkResponse{}
mi := &file_livekit_sip_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetSIPInboundTrunkResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetSIPInboundTrunkResponse) ProtoMessage() {}
func (x *GetSIPInboundTrunkResponse) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*GetSIPInboundTrunkResponse) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{13}
}
func (x *GetSIPInboundTrunkResponse) GetTrunk() *SIPInboundTrunkInfo {
if x != nil {
return x.Trunk
}
return nil
}
type GetSIPOutboundTrunkRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetSIPOutboundTrunkRequest) Reset() {
*x = GetSIPOutboundTrunkRequest{}
mi := &file_livekit_sip_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetSIPOutboundTrunkRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetSIPOutboundTrunkRequest) ProtoMessage() {}
func (x *GetSIPOutboundTrunkRequest) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*GetSIPOutboundTrunkRequest) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{14}
}
func (x *GetSIPOutboundTrunkRequest) GetSipTrunkId() string {
if x != nil {
return x.SipTrunkId
}
return ""
}
type GetSIPOutboundTrunkResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Trunk *SIPOutboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetSIPOutboundTrunkResponse) Reset() {
*x = GetSIPOutboundTrunkResponse{}
mi := &file_livekit_sip_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetSIPOutboundTrunkResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetSIPOutboundTrunkResponse) ProtoMessage() {}
func (x *GetSIPOutboundTrunkResponse) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*GetSIPOutboundTrunkResponse) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{15}
}
func (x *GetSIPOutboundTrunkResponse) GetTrunk() *SIPOutboundTrunkInfo {
if x != nil {
return x.Trunk
}
return nil
}
type ListSIPTrunkRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Page *Pagination `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListSIPTrunkRequest) Reset() {
*x = ListSIPTrunkRequest{}
mi := &file_livekit_sip_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListSIPTrunkRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListSIPTrunkRequest) ProtoMessage() {}
func (x *ListSIPTrunkRequest) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*ListSIPTrunkRequest) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{16}
}
func (x *ListSIPTrunkRequest) GetPage() *Pagination {
if x != nil {
return x.Page
}
return nil
}
type ListSIPTrunkResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Items []*SIPTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListSIPTrunkResponse) Reset() {
*x = ListSIPTrunkResponse{}
mi := &file_livekit_sip_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListSIPTrunkResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListSIPTrunkResponse) ProtoMessage() {}
func (x *ListSIPTrunkResponse) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*ListSIPTrunkResponse) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{17}
}
func (x *ListSIPTrunkResponse) GetItems() []*SIPTrunkInfo {
if x != nil {
return x.Items
}
return nil
}
type ListSIPInboundTrunkRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"`
TrunkIds []string `protobuf:"bytes,1,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"`
Numbers []string `protobuf:"bytes,2,rep,name=numbers,proto3" json:"numbers,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListSIPInboundTrunkRequest) Reset() {
*x = ListSIPInboundTrunkRequest{}
mi := &file_livekit_sip_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListSIPInboundTrunkRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListSIPInboundTrunkRequest) ProtoMessage() {}
func (x *ListSIPInboundTrunkRequest) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*ListSIPInboundTrunkRequest) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{18}
}
func (x *ListSIPInboundTrunkRequest) GetPage() *Pagination {
if x != nil {
return x.Page
}
return nil
}
func (x *ListSIPInboundTrunkRequest) GetTrunkIds() []string {
if x != nil {
return x.TrunkIds
}
return nil
}
func (x *ListSIPInboundTrunkRequest) GetNumbers() []string {
if x != nil {
return x.Numbers
}
return nil
}
type ListSIPInboundTrunkResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Items []*SIPInboundTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListSIPInboundTrunkResponse) Reset() {
*x = ListSIPInboundTrunkResponse{}
mi := &file_livekit_sip_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListSIPInboundTrunkResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListSIPInboundTrunkResponse) ProtoMessage() {}
func (x *ListSIPInboundTrunkResponse) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[19]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*ListSIPInboundTrunkResponse) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{19}
}
func (x *ListSIPInboundTrunkResponse) GetItems() []*SIPInboundTrunkInfo {
if x != nil {
return x.Items
}
return nil
}
type ListSIPOutboundTrunkRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"`
TrunkIds []string `protobuf:"bytes,1,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"`
Numbers []string `protobuf:"bytes,2,rep,name=numbers,proto3" json:"numbers,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListSIPOutboundTrunkRequest) Reset() {
*x = ListSIPOutboundTrunkRequest{}
mi := &file_livekit_sip_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListSIPOutboundTrunkRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListSIPOutboundTrunkRequest) ProtoMessage() {}
func (x *ListSIPOutboundTrunkRequest) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*ListSIPOutboundTrunkRequest) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{20}
}
func (x *ListSIPOutboundTrunkRequest) GetPage() *Pagination {
if x != nil {
return x.Page
}
return nil
}
func (x *ListSIPOutboundTrunkRequest) GetTrunkIds() []string {
if x != nil {
return x.TrunkIds
}
return nil
}
func (x *ListSIPOutboundTrunkRequest) GetNumbers() []string {
if x != nil {
return x.Numbers
}
return nil
}
type ListSIPOutboundTrunkResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Items []*SIPOutboundTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListSIPOutboundTrunkResponse) Reset() {
*x = ListSIPOutboundTrunkResponse{}
mi := &file_livekit_sip_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListSIPOutboundTrunkResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListSIPOutboundTrunkResponse) ProtoMessage() {}
func (x *ListSIPOutboundTrunkResponse) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*ListSIPOutboundTrunkResponse) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{21}
}
func (x *ListSIPOutboundTrunkResponse) GetItems() []*SIPOutboundTrunkInfo {
if x != nil {
return x.Items
}
return nil
}
type DeleteSIPTrunkRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteSIPTrunkRequest) Reset() {
*x = DeleteSIPTrunkRequest{}
mi := &file_livekit_sip_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteSIPTrunkRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteSIPTrunkRequest) ProtoMessage() {}
func (x *DeleteSIPTrunkRequest) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[22]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*DeleteSIPTrunkRequest) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{22}
}
func (x *DeleteSIPTrunkRequest) GetSipTrunkId() string {
if x != nil {
return x.SipTrunkId
}
return ""
}
type SIPDispatchRuleDirect struct {
state protoimpl.MessageState `protogen:"open.v1"`
RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`
Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SIPDispatchRuleDirect) Reset() {
*x = SIPDispatchRuleDirect{}
mi := &file_livekit_sip_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SIPDispatchRuleDirect) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SIPDispatchRuleDirect) ProtoMessage() {}
func (x *SIPDispatchRuleDirect) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[23]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*SIPDispatchRuleDirect) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{23}
}
func (x *SIPDispatchRuleDirect) GetRoomName() string {
if x != nil {
return x.RoomName
}
return ""
}
func (x *SIPDispatchRuleDirect) GetPin() string {
if x != nil {
return x.Pin
}
return ""
}
type SIPDispatchRuleIndividual struct {
state protoimpl.MessageState `protogen:"open.v1"`
RoomPrefix string `protobuf:"bytes,1,opt,name=room_prefix,json=roomPrefix,proto3" json:"room_prefix,omitempty"`
Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"`
NoRandomness bool `protobuf:"varint,3,opt,name=no_randomness,json=noRandomness,proto3" json:"no_randomness,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SIPDispatchRuleIndividual) Reset() {
*x = SIPDispatchRuleIndividual{}
mi := &file_livekit_sip_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SIPDispatchRuleIndividual) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SIPDispatchRuleIndividual) ProtoMessage() {}
func (x *SIPDispatchRuleIndividual) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[24]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*SIPDispatchRuleIndividual) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{24}
}
func (x *SIPDispatchRuleIndividual) GetRoomPrefix() string {
if x != nil {
return x.RoomPrefix
}
return ""
}
func (x *SIPDispatchRuleIndividual) GetPin() string {
if x != nil {
return x.Pin
}
return ""
}
func (x *SIPDispatchRuleIndividual) GetNoRandomness() bool {
if x != nil {
return x.NoRandomness
}
return false
}
type SIPDispatchRuleCallee struct {
state protoimpl.MessageState `protogen:"open.v1"`
RoomPrefix string `protobuf:"bytes,1,opt,name=room_prefix,json=roomPrefix,proto3" json:"room_prefix,omitempty"`
Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"`
Randomize bool `protobuf:"varint,3,opt,name=randomize,proto3" json:"randomize,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SIPDispatchRuleCallee) Reset() {
*x = SIPDispatchRuleCallee{}
mi := &file_livekit_sip_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SIPDispatchRuleCallee) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SIPDispatchRuleCallee) ProtoMessage() {}
func (x *SIPDispatchRuleCallee) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[25]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*SIPDispatchRuleCallee) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{25}
}
func (x *SIPDispatchRuleCallee) GetRoomPrefix() string {
if x != nil {
return x.RoomPrefix
}
return ""
}
func (x *SIPDispatchRuleCallee) GetPin() string {
if x != nil {
return x.Pin
}
return ""
}
func (x *SIPDispatchRuleCallee) GetRandomize() bool {
if x != nil {
return x.Randomize
}
return false
}
type SIPDispatchRule struct {
state protoimpl.MessageState `protogen:"open.v1"`
Rule isSIPDispatchRule_Rule `protobuf_oneof:"rule"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SIPDispatchRule) Reset() {
*x = SIPDispatchRule{}
mi := &file_livekit_sip_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SIPDispatchRule) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SIPDispatchRule) ProtoMessage() {}
func (x *SIPDispatchRule) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[26]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*SIPDispatchRule) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{26}
}
func (x *SIPDispatchRule) GetRule() isSIPDispatchRule_Rule {
if x != nil {
return x.Rule
}
return nil
}
func (x *SIPDispatchRule) GetDispatchRuleDirect() *SIPDispatchRuleDirect {
if x != nil {
if x, ok := x.Rule.(*SIPDispatchRule_DispatchRuleDirect); ok {
return x.DispatchRuleDirect
}
}
return nil
}
func (x *SIPDispatchRule) GetDispatchRuleIndividual() *SIPDispatchRuleIndividual {
if x != nil {
if x, ok := x.Rule.(*SIPDispatchRule_DispatchRuleIndividual); ok {
return x.DispatchRuleIndividual
}
}
return nil
}
func (x *SIPDispatchRule) GetDispatchRuleCallee() *SIPDispatchRuleCallee {
if x != nil {
if x, ok := x.Rule.(*SIPDispatchRule_DispatchRuleCallee); ok {
return x.DispatchRuleCallee
}
}
return nil
}
type isSIPDispatchRule_Rule interface {
isSIPDispatchRule_Rule()
}
type SIPDispatchRule_DispatchRuleDirect struct {
DispatchRuleDirect *SIPDispatchRuleDirect `protobuf:"bytes,1,opt,name=dispatch_rule_direct,json=dispatchRuleDirect,proto3,oneof"`
}
type SIPDispatchRule_DispatchRuleIndividual struct {
DispatchRuleIndividual *SIPDispatchRuleIndividual `protobuf:"bytes,2,opt,name=dispatch_rule_individual,json=dispatchRuleIndividual,proto3,oneof"`
}
type SIPDispatchRule_DispatchRuleCallee struct {
DispatchRuleCallee *SIPDispatchRuleCallee `protobuf:"bytes,3,opt,name=dispatch_rule_callee,json=dispatchRuleCallee,proto3,oneof"`
}
func (*SIPDispatchRule_DispatchRuleDirect) isSIPDispatchRule_Rule() {}
func (*SIPDispatchRule_DispatchRuleIndividual) isSIPDispatchRule_Rule() {}
func (*SIPDispatchRule_DispatchRuleCallee) isSIPDispatchRule_Rule() {}
type CreateSIPDispatchRuleRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
DispatchRule *SIPDispatchRuleInfo `protobuf:"bytes,10,opt,name=dispatch_rule,json=dispatchRule,proto3" json:"dispatch_rule,omitempty"` Rule *SIPDispatchRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"`
TrunkIds []string `protobuf:"bytes,2,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"`
HidePhoneNumber bool `protobuf:"varint,3,opt,name=hide_phone_number,json=hidePhoneNumber,proto3" json:"hide_phone_number,omitempty"`
InboundNumbers []string `protobuf:"bytes,6,rep,name=inbound_numbers,json=inboundNumbers,proto3" json:"inbound_numbers,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
Attributes map[string]string `protobuf:"bytes,7,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
RoomPreset string `protobuf:"bytes,8,opt,name=room_preset,json=roomPreset,proto3" json:"room_preset,omitempty"`
RoomConfig *RoomConfiguration `protobuf:"bytes,9,opt,name=room_config,json=roomConfig,proto3" json:"room_config,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateSIPDispatchRuleRequest) Reset() {
*x = CreateSIPDispatchRuleRequest{}
mi := &file_livekit_sip_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateSIPDispatchRuleRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateSIPDispatchRuleRequest) ProtoMessage() {}
func (x *CreateSIPDispatchRuleRequest) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[27]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*CreateSIPDispatchRuleRequest) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{27}
}
func (x *CreateSIPDispatchRuleRequest) GetDispatchRule() *SIPDispatchRuleInfo {
if x != nil {
return x.DispatchRule
}
return nil
}
func (x *CreateSIPDispatchRuleRequest) GetRule() *SIPDispatchRule {
if x != nil {
return x.Rule
}
return nil
}
func (x *CreateSIPDispatchRuleRequest) GetTrunkIds() []string {
if x != nil {
return x.TrunkIds
}
return nil
}
func (x *CreateSIPDispatchRuleRequest) GetHidePhoneNumber() bool {
if x != nil {
return x.HidePhoneNumber
}
return false
}
func (x *CreateSIPDispatchRuleRequest) GetInboundNumbers() []string {
if x != nil {
return x.InboundNumbers
}
return nil
}
func (x *CreateSIPDispatchRuleRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CreateSIPDispatchRuleRequest) GetMetadata() string {
if x != nil {
return x.Metadata
}
return ""
}
func (x *CreateSIPDispatchRuleRequest) GetAttributes() map[string]string {
if x != nil {
return x.Attributes
}
return nil
}
func (x *CreateSIPDispatchRuleRequest) GetRoomPreset() string {
if x != nil {
return x.RoomPreset
}
return ""
}
func (x *CreateSIPDispatchRuleRequest) GetRoomConfig() *RoomConfiguration {
if x != nil {
return x.RoomConfig
}
return nil
}
type UpdateSIPDispatchRuleRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
SipDispatchRuleId string `protobuf:"bytes,1,opt,name=sip_dispatch_rule_id,json=sipDispatchRuleId,proto3" json:"sip_dispatch_rule_id,omitempty"`
Action isUpdateSIPDispatchRuleRequest_Action `protobuf_oneof:"action"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateSIPDispatchRuleRequest) Reset() {
*x = UpdateSIPDispatchRuleRequest{}
mi := &file_livekit_sip_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateSIPDispatchRuleRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateSIPDispatchRuleRequest) ProtoMessage() {}
func (x *UpdateSIPDispatchRuleRequest) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[28]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*UpdateSIPDispatchRuleRequest) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{28}
}
func (x *UpdateSIPDispatchRuleRequest) GetSipDispatchRuleId() string {
if x != nil {
return x.SipDispatchRuleId
}
return ""
}
func (x *UpdateSIPDispatchRuleRequest) GetAction() isUpdateSIPDispatchRuleRequest_Action {
if x != nil {
return x.Action
}
return nil
}
func (x *UpdateSIPDispatchRuleRequest) GetReplace() *SIPDispatchRuleInfo {
if x != nil {
if x, ok := x.Action.(*UpdateSIPDispatchRuleRequest_Replace); ok {
return x.Replace
}
}
return nil
}
func (x *UpdateSIPDispatchRuleRequest) GetUpdate() *SIPDispatchRuleUpdate {
if x != nil {
if x, ok := x.Action.(*UpdateSIPDispatchRuleRequest_Update); ok {
return x.Update
}
}
return nil
}
type isUpdateSIPDispatchRuleRequest_Action interface {
isUpdateSIPDispatchRuleRequest_Action()
}
type UpdateSIPDispatchRuleRequest_Replace struct {
Replace *SIPDispatchRuleInfo `protobuf:"bytes,2,opt,name=replace,proto3,oneof"`
}
type UpdateSIPDispatchRuleRequest_Update struct {
Update *SIPDispatchRuleUpdate `protobuf:"bytes,3,opt,name=update,proto3,oneof"`
}
func (*UpdateSIPDispatchRuleRequest_Replace) isUpdateSIPDispatchRuleRequest_Action() {}
func (*UpdateSIPDispatchRuleRequest_Update) isUpdateSIPDispatchRuleRequest_Action() {}
type SIPDispatchRuleInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
SipDispatchRuleId string `protobuf:"bytes,1,opt,name=sip_dispatch_rule_id,json=sipDispatchRuleId,proto3" json:"sip_dispatch_rule_id,omitempty"`
Rule *SIPDispatchRule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"`
TrunkIds []string `protobuf:"bytes,3,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"`
HidePhoneNumber bool `protobuf:"varint,4,opt,name=hide_phone_number,json=hidePhoneNumber,proto3" json:"hide_phone_number,omitempty"`
InboundNumbers []string `protobuf:"bytes,7,rep,name=inbound_numbers,json=inboundNumbers,proto3" json:"inbound_numbers,omitempty"`
Numbers []string `protobuf:"bytes,13,rep,name=numbers,proto3" json:"numbers,omitempty"`
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
Metadata string `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
Attributes map[string]string `protobuf:"bytes,8,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
RoomPreset string `protobuf:"bytes,9,opt,name=room_preset,json=roomPreset,proto3" json:"room_preset,omitempty"`
RoomConfig *RoomConfiguration `protobuf:"bytes,10,opt,name=room_config,json=roomConfig,proto3" json:"room_config,omitempty"`
KrispEnabled bool `protobuf:"varint,11,opt,name=krisp_enabled,json=krispEnabled,proto3" json:"krisp_enabled,omitempty"`
MediaEncryption SIPMediaEncryption `protobuf:"varint,12,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SIPDispatchRuleInfo) Reset() {
*x = SIPDispatchRuleInfo{}
mi := &file_livekit_sip_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SIPDispatchRuleInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SIPDispatchRuleInfo) ProtoMessage() {}
func (x *SIPDispatchRuleInfo) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[29]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*SIPDispatchRuleInfo) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{29}
}
func (x *SIPDispatchRuleInfo) GetSipDispatchRuleId() string {
if x != nil {
return x.SipDispatchRuleId
}
return ""
}
func (x *SIPDispatchRuleInfo) GetRule() *SIPDispatchRule {
if x != nil {
return x.Rule
}
return nil
}
func (x *SIPDispatchRuleInfo) GetTrunkIds() []string {
if x != nil {
return x.TrunkIds
}
return nil
}
func (x *SIPDispatchRuleInfo) GetHidePhoneNumber() bool {
if x != nil {
return x.HidePhoneNumber
}
return false
}
func (x *SIPDispatchRuleInfo) GetInboundNumbers() []string {
if x != nil {
return x.InboundNumbers
}
return nil
}
func (x *SIPDispatchRuleInfo) GetNumbers() []string {
if x != nil {
return x.Numbers
}
return nil
}
func (x *SIPDispatchRuleInfo) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *SIPDispatchRuleInfo) GetMetadata() string {
if x != nil {
return x.Metadata
}
return ""
}
func (x *SIPDispatchRuleInfo) GetAttributes() map[string]string {
if x != nil {
return x.Attributes
}
return nil
}
func (x *SIPDispatchRuleInfo) GetRoomPreset() string {
if x != nil {
return x.RoomPreset
}
return ""
}
func (x *SIPDispatchRuleInfo) GetRoomConfig() *RoomConfiguration {
if x != nil {
return x.RoomConfig
}
return nil
}
func (x *SIPDispatchRuleInfo) GetKrispEnabled() bool {
if x != nil {
return x.KrispEnabled
}
return false
}
func (x *SIPDispatchRuleInfo) GetMediaEncryption() SIPMediaEncryption {
if x != nil {
return x.MediaEncryption
}
return SIPMediaEncryption_SIP_MEDIA_ENCRYPT_DISABLE
}
func (x *SIPDispatchRuleInfo) GetCreatedAt() *timestamppb.Timestamp {
if x != nil {
return x.CreatedAt
}
return nil
}
func (x *SIPDispatchRuleInfo) GetUpdatedAt() *timestamppb.Timestamp {
if x != nil {
return x.UpdatedAt
}
return nil
}
type SIPDispatchRuleUpdate struct {
state protoimpl.MessageState `protogen:"open.v1"`
TrunkIds *ListUpdate `protobuf:"bytes,1,opt,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"`
Rule *SIPDispatchRule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"`
Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
Metadata *string `protobuf:"bytes,4,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
Attributes map[string]string `protobuf:"bytes,5,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
MediaEncryption *SIPMediaEncryption `protobuf:"varint,6,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption,oneof" json:"media_encryption,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SIPDispatchRuleUpdate) Reset() {
*x = SIPDispatchRuleUpdate{}
mi := &file_livekit_sip_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SIPDispatchRuleUpdate) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SIPDispatchRuleUpdate) ProtoMessage() {}
func (x *SIPDispatchRuleUpdate) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[30]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*SIPDispatchRuleUpdate) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{30}
}
func (x *SIPDispatchRuleUpdate) GetTrunkIds() *ListUpdate {
if x != nil {
return x.TrunkIds
}
return nil
}
func (x *SIPDispatchRuleUpdate) GetRule() *SIPDispatchRule {
if x != nil {
return x.Rule
}
return nil
}
func (x *SIPDispatchRuleUpdate) GetName() string {
if x != nil && x.Name != nil {
return *x.Name
}
return ""
}
func (x *SIPDispatchRuleUpdate) GetMetadata() string {
if x != nil && x.Metadata != nil {
return *x.Metadata
}
return ""
}
func (x *SIPDispatchRuleUpdate) GetAttributes() map[string]string {
if x != nil {
return x.Attributes
}
return nil
}
func (x *SIPDispatchRuleUpdate) GetMediaEncryption() SIPMediaEncryption {
if x != nil && x.MediaEncryption != nil {
return *x.MediaEncryption
}
return SIPMediaEncryption_SIP_MEDIA_ENCRYPT_DISABLE
}
type ListSIPDispatchRuleRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"`
DispatchRuleIds []string `protobuf:"bytes,1,rep,name=dispatch_rule_ids,json=dispatchRuleIds,proto3" json:"dispatch_rule_ids,omitempty"`
TrunkIds []string `protobuf:"bytes,2,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListSIPDispatchRuleRequest) Reset() {
*x = ListSIPDispatchRuleRequest{}
mi := &file_livekit_sip_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListSIPDispatchRuleRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListSIPDispatchRuleRequest) ProtoMessage() {}
func (x *ListSIPDispatchRuleRequest) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[31]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*ListSIPDispatchRuleRequest) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{31}
}
func (x *ListSIPDispatchRuleRequest) GetPage() *Pagination {
if x != nil {
return x.Page
}
return nil
}
func (x *ListSIPDispatchRuleRequest) GetDispatchRuleIds() []string {
if x != nil {
return x.DispatchRuleIds
}
return nil
}
func (x *ListSIPDispatchRuleRequest) GetTrunkIds() []string {
if x != nil {
return x.TrunkIds
}
return nil
}
type ListSIPDispatchRuleResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Items []*SIPDispatchRuleInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListSIPDispatchRuleResponse) Reset() {
*x = ListSIPDispatchRuleResponse{}
mi := &file_livekit_sip_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListSIPDispatchRuleResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListSIPDispatchRuleResponse) ProtoMessage() {}
func (x *ListSIPDispatchRuleResponse) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[32]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*ListSIPDispatchRuleResponse) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{32}
}
func (x *ListSIPDispatchRuleResponse) GetItems() []*SIPDispatchRuleInfo {
if x != nil {
return x.Items
}
return nil
}
type DeleteSIPDispatchRuleRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
SipDispatchRuleId string `protobuf:"bytes,1,opt,name=sip_dispatch_rule_id,json=sipDispatchRuleId,proto3" json:"sip_dispatch_rule_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteSIPDispatchRuleRequest) Reset() {
*x = DeleteSIPDispatchRuleRequest{}
mi := &file_livekit_sip_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteSIPDispatchRuleRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteSIPDispatchRuleRequest) ProtoMessage() {}
func (x *DeleteSIPDispatchRuleRequest) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[33]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*DeleteSIPDispatchRuleRequest) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{33}
}
func (x *DeleteSIPDispatchRuleRequest) GetSipDispatchRuleId() string {
if x != nil {
return x.SipDispatchRuleId
}
return ""
}
type SIPOutboundConfig struct {
state protoimpl.MessageState `protogen:"open.v1"`
Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
DestinationCountry string `protobuf:"bytes,7,opt,name=destination_country,json=destinationCountry,proto3" json:"destination_country,omitempty"`
Transport SIPTransport `protobuf:"varint,2,opt,name=transport,proto3,enum=livekit.SIPTransport" json:"transport,omitempty"`
AuthUsername string `protobuf:"bytes,3,opt,name=auth_username,json=authUsername,proto3" json:"auth_username,omitempty"`
AuthPassword string `protobuf:"bytes,4,opt,name=auth_password,json=authPassword,proto3" json:"auth_password,omitempty"`
HeadersToAttributes map[string]string `protobuf:"bytes,5,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
AttributesToHeaders map[string]string `protobuf:"bytes,6,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
FromHost string `protobuf:"bytes,8,opt,name=from_host,json=fromHost,proto3" json:"from_host,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SIPOutboundConfig) Reset() {
*x = SIPOutboundConfig{}
mi := &file_livekit_sip_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SIPOutboundConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SIPOutboundConfig) ProtoMessage() {}
func (x *SIPOutboundConfig) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[34]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*SIPOutboundConfig) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{34}
}
func (x *SIPOutboundConfig) GetHostname() string {
if x != nil {
return x.Hostname
}
return ""
}
func (x *SIPOutboundConfig) GetDestinationCountry() string {
if x != nil {
return x.DestinationCountry
}
return ""
}
func (x *SIPOutboundConfig) GetTransport() SIPTransport {
if x != nil {
return x.Transport
}
return SIPTransport_SIP_TRANSPORT_AUTO
}
func (x *SIPOutboundConfig) GetAuthUsername() string {
if x != nil {
return x.AuthUsername
}
return ""
}
func (x *SIPOutboundConfig) GetAuthPassword() string {
if x != nil {
return x.AuthPassword
}
return ""
}
func (x *SIPOutboundConfig) GetHeadersToAttributes() map[string]string {
if x != nil {
return x.HeadersToAttributes
}
return nil
}
func (x *SIPOutboundConfig) GetAttributesToHeaders() map[string]string {
if x != nil {
return x.AttributesToHeaders
}
return nil
}
func (x *SIPOutboundConfig) GetFromHost() string {
if x != nil {
return x.FromHost
}
return ""
}
type CreateSIPParticipantRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"`
Trunk *SIPOutboundConfig `protobuf:"bytes,20,opt,name=trunk,proto3" json:"trunk,omitempty"`
SipCallTo string `protobuf:"bytes,2,opt,name=sip_call_to,json=sipCallTo,proto3" json:"sip_call_to,omitempty"`
SipNumber string `protobuf:"bytes,15,opt,name=sip_number,json=sipNumber,proto3" json:"sip_number,omitempty"`
RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`
ParticipantIdentity string `protobuf:"bytes,4,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"`
ParticipantName string `protobuf:"bytes,7,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"`
ParticipantMetadata string `protobuf:"bytes,8,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"`
ParticipantAttributes map[string]string `protobuf:"bytes,9,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
Dtmf string `protobuf:"bytes,5,opt,name=dtmf,proto3" json:"dtmf,omitempty"`
PlayRingtone bool `protobuf:"varint,6,opt,name=play_ringtone,json=playRingtone,proto3" json:"play_ringtone,omitempty"`
PlayDialtone bool `protobuf:"varint,13,opt,name=play_dialtone,json=playDialtone,proto3" json:"play_dialtone,omitempty"`
HidePhoneNumber bool `protobuf:"varint,10,opt,name=hide_phone_number,json=hidePhoneNumber,proto3" json:"hide_phone_number,omitempty"`
Headers map[string]string `protobuf:"bytes,16,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
IncludeHeaders SIPHeaderOptions `protobuf:"varint,17,opt,name=include_headers,json=includeHeaders,proto3,enum=livekit.SIPHeaderOptions" json:"include_headers,omitempty"`
RingingTimeout *durationpb.Duration `protobuf:"bytes,11,opt,name=ringing_timeout,json=ringingTimeout,proto3" json:"ringing_timeout,omitempty"`
MaxCallDuration *durationpb.Duration `protobuf:"bytes,12,opt,name=max_call_duration,json=maxCallDuration,proto3" json:"max_call_duration,omitempty"`
KrispEnabled bool `protobuf:"varint,14,opt,name=krisp_enabled,json=krispEnabled,proto3" json:"krisp_enabled,omitempty"`
MediaEncryption SIPMediaEncryption `protobuf:"varint,18,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"`
WaitUntilAnswered bool `protobuf:"varint,19,opt,name=wait_until_answered,json=waitUntilAnswered,proto3" json:"wait_until_answered,omitempty"`
DisplayName *string `protobuf:"bytes,21,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"`
Destination *Destination `protobuf:"bytes,22,opt,name=destination,proto3,oneof" json:"destination,omitempty"` unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateSIPParticipantRequest) Reset() {
*x = CreateSIPParticipantRequest{}
mi := &file_livekit_sip_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateSIPParticipantRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateSIPParticipantRequest) ProtoMessage() {}
func (x *CreateSIPParticipantRequest) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[35]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*CreateSIPParticipantRequest) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{35}
}
func (x *CreateSIPParticipantRequest) GetSipTrunkId() string {
if x != nil {
return x.SipTrunkId
}
return ""
}
func (x *CreateSIPParticipantRequest) GetTrunk() *SIPOutboundConfig {
if x != nil {
return x.Trunk
}
return nil
}
func (x *CreateSIPParticipantRequest) GetSipCallTo() string {
if x != nil {
return x.SipCallTo
}
return ""
}
func (x *CreateSIPParticipantRequest) GetSipNumber() string {
if x != nil {
return x.SipNumber
}
return ""
}
func (x *CreateSIPParticipantRequest) GetRoomName() string {
if x != nil {
return x.RoomName
}
return ""
}
func (x *CreateSIPParticipantRequest) GetParticipantIdentity() string {
if x != nil {
return x.ParticipantIdentity
}
return ""
}
func (x *CreateSIPParticipantRequest) GetParticipantName() string {
if x != nil {
return x.ParticipantName
}
return ""
}
func (x *CreateSIPParticipantRequest) GetParticipantMetadata() string {
if x != nil {
return x.ParticipantMetadata
}
return ""
}
func (x *CreateSIPParticipantRequest) GetParticipantAttributes() map[string]string {
if x != nil {
return x.ParticipantAttributes
}
return nil
}
func (x *CreateSIPParticipantRequest) GetDtmf() string {
if x != nil {
return x.Dtmf
}
return ""
}
func (x *CreateSIPParticipantRequest) GetPlayRingtone() bool {
if x != nil {
return x.PlayRingtone
}
return false
}
func (x *CreateSIPParticipantRequest) GetPlayDialtone() bool {
if x != nil {
return x.PlayDialtone
}
return false
}
func (x *CreateSIPParticipantRequest) GetHidePhoneNumber() bool {
if x != nil {
return x.HidePhoneNumber
}
return false
}
func (x *CreateSIPParticipantRequest) GetHeaders() map[string]string {
if x != nil {
return x.Headers
}
return nil
}
func (x *CreateSIPParticipantRequest) GetIncludeHeaders() SIPHeaderOptions {
if x != nil {
return x.IncludeHeaders
}
return SIPHeaderOptions_SIP_NO_HEADERS
}
func (x *CreateSIPParticipantRequest) GetRingingTimeout() *durationpb.Duration {
if x != nil {
return x.RingingTimeout
}
return nil
}
func (x *CreateSIPParticipantRequest) GetMaxCallDuration() *durationpb.Duration {
if x != nil {
return x.MaxCallDuration
}
return nil
}
func (x *CreateSIPParticipantRequest) GetKrispEnabled() bool {
if x != nil {
return x.KrispEnabled
}
return false
}
func (x *CreateSIPParticipantRequest) GetMediaEncryption() SIPMediaEncryption {
if x != nil {
return x.MediaEncryption
}
return SIPMediaEncryption_SIP_MEDIA_ENCRYPT_DISABLE
}
func (x *CreateSIPParticipantRequest) GetWaitUntilAnswered() bool {
if x != nil {
return x.WaitUntilAnswered
}
return false
}
func (x *CreateSIPParticipantRequest) GetDisplayName() string {
if x != nil && x.DisplayName != nil {
return *x.DisplayName
}
return ""
}
func (x *CreateSIPParticipantRequest) GetDestination() *Destination {
if x != nil {
return x.Destination
}
return nil
}
type SIPParticipantInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
ParticipantId string `protobuf:"bytes,1,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"`
ParticipantIdentity string `protobuf:"bytes,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"`
RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`
SipCallId string `protobuf:"bytes,4,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SIPParticipantInfo) Reset() {
*x = SIPParticipantInfo{}
mi := &file_livekit_sip_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SIPParticipantInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SIPParticipantInfo) ProtoMessage() {}
func (x *SIPParticipantInfo) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[36]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*SIPParticipantInfo) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{36}
}
func (x *SIPParticipantInfo) GetParticipantId() string {
if x != nil {
return x.ParticipantId
}
return ""
}
func (x *SIPParticipantInfo) GetParticipantIdentity() string {
if x != nil {
return x.ParticipantIdentity
}
return ""
}
func (x *SIPParticipantInfo) GetRoomName() string {
if x != nil {
return x.RoomName
}
return ""
}
func (x *SIPParticipantInfo) GetSipCallId() string {
if x != nil {
return x.SipCallId
}
return ""
}
type TransferSIPParticipantRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
ParticipantIdentity string `protobuf:"bytes,1,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"`
RoomName string `protobuf:"bytes,2,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`
TransferTo string `protobuf:"bytes,3,opt,name=transfer_to,json=transferTo,proto3" json:"transfer_to,omitempty"`
PlayDialtone bool `protobuf:"varint,4,opt,name=play_dialtone,json=playDialtone,proto3" json:"play_dialtone,omitempty"`
Headers map[string]string `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
RingingTimeout *durationpb.Duration `protobuf:"bytes,6,opt,name=ringing_timeout,json=ringingTimeout,proto3" json:"ringing_timeout,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TransferSIPParticipantRequest) Reset() {
*x = TransferSIPParticipantRequest{}
mi := &file_livekit_sip_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TransferSIPParticipantRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TransferSIPParticipantRequest) ProtoMessage() {}
func (x *TransferSIPParticipantRequest) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[37]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*TransferSIPParticipantRequest) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{37}
}
func (x *TransferSIPParticipantRequest) GetParticipantIdentity() string {
if x != nil {
return x.ParticipantIdentity
}
return ""
}
func (x *TransferSIPParticipantRequest) GetRoomName() string {
if x != nil {
return x.RoomName
}
return ""
}
func (x *TransferSIPParticipantRequest) GetTransferTo() string {
if x != nil {
return x.TransferTo
}
return ""
}
func (x *TransferSIPParticipantRequest) GetPlayDialtone() bool {
if x != nil {
return x.PlayDialtone
}
return false
}
func (x *TransferSIPParticipantRequest) GetHeaders() map[string]string {
if x != nil {
return x.Headers
}
return nil
}
func (x *TransferSIPParticipantRequest) GetRingingTimeout() *durationpb.Duration {
if x != nil {
return x.RingingTimeout
}
return nil
}
type SIPCallInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
CallId string `protobuf:"bytes,1,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"`
TrunkId string `protobuf:"bytes,2,opt,name=trunk_id,json=trunkId,proto3" json:"trunk_id,omitempty"`
DispatchRuleId string `protobuf:"bytes,16,opt,name=dispatch_rule_id,json=dispatchRuleId,proto3" json:"dispatch_rule_id,omitempty"`
Region string `protobuf:"bytes,17,opt,name=region,proto3" json:"region,omitempty"`
RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`
RoomId string `protobuf:"bytes,4,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` ParticipantIdentity string `protobuf:"bytes,5,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"`
ParticipantAttributes map[string]string `protobuf:"bytes,18,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
FromUri *SIPUri `protobuf:"bytes,6,opt,name=from_uri,json=fromUri,proto3" json:"from_uri,omitempty"`
ToUri *SIPUri `protobuf:"bytes,7,opt,name=to_uri,json=toUri,proto3" json:"to_uri,omitempty"`
CreatedAt int64 `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
StartedAt int64 `protobuf:"varint,10,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
EndedAt int64 `protobuf:"varint,11,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"`
EnabledFeatures []SIPFeature `protobuf:"varint,14,rep,packed,name=enabled_features,json=enabledFeatures,proto3,enum=livekit.SIPFeature" json:"enabled_features,omitempty"`
CallDirection SIPCallDirection `protobuf:"varint,15,opt,name=call_direction,json=callDirection,proto3,enum=livekit.SIPCallDirection" json:"call_direction,omitempty"`
CallStatus SIPCallStatus `protobuf:"varint,8,opt,name=call_status,json=callStatus,proto3,enum=livekit.SIPCallStatus" json:"call_status,omitempty"`
CreatedAtNs int64 `protobuf:"varint,22,opt,name=created_at_ns,json=createdAtNs,proto3" json:"created_at_ns,omitempty"`
StartedAtNs int64 `protobuf:"varint,23,opt,name=started_at_ns,json=startedAtNs,proto3" json:"started_at_ns,omitempty"`
EndedAtNs int64 `protobuf:"varint,24,opt,name=ended_at_ns,json=endedAtNs,proto3" json:"ended_at_ns,omitempty"`
DisconnectReason DisconnectReason `protobuf:"varint,12,opt,name=disconnect_reason,json=disconnectReason,proto3,enum=livekit.DisconnectReason" json:"disconnect_reason,omitempty"`
Error string `protobuf:"bytes,13,opt,name=error,proto3" json:"error,omitempty"`
CallStatusCode *SIPStatus `protobuf:"bytes,19,opt,name=call_status_code,json=callStatusCode,proto3" json:"call_status_code,omitempty"`
AudioCodec string `protobuf:"bytes,20,opt,name=audio_codec,json=audioCodec,proto3" json:"audio_codec,omitempty"`
MediaEncryption string `protobuf:"bytes,21,opt,name=media_encryption,json=mediaEncryption,proto3" json:"media_encryption,omitempty"`
PcapFileLink string `protobuf:"bytes,25,opt,name=pcap_file_link,json=pcapFileLink,proto3" json:"pcap_file_link,omitempty"`
CallContext []*anypb.Any `protobuf:"bytes,26,rep,name=call_context,json=callContext,proto3" json:"call_context,omitempty"`
ProviderInfo *ProviderInfo `protobuf:"bytes,27,opt,name=provider_info,json=providerInfo,proto3" json:"provider_info,omitempty"`
SipCallId string `protobuf:"bytes,28,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SIPCallInfo) Reset() {
*x = SIPCallInfo{}
mi := &file_livekit_sip_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SIPCallInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SIPCallInfo) ProtoMessage() {}
func (x *SIPCallInfo) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[38]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*SIPCallInfo) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{38}
}
func (x *SIPCallInfo) GetCallId() string {
if x != nil {
return x.CallId
}
return ""
}
func (x *SIPCallInfo) GetTrunkId() string {
if x != nil {
return x.TrunkId
}
return ""
}
func (x *SIPCallInfo) GetDispatchRuleId() string {
if x != nil {
return x.DispatchRuleId
}
return ""
}
func (x *SIPCallInfo) GetRegion() string {
if x != nil {
return x.Region
}
return ""
}
func (x *SIPCallInfo) GetRoomName() string {
if x != nil {
return x.RoomName
}
return ""
}
func (x *SIPCallInfo) GetRoomId() string {
if x != nil {
return x.RoomId
}
return ""
}
func (x *SIPCallInfo) GetParticipantIdentity() string {
if x != nil {
return x.ParticipantIdentity
}
return ""
}
func (x *SIPCallInfo) GetParticipantAttributes() map[string]string {
if x != nil {
return x.ParticipantAttributes
}
return nil
}
func (x *SIPCallInfo) GetFromUri() *SIPUri {
if x != nil {
return x.FromUri
}
return nil
}
func (x *SIPCallInfo) GetToUri() *SIPUri {
if x != nil {
return x.ToUri
}
return nil
}
func (x *SIPCallInfo) GetCreatedAt() int64 {
if x != nil {
return x.CreatedAt
}
return 0
}
func (x *SIPCallInfo) GetStartedAt() int64 {
if x != nil {
return x.StartedAt
}
return 0
}
func (x *SIPCallInfo) GetEndedAt() int64 {
if x != nil {
return x.EndedAt
}
return 0
}
func (x *SIPCallInfo) GetEnabledFeatures() []SIPFeature {
if x != nil {
return x.EnabledFeatures
}
return nil
}
func (x *SIPCallInfo) GetCallDirection() SIPCallDirection {
if x != nil {
return x.CallDirection
}
return SIPCallDirection_SCD_UNKNOWN
}
func (x *SIPCallInfo) GetCallStatus() SIPCallStatus {
if x != nil {
return x.CallStatus
}
return SIPCallStatus_SCS_CALL_INCOMING
}
func (x *SIPCallInfo) GetCreatedAtNs() int64 {
if x != nil {
return x.CreatedAtNs
}
return 0
}
func (x *SIPCallInfo) GetStartedAtNs() int64 {
if x != nil {
return x.StartedAtNs
}
return 0
}
func (x *SIPCallInfo) GetEndedAtNs() int64 {
if x != nil {
return x.EndedAtNs
}
return 0
}
func (x *SIPCallInfo) GetDisconnectReason() DisconnectReason {
if x != nil {
return x.DisconnectReason
}
return DisconnectReason_UNKNOWN_REASON
}
func (x *SIPCallInfo) GetError() string {
if x != nil {
return x.Error
}
return ""
}
func (x *SIPCallInfo) GetCallStatusCode() *SIPStatus {
if x != nil {
return x.CallStatusCode
}
return nil
}
func (x *SIPCallInfo) GetAudioCodec() string {
if x != nil {
return x.AudioCodec
}
return ""
}
func (x *SIPCallInfo) GetMediaEncryption() string {
if x != nil {
return x.MediaEncryption
}
return ""
}
func (x *SIPCallInfo) GetPcapFileLink() string {
if x != nil {
return x.PcapFileLink
}
return ""
}
func (x *SIPCallInfo) GetCallContext() []*anypb.Any {
if x != nil {
return x.CallContext
}
return nil
}
func (x *SIPCallInfo) GetProviderInfo() *ProviderInfo {
if x != nil {
return x.ProviderInfo
}
return nil
}
func (x *SIPCallInfo) GetSipCallId() string {
if x != nil {
return x.SipCallId
}
return ""
}
type SIPTransferInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
TransferId string `protobuf:"bytes,1,opt,name=transfer_id,json=transferId,proto3" json:"transfer_id,omitempty"`
CallId string `protobuf:"bytes,2,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"`
TransferTo string `protobuf:"bytes,3,opt,name=transfer_to,json=transferTo,proto3" json:"transfer_to,omitempty"`
TransferInitiatedAtNs int64 `protobuf:"varint,4,opt,name=transfer_initiated_at_ns,json=transferInitiatedAtNs,proto3" json:"transfer_initiated_at_ns,omitempty"`
TransferCompletedAtNs int64 `protobuf:"varint,5,opt,name=transfer_completed_at_ns,json=transferCompletedAtNs,proto3" json:"transfer_completed_at_ns,omitempty"`
TransferStatus SIPTransferStatus `protobuf:"varint,6,opt,name=transfer_status,json=transferStatus,proto3,enum=livekit.SIPTransferStatus" json:"transfer_status,omitempty"`
Error string `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
TransferStatusCode *SIPStatus `protobuf:"bytes,8,opt,name=transfer_status_code,json=transferStatusCode,proto3" json:"transfer_status_code,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SIPTransferInfo) Reset() {
*x = SIPTransferInfo{}
mi := &file_livekit_sip_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SIPTransferInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SIPTransferInfo) ProtoMessage() {}
func (x *SIPTransferInfo) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[39]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*SIPTransferInfo) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{39}
}
func (x *SIPTransferInfo) GetTransferId() string {
if x != nil {
return x.TransferId
}
return ""
}
func (x *SIPTransferInfo) GetCallId() string {
if x != nil {
return x.CallId
}
return ""
}
func (x *SIPTransferInfo) GetTransferTo() string {
if x != nil {
return x.TransferTo
}
return ""
}
func (x *SIPTransferInfo) GetTransferInitiatedAtNs() int64 {
if x != nil {
return x.TransferInitiatedAtNs
}
return 0
}
func (x *SIPTransferInfo) GetTransferCompletedAtNs() int64 {
if x != nil {
return x.TransferCompletedAtNs
}
return 0
}
func (x *SIPTransferInfo) GetTransferStatus() SIPTransferStatus {
if x != nil {
return x.TransferStatus
}
return SIPTransferStatus_STS_TRANSFER_ONGOING
}
func (x *SIPTransferInfo) GetError() string {
if x != nil {
return x.Error
}
return ""
}
func (x *SIPTransferInfo) GetTransferStatusCode() *SIPStatus {
if x != nil {
return x.TransferStatusCode
}
return nil
}
type SIPUri struct {
state protoimpl.MessageState `protogen:"open.v1"`
User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
Port uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
Transport SIPTransport `protobuf:"varint,5,opt,name=transport,proto3,enum=livekit.SIPTransport" json:"transport,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SIPUri) Reset() {
*x = SIPUri{}
mi := &file_livekit_sip_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SIPUri) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SIPUri) ProtoMessage() {}
func (x *SIPUri) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[40]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*SIPUri) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{40}
}
func (x *SIPUri) GetUser() string {
if x != nil {
return x.User
}
return ""
}
func (x *SIPUri) GetHost() string {
if x != nil {
return x.Host
}
return ""
}
func (x *SIPUri) GetIp() string {
if x != nil {
return x.Ip
}
return ""
}
func (x *SIPUri) GetPort() uint32 {
if x != nil {
return x.Port
}
return 0
}
func (x *SIPUri) GetTransport() SIPTransport {
if x != nil {
return x.Transport
}
return SIPTransport_SIP_TRANSPORT_AUTO
}
type Destination struct {
state protoimpl.MessageState `protogen:"open.v1"`
City string `protobuf:"bytes,1,opt,name=city,proto3" json:"city,omitempty"`
Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"`
Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Destination) Reset() {
*x = Destination{}
mi := &file_livekit_sip_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Destination) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Destination) ProtoMessage() {}
func (x *Destination) ProtoReflect() protoreflect.Message {
mi := &file_livekit_sip_proto_msgTypes[41]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*Destination) Descriptor() ([]byte, []int) {
return file_livekit_sip_proto_rawDescGZIP(), []int{41}
}
func (x *Destination) GetCity() string {
if x != nil {
return x.City
}
return ""
}
func (x *Destination) GetCountry() string {
if x != nil {
return x.Country
}
return ""
}
func (x *Destination) GetRegion() string {
if x != nil {
return x.Region
}
return ""
}
var File_livekit_sip_proto protoreflect.FileDescriptor
const file_livekit_sip_proto_rawDesc = "" +
"\n" +
"\x11livekit_sip.proto\x12\alivekit\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14livekit_models.proto\x1a\x12livekit_room.proto\x1a\x14logger/options.proto\"O\n" +
"\tSIPStatus\x12*\n" +
"\x04code\x18\x01 \x01(\x0e2\x16.livekit.SIPStatusCodeR\x04code\x12\x16\n" +
"\x06status\x18\x02 \x01(\tR\x06status\"\x9d\x04\n" +
"\x15CreateSIPTrunkRequest\x12+\n" +
"\x11inbound_addresses\x18\x01 \x03(\tR\x10inboundAddresses\x12)\n" +
"\x10outbound_address\x18\x02 \x01(\tR\x0foutboundAddress\x12'\n" +
"\x0foutbound_number\x18\x03 \x01(\tR\x0eoutboundNumber\x126\n" +
"\x15inbound_numbers_regex\x18\x04 \x03(\tB\x02\x18\x01R\x13inboundNumbersRegex\x12'\n" +
"\x0finbound_numbers\x18\t \x03(\tR\x0einboundNumbers\x12/\n" +
"\x10inbound_username\x18\x05 \x01(\tB\x04\x88\xec,\x01R\x0finboundUsername\x12/\n" +
"\x10inbound_password\x18\x06 \x01(\tB\x04\x88\xec,\x01R\x0finboundPassword\x121\n" +
"\x11outbound_username\x18\a \x01(\tB\x04\x88\xec,\x01R\x10outboundUsername\x121\n" +
"\x11outbound_password\x18\b \x01(\tB\x04\x88\xec,\x01R\x10outboundPassword\x12\x12\n" +
"\x04name\x18\n" +
" \x01(\tR\x04name\x12B\n" +
"\bmetadata\x18\v \x01(\tB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>R\bmetadata:\x02\x18\x01\"\x88\x01\n" +
"\fProviderInfo\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12)\n" +
"\x04type\x18\x03 \x01(\x0e2\x15.livekit.ProviderTypeR\x04type\x12)\n" +
"\x10prevent_transfer\x18\x04 \x01(\bR\x0fpreventTransfer\"\xf6\x05\n" +
"\fSIPTrunkInfo\x120\n" +
"\fsip_trunk_id\x18\x01 \x01(\tB\x0e\x9a\xec,\n" +
"sipTrunkIDR\n" +
"sipTrunkId\x123\n" +
"\x04kind\x18\x0e \x01(\x0e2\x1f.livekit.SIPTrunkInfo.TrunkKindR\x04kind\x12+\n" +
"\x11inbound_addresses\x18\x02 \x03(\tR\x10inboundAddresses\x12)\n" +
"\x10outbound_address\x18\x03 \x01(\tR\x0foutboundAddress\x12'\n" +
"\x0foutbound_number\x18\x04 \x01(\tR\x0eoutboundNumber\x123\n" +
"\ttransport\x18\r \x01(\x0e2\x15.livekit.SIPTransportR\ttransport\x126\n" +
"\x15inbound_numbers_regex\x18\x05 \x03(\tB\x02\x18\x01R\x13inboundNumbersRegex\x12'\n" +
"\x0finbound_numbers\x18\n" +
" \x03(\tR\x0einboundNumbers\x12/\n" +
"\x10inbound_username\x18\x06 \x01(\tB\x04\x88\xec,\x01R\x0finboundUsername\x12/\n" +
"\x10inbound_password\x18\a \x01(\tB\x04\x88\xec,\x01R\x0finboundPassword\x121\n" +
"\x11outbound_username\x18\b \x01(\tB\x04\x88\xec,\x01R\x10outboundUsername\x121\n" +
"\x11outbound_password\x18\t \x01(\tB\x04\x88\xec,\x01R\x10outboundPassword\x12\x12\n" +
"\x04name\x18\v \x01(\tR\x04name\x12B\n" +
"\bmetadata\x18\f \x01(\tB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>R\bmetadata\"D\n" +
"\tTrunkKind\x12\x10\n" +
"\fTRUNK_LEGACY\x10\x00\x12\x11\n" +
"\rTRUNK_INBOUND\x10\x01\x12\x12\n" +
"\x0eTRUNK_OUTBOUND\x10\x02:\x02\x18\x01\"R\n" +
"\x1cCreateSIPInboundTrunkRequest\x122\n" +
"\x05trunk\x18\x01 \x01(\v2\x1c.livekit.SIPInboundTrunkInfoR\x05trunk\"\xce\x01\n" +
"\x1cUpdateSIPInboundTrunkRequest\x120\n" +
"\fsip_trunk_id\x18\x01 \x01(\tB\x0e\x9a\xec,\n" +
"sipTrunkIDR\n" +
"sipTrunkId\x128\n" +
"\areplace\x18\x02 \x01(\v2\x1c.livekit.SIPInboundTrunkInfoH\x00R\areplace\x128\n" +
"\x06update\x18\x03 \x01(\v2\x1e.livekit.SIPInboundTrunkUpdateH\x00R\x06updateB\b\n" +
"\x06action\"\xa6\n" +
"\n" +
"\x13SIPInboundTrunkInfo\x120\n" +
"\fsip_trunk_id\x18\x01 \x01(\tB\x0e\x9a\xec,\n" +
"sipTrunkIDR\n" +
"sipTrunkId\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12B\n" +
"\bmetadata\x18\x03 \x01(\tB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>R\bmetadata\x12\x18\n" +
"\anumbers\x18\x04 \x03(\tR\anumbers\x12+\n" +
"\x11allowed_addresses\x18\x05 \x03(\tR\x10allowedAddresses\x12'\n" +
"\x0fallowed_numbers\x18\x06 \x03(\tR\x0eallowedNumbers\x12)\n" +
"\rauth_username\x18\a \x01(\tB\x04\x88\xec,\x01R\fauthUsername\x12)\n" +
"\rauth_password\x18\b \x01(\tB\x04\x88\xec,\x01R\fauthPassword\x12k\n" +
"\aheaders\x18\t \x03(\v2).livekit.SIPInboundTrunkInfo.HeadersEntryB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>R\aheaders\x12i\n" +
"\x15headers_to_attributes\x18\n" +
" \x03(\v25.livekit.SIPInboundTrunkInfo.HeadersToAttributesEntryR\x13headersToAttributes\x12i\n" +
"\x15attributes_to_headers\x18\x0e \x03(\v25.livekit.SIPInboundTrunkInfo.AttributesToHeadersEntryR\x13attributesToHeaders\x12B\n" +
"\x0finclude_headers\x18\x0f \x01(\x0e2\x19.livekit.SIPHeaderOptionsR\x0eincludeHeaders\x12B\n" +
"\x0fringing_timeout\x18\v \x01(\v2\x19.google.protobuf.DurationR\x0eringingTimeout\x12E\n" +
"\x11max_call_duration\x18\f \x01(\v2\x19.google.protobuf.DurationR\x0fmaxCallDuration\x12#\n" +
"\rkrisp_enabled\x18\r \x01(\bR\fkrispEnabled\x12F\n" +
"\x10media_encryption\x18\x10 \x01(\x0e2\x1b.livekit.SIPMediaEncryptionR\x0fmediaEncryption\x129\n" +
"\n" +
"created_at\x18\x11 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
"\n" +
"updated_at\x18\x12 \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\x1a:\n" +
"\fHeadersEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1aF\n" +
"\x18HeadersToAttributesEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1aF\n" +
"\x18AttributesToHeadersEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xa4\x04\n" +
"\x15SIPInboundTrunkUpdate\x12-\n" +
"\anumbers\x18\x01 \x01(\v2\x13.livekit.ListUpdateR\anumbers\x12@\n" +
"\x11allowed_addresses\x18\x02 \x01(\v2\x13.livekit.ListUpdateR\x10allowedAddresses\x12<\n" +
"\x0fallowed_numbers\x18\x03 \x01(\v2\x13.livekit.ListUpdateR\x0eallowedNumbers\x12.\n" +
"\rauth_username\x18\x04 \x01(\tB\x04\x88\xec,\x01H\x00R\fauthUsername\x88\x01\x01\x12.\n" +
"\rauth_password\x18\x05 \x01(\tB\x04\x88\xec,\x01H\x01R\fauthPassword\x88\x01\x01\x12\x17\n" +
"\x04name\x18\x06 \x01(\tH\x02R\x04name\x88\x01\x01\x12G\n" +
"\bmetadata\x18\a \x01(\tB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>H\x03R\bmetadata\x88\x01\x01\x12K\n" +
"\x10media_encryption\x18\b \x01(\x0e2\x1b.livekit.SIPMediaEncryptionH\x04R\x0fmediaEncryption\x88\x01\x01B\x10\n" +
"\x0e_auth_usernameB\x10\n" +
"\x0e_auth_passwordB\a\n" +
"\x05_nameB\v\n" +
"\t_metadataB\x13\n" +
"\x11_media_encryption\"T\n" +
"\x1dCreateSIPOutboundTrunkRequest\x123\n" +
"\x05trunk\x18\x01 \x01(\v2\x1d.livekit.SIPOutboundTrunkInfoR\x05trunk\"\xd1\x01\n" +
"\x1dUpdateSIPOutboundTrunkRequest\x120\n" +
"\fsip_trunk_id\x18\x01 \x01(\tB\x0e\x9a\xec,\n" +
"sipTrunkIDR\n" +
"sipTrunkId\x129\n" +
"\areplace\x18\x02 \x01(\v2\x1d.livekit.SIPOutboundTrunkInfoH\x00R\areplace\x129\n" +
"\x06update\x18\x03 \x01(\v2\x1f.livekit.SIPOutboundTrunkUpdateH\x00R\x06updateB\b\n" +
"\x06action\"\xc1\t\n" +
"\x14SIPOutboundTrunkInfo\x120\n" +
"\fsip_trunk_id\x18\x01 \x01(\tB\x0e\x9a\xec,\n" +
"sipTrunkIDR\n" +
"sipTrunkId\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12B\n" +
"\bmetadata\x18\x03 \x01(\tB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>R\bmetadata\x12\x18\n" +
"\aaddress\x18\x04 \x01(\tR\aaddress\x12/\n" +
"\x13destination_country\x18\x0e \x01(\tR\x12destinationCountry\x123\n" +
"\ttransport\x18\x05 \x01(\x0e2\x15.livekit.SIPTransportR\ttransport\x12\x18\n" +
"\anumbers\x18\x06 \x03(\tR\anumbers\x12)\n" +
"\rauth_username\x18\a \x01(\tB\x04\x88\xec,\x01R\fauthUsername\x12)\n" +
"\rauth_password\x18\b \x01(\tB\x04\x88\xec,\x01R\fauthPassword\x12l\n" +
"\aheaders\x18\t \x03(\v2*.livekit.SIPOutboundTrunkInfo.HeadersEntryB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>R\aheaders\x12j\n" +
"\x15headers_to_attributes\x18\n" +
" \x03(\v26.livekit.SIPOutboundTrunkInfo.HeadersToAttributesEntryR\x13headersToAttributes\x12j\n" +
"\x15attributes_to_headers\x18\v \x03(\v26.livekit.SIPOutboundTrunkInfo.AttributesToHeadersEntryR\x13attributesToHeaders\x12B\n" +
"\x0finclude_headers\x18\f \x01(\x0e2\x19.livekit.SIPHeaderOptionsR\x0eincludeHeaders\x12F\n" +
"\x10media_encryption\x18\r \x01(\x0e2\x1b.livekit.SIPMediaEncryptionR\x0fmediaEncryption\x12\x1b\n" +
"\tfrom_host\x18\x0f \x01(\tR\bfromHost\x129\n" +
"\n" +
"created_at\x18\x10 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
"\n" +
"updated_at\x18\x11 \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\x1a:\n" +
"\fHeadersEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1aF\n" +
"\x18HeadersToAttributesEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1aF\n" +
"\x18AttributesToHeadersEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x96\x05\n" +
"\x16SIPOutboundTrunkUpdate\x12\x1d\n" +
"\aaddress\x18\x01 \x01(\tH\x00R\aaddress\x88\x01\x01\x128\n" +
"\ttransport\x18\x02 \x01(\x0e2\x15.livekit.SIPTransportH\x01R\ttransport\x88\x01\x01\x124\n" +
"\x13destination_country\x18\t \x01(\tH\x02R\x12destinationCountry\x88\x01\x01\x12-\n" +
"\anumbers\x18\x03 \x01(\v2\x13.livekit.ListUpdateR\anumbers\x12.\n" +
"\rauth_username\x18\x04 \x01(\tB\x04\x88\xec,\x01H\x03R\fauthUsername\x88\x01\x01\x12.\n" +
"\rauth_password\x18\x05 \x01(\tB\x04\x88\xec,\x01H\x04R\fauthPassword\x88\x01\x01\x12\x17\n" +
"\x04name\x18\x06 \x01(\tH\x05R\x04name\x88\x01\x01\x12G\n" +
"\bmetadata\x18\a \x01(\tB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>H\x06R\bmetadata\x88\x01\x01\x12K\n" +
"\x10media_encryption\x18\b \x01(\x0e2\x1b.livekit.SIPMediaEncryptionH\aR\x0fmediaEncryption\x88\x01\x01\x12 \n" +
"\tfrom_host\x18\n" +
" \x01(\tH\bR\bfromHost\x88\x01\x01B\n" +
"\n" +
"\b_addressB\f\n" +
"\n" +
"_transportB\x16\n" +
"\x14_destination_countryB\x10\n" +
"\x0e_auth_usernameB\x10\n" +
"\x0e_auth_passwordB\a\n" +
"\x05_nameB\v\n" +
"\t_metadataB\x13\n" +
"\x11_media_encryptionB\f\n" +
"\n" +
"_from_host\"M\n" +
"\x19GetSIPInboundTrunkRequest\x120\n" +
"\fsip_trunk_id\x18\x01 \x01(\tB\x0e\x9a\xec,\n" +
"sipTrunkIDR\n" +
"sipTrunkId\"P\n" +
"\x1aGetSIPInboundTrunkResponse\x122\n" +
"\x05trunk\x18\x01 \x01(\v2\x1c.livekit.SIPInboundTrunkInfoR\x05trunk\"N\n" +
"\x1aGetSIPOutboundTrunkRequest\x120\n" +
"\fsip_trunk_id\x18\x01 \x01(\tB\x0e\x9a\xec,\n" +
"sipTrunkIDR\n" +
"sipTrunkId\"R\n" +
"\x1bGetSIPOutboundTrunkResponse\x123\n" +
"\x05trunk\x18\x01 \x01(\v2\x1d.livekit.SIPOutboundTrunkInfoR\x05trunk\"B\n" +
"\x13ListSIPTrunkRequest\x12'\n" +
"\x04page\x18\x01 \x01(\v2\x13.livekit.PaginationR\x04page:\x02\x18\x01\"G\n" +
"\x14ListSIPTrunkResponse\x12+\n" +
"\x05items\x18\x01 \x03(\v2\x15.livekit.SIPTrunkInfoR\x05items:\x02\x18\x01\"|\n" +
"\x1aListSIPInboundTrunkRequest\x12'\n" +
"\x04page\x18\x03 \x01(\v2\x13.livekit.PaginationR\x04page\x12\x1b\n" +
"\ttrunk_ids\x18\x01 \x03(\tR\btrunkIds\x12\x18\n" +
"\anumbers\x18\x02 \x03(\tR\anumbers\"Q\n" +
"\x1bListSIPInboundTrunkResponse\x122\n" +
"\x05items\x18\x01 \x03(\v2\x1c.livekit.SIPInboundTrunkInfoR\x05items\"}\n" +
"\x1bListSIPOutboundTrunkRequest\x12'\n" +
"\x04page\x18\x03 \x01(\v2\x13.livekit.PaginationR\x04page\x12\x1b\n" +
"\ttrunk_ids\x18\x01 \x03(\tR\btrunkIds\x12\x18\n" +
"\anumbers\x18\x02 \x03(\tR\anumbers\"S\n" +
"\x1cListSIPOutboundTrunkResponse\x123\n" +
"\x05items\x18\x01 \x03(\v2\x1d.livekit.SIPOutboundTrunkInfoR\x05items\"I\n" +
"\x15DeleteSIPTrunkRequest\x120\n" +
"\fsip_trunk_id\x18\x01 \x01(\tB\x0e\x9a\xec,\n" +
"sipTrunkIDR\n" +
"sipTrunkId\"F\n" +
"\x15SIPDispatchRuleDirect\x12\x1b\n" +
"\troom_name\x18\x01 \x01(\tR\broomName\x12\x10\n" +
"\x03pin\x18\x02 \x01(\tR\x03pin\"s\n" +
"\x19SIPDispatchRuleIndividual\x12\x1f\n" +
"\vroom_prefix\x18\x01 \x01(\tR\n" +
"roomPrefix\x12\x10\n" +
"\x03pin\x18\x02 \x01(\tR\x03pin\x12#\n" +
"\rno_randomness\x18\x03 \x01(\bR\fnoRandomness\"h\n" +
"\x15SIPDispatchRuleCallee\x12\x1f\n" +
"\vroom_prefix\x18\x01 \x01(\tR\n" +
"roomPrefix\x12\x10\n" +
"\x03pin\x18\x02 \x01(\tR\x03pin\x12\x1c\n" +
"\trandomize\x18\x03 \x01(\bR\trandomize\"\xa1\x02\n" +
"\x0fSIPDispatchRule\x12R\n" +
"\x14dispatch_rule_direct\x18\x01 \x01(\v2\x1e.livekit.SIPDispatchRuleDirectH\x00R\x12dispatchRuleDirect\x12^\n" +
"\x18dispatch_rule_individual\x18\x02 \x01(\v2\".livekit.SIPDispatchRuleIndividualH\x00R\x16dispatchRuleIndividual\x12R\n" +
"\x14dispatch_rule_callee\x18\x03 \x01(\v2\x1e.livekit.SIPDispatchRuleCalleeH\x00R\x12dispatchRuleCalleeB\x06\n" +
"\x04rule\"\x95\x05\n" +
"\x1cCreateSIPDispatchRuleRequest\x12A\n" +
"\rdispatch_rule\x18\n" +
" \x01(\v2\x1c.livekit.SIPDispatchRuleInfoR\fdispatchRule\x120\n" +
"\x04rule\x18\x01 \x01(\v2\x18.livekit.SIPDispatchRuleB\x02\x18\x01R\x04rule\x12\x1f\n" +
"\ttrunk_ids\x18\x02 \x03(\tB\x02\x18\x01R\btrunkIds\x12.\n" +
"\x11hide_phone_number\x18\x03 \x01(\bB\x02\x18\x01R\x0fhidePhoneNumber\x12+\n" +
"\x0finbound_numbers\x18\x06 \x03(\tB\x02\x18\x01R\x0einboundNumbers\x12\x16\n" +
"\x04name\x18\x04 \x01(\tB\x02\x18\x01R\x04name\x12D\n" +
"\bmetadata\x18\x05 \x01(\tB(\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>\x18\x01R\bmetadata\x12\x7f\n" +
"\n" +
"attributes\x18\a \x03(\v25.livekit.CreateSIPDispatchRuleRequest.AttributesEntryB(\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>\x18\x01R\n" +
"attributes\x12#\n" +
"\vroom_preset\x18\b \x01(\tB\x02\x18\x01R\n" +
"roomPreset\x12?\n" +
"\vroom_config\x18\t \x01(\v2\x1a.livekit.RoomConfigurationB\x02\x18\x01R\n" +
"roomConfig\x1a=\n" +
"\x0fAttributesEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xe4\x01\n" +
"\x1cUpdateSIPDispatchRuleRequest\x12F\n" +
"\x14sip_dispatch_rule_id\x18\x01 \x01(\tB\x15\x9a\xec,\x11sipDispatchRuleIDR\x11sipDispatchRuleId\x128\n" +
"\areplace\x18\x02 \x01(\v2\x1c.livekit.SIPDispatchRuleInfoH\x00R\areplace\x128\n" +
"\x06update\x18\x03 \x01(\v2\x1e.livekit.SIPDispatchRuleUpdateH\x00R\x06updateB\b\n" +
"\x06action\"\xe5\x06\n" +
"\x13SIPDispatchRuleInfo\x12F\n" +
"\x14sip_dispatch_rule_id\x18\x01 \x01(\tB\x15\x9a\xec,\x11sipDispatchRuleIDR\x11sipDispatchRuleId\x12,\n" +
"\x04rule\x18\x02 \x01(\v2\x18.livekit.SIPDispatchRuleR\x04rule\x12\x1b\n" +
"\ttrunk_ids\x18\x03 \x03(\tR\btrunkIds\x12*\n" +
"\x11hide_phone_number\x18\x04 \x01(\bR\x0fhidePhoneNumber\x12'\n" +
"\x0finbound_numbers\x18\a \x03(\tR\x0einboundNumbers\x12\x18\n" +
"\anumbers\x18\r \x03(\tR\anumbers\x12\x12\n" +
"\x04name\x18\x05 \x01(\tR\x04name\x12B\n" +
"\bmetadata\x18\x06 \x01(\tB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>R\bmetadata\x12t\n" +
"\n" +
"attributes\x18\b \x03(\v2,.livekit.SIPDispatchRuleInfo.AttributesEntryB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>R\n" +
"attributes\x12\x1f\n" +
"\vroom_preset\x18\t \x01(\tR\n" +
"roomPreset\x12;\n" +
"\vroom_config\x18\n" +
" \x01(\v2\x1a.livekit.RoomConfigurationR\n" +
"roomConfig\x12#\n" +
"\rkrisp_enabled\x18\v \x01(\bR\fkrispEnabled\x12F\n" +
"\x10media_encryption\x18\f \x01(\x0e2\x1b.livekit.SIPMediaEncryptionR\x0fmediaEncryption\x129\n" +
"\n" +
"created_at\x18\x0e \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
"\n" +
"updated_at\x18\x0f \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\x1a=\n" +
"\x0fAttributesEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x88\x04\n" +
"\x15SIPDispatchRuleUpdate\x120\n" +
"\ttrunk_ids\x18\x01 \x01(\v2\x13.livekit.ListUpdateR\btrunkIds\x12,\n" +
"\x04rule\x18\x02 \x01(\v2\x18.livekit.SIPDispatchRuleR\x04rule\x12\x17\n" +
"\x04name\x18\x03 \x01(\tH\x00R\x04name\x88\x01\x01\x12G\n" +
"\bmetadata\x18\x04 \x01(\tB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>H\x01R\bmetadata\x88\x01\x01\x12v\n" +
"\n" +
"attributes\x18\x05 \x03(\v2..livekit.SIPDispatchRuleUpdate.AttributesEntryB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>R\n" +
"attributes\x12K\n" +
"\x10media_encryption\x18\x06 \x01(\x0e2\x1b.livekit.SIPMediaEncryptionH\x02R\x0fmediaEncryption\x88\x01\x01\x1a=\n" +
"\x0fAttributesEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\a\n" +
"\x05_nameB\v\n" +
"\t_metadataB\x13\n" +
"\x11_media_encryption\"\x8e\x01\n" +
"\x1aListSIPDispatchRuleRequest\x12'\n" +
"\x04page\x18\x03 \x01(\v2\x13.livekit.PaginationR\x04page\x12*\n" +
"\x11dispatch_rule_ids\x18\x01 \x03(\tR\x0fdispatchRuleIds\x12\x1b\n" +
"\ttrunk_ids\x18\x02 \x03(\tR\btrunkIds\"Q\n" +
"\x1bListSIPDispatchRuleResponse\x122\n" +
"\x05items\x18\x01 \x03(\v2\x1c.livekit.SIPDispatchRuleInfoR\x05items\"f\n" +
"\x1cDeleteSIPDispatchRuleRequest\x12F\n" +
"\x14sip_dispatch_rule_id\x18\x01 \x01(\tB\x15\x9a\xec,\x11sipDispatchRuleIDR\x11sipDispatchRuleId\"\xea\x04\n" +
"\x11SIPOutboundConfig\x12\x1a\n" +
"\bhostname\x18\x01 \x01(\tR\bhostname\x12/\n" +
"\x13destination_country\x18\a \x01(\tR\x12destinationCountry\x123\n" +
"\ttransport\x18\x02 \x01(\x0e2\x15.livekit.SIPTransportR\ttransport\x12)\n" +
"\rauth_username\x18\x03 \x01(\tB\x04\x88\xec,\x01R\fauthUsername\x12)\n" +
"\rauth_password\x18\x04 \x01(\tB\x04\x88\xec,\x01R\fauthPassword\x12g\n" +
"\x15headers_to_attributes\x18\x05 \x03(\v23.livekit.SIPOutboundConfig.HeadersToAttributesEntryR\x13headersToAttributes\x12g\n" +
"\x15attributes_to_headers\x18\x06 \x03(\v23.livekit.SIPOutboundConfig.AttributesToHeadersEntryR\x13attributesToHeaders\x12\x1b\n" +
"\tfrom_host\x18\b \x01(\tR\bfromHost\x1aF\n" +
"\x18HeadersToAttributesEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1aF\n" +
"\x18AttributesToHeadersEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x82\f\n" +
"\x1bCreateSIPParticipantRequest\x120\n" +
"\fsip_trunk_id\x18\x01 \x01(\tB\x0e\x9a\xec,\n" +
"sipTrunkIDR\n" +
"sipTrunkId\x120\n" +
"\x05trunk\x18\x14 \x01(\v2\x1a.livekit.SIPOutboundConfigR\x05trunk\x12\x1e\n" +
"\vsip_call_to\x18\x02 \x01(\tR\tsipCallTo\x12\x1d\n" +
"\n" +
"sip_number\x18\x0f \x01(\tR\tsipNumber\x12\x1b\n" +
"\troom_name\x18\x03 \x01(\tR\broomName\x121\n" +
"\x14participant_identity\x18\x04 \x01(\tR\x13participantIdentity\x12Q\n" +
"\x10participant_name\x18\a \x01(\tB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>R\x0fparticipantName\x12Y\n" +
"\x14participant_metadata\x18\b \x01(\tB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>R\x13participantMetadata\x12\x9e\x01\n" +
"\x16participant_attributes\x18\t \x03(\v2?.livekit.CreateSIPParticipantRequest.ParticipantAttributesEntryB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>R\x15participantAttributes\x12\x12\n" +
"\x04dtmf\x18\x05 \x01(\tR\x04dtmf\x12'\n" +
"\rplay_ringtone\x18\x06 \x01(\bB\x02\x18\x01R\fplayRingtone\x12#\n" +
"\rplay_dialtone\x18\r \x01(\bR\fplayDialtone\x12*\n" +
"\x11hide_phone_number\x18\n" +
" \x01(\bR\x0fhidePhoneNumber\x12s\n" +
"\aheaders\x18\x10 \x03(\v21.livekit.CreateSIPParticipantRequest.HeadersEntryB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>R\aheaders\x12B\n" +
"\x0finclude_headers\x18\x11 \x01(\x0e2\x19.livekit.SIPHeaderOptionsR\x0eincludeHeaders\x12B\n" +
"\x0fringing_timeout\x18\v \x01(\v2\x19.google.protobuf.DurationR\x0eringingTimeout\x12E\n" +
"\x11max_call_duration\x18\f \x01(\v2\x19.google.protobuf.DurationR\x0fmaxCallDuration\x12#\n" +
"\rkrisp_enabled\x18\x0e \x01(\bR\fkrispEnabled\x12F\n" +
"\x10media_encryption\x18\x12 \x01(\x0e2\x1b.livekit.SIPMediaEncryptionR\x0fmediaEncryption\x12.\n" +
"\x13wait_until_answered\x18\x13 \x01(\bR\x11waitUntilAnswered\x12N\n" +
"\fdisplay_name\x18\x15 \x01(\tB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>H\x00R\vdisplayName\x88\x01\x01\x12;\n" +
"\vdestination\x18\x16 \x01(\v2\x14.livekit.DestinationH\x01R\vdestination\x88\x01\x01\x1aH\n" +
"\x1aParticipantAttributesEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1a:\n" +
"\fHeadersEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\x0f\n" +
"\r_display_nameB\x0e\n" +
"\f_destination\"\xcd\x01\n" +
"\x12SIPParticipantInfo\x128\n" +
"\x0eparticipant_id\x18\x01 \x01(\tB\x11\x9a\xec,\rparticipantIDR\rparticipantId\x121\n" +
"\x14participant_identity\x18\x02 \x01(\tR\x13participantIdentity\x12\x1b\n" +
"\troom_name\x18\x03 \x01(\tR\broomName\x12-\n" +
"\vsip_call_id\x18\x04 \x01(\tB\r\x9a\xec,\tsipCallIDR\tsipCallId\"\xac\x03\n" +
"\x1dTransferSIPParticipantRequest\x121\n" +
"\x14participant_identity\x18\x01 \x01(\tR\x13participantIdentity\x12\x1b\n" +
"\troom_name\x18\x02 \x01(\tR\broomName\x12\x1f\n" +
"\vtransfer_to\x18\x03 \x01(\tR\n" +
"transferTo\x12#\n" +
"\rplay_dialtone\x18\x04 \x01(\bR\fplayDialtone\x12u\n" +
"\aheaders\x18\x05 \x03(\v23.livekit.TransferSIPParticipantRequest.HeadersEntryB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>R\aheaders\x12B\n" +
"\x0fringing_timeout\x18\x06 \x01(\v2\x19.google.protobuf.DurationR\x0eringingTimeout\x1a:\n" +
"\fHeadersEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x8e\v\n" +
"\vSIPCallInfo\x12#\n" +
"\acall_id\x18\x01 \x01(\tB\n" +
"\x9a\xec,\x06callIDR\x06callId\x12&\n" +
"\btrunk_id\x18\x02 \x01(\tB\v\x9a\xec,\atrunkIDR\atrunkId\x12<\n" +
"\x10dispatch_rule_id\x18\x10 \x01(\tB\x12\x9a\xec,\x0edispatchRuleIDR\x0edispatchRuleId\x12\x16\n" +
"\x06region\x18\x11 \x01(\tR\x06region\x12\x1b\n" +
"\troom_name\x18\x03 \x01(\tR\broomName\x12#\n" +
"\aroom_id\x18\x04 \x01(\tB\n" +
"\x9a\xec,\x06roomIDR\x06roomId\x121\n" +
"\x14participant_identity\x18\x05 \x01(\tR\x13participantIdentity\x12\x8e\x01\n" +
"\x16participant_attributes\x18\x12 \x03(\v2/.livekit.SIPCallInfo.ParticipantAttributesEntryB&\x88\xec,\x01\x92\xec,\x1e<redacted ({{ .Size }} bytes)>R\x15participantAttributes\x12*\n" +
"\bfrom_uri\x18\x06 \x01(\v2\x0f.livekit.SIPUriR\afromUri\x12&\n" +
"\x06to_uri\x18\a \x01(\v2\x0f.livekit.SIPUriR\x05toUri\x12!\n" +
"\n" +
"created_at\x18\t \x01(\x03B\x02\x18\x01R\tcreatedAt\x12!\n" +
"\n" +
"started_at\x18\n" +
" \x01(\x03B\x02\x18\x01R\tstartedAt\x12\x1d\n" +
"\bended_at\x18\v \x01(\x03B\x02\x18\x01R\aendedAt\x12>\n" +
"\x10enabled_features\x18\x0e \x03(\x0e2\x13.livekit.SIPFeatureR\x0fenabledFeatures\x12@\n" +
"\x0ecall_direction\x18\x0f \x01(\x0e2\x19.livekit.SIPCallDirectionR\rcallDirection\x127\n" +
"\vcall_status\x18\b \x01(\x0e2\x16.livekit.SIPCallStatusR\n" +
"callStatus\x12\"\n" +
"\rcreated_at_ns\x18\x16 \x01(\x03R\vcreatedAtNs\x12\"\n" +
"\rstarted_at_ns\x18\x17 \x01(\x03R\vstartedAtNs\x12\x1e\n" +
"\vended_at_ns\x18\x18 \x01(\x03R\tendedAtNs\x12F\n" +
"\x11disconnect_reason\x18\f \x01(\x0e2\x19.livekit.DisconnectReasonR\x10disconnectReason\x12\x14\n" +
"\x05error\x18\r \x01(\tR\x05error\x12<\n" +
"\x10call_status_code\x18\x13 \x01(\v2\x12.livekit.SIPStatusR\x0ecallStatusCode\x12\x1f\n" +
"\vaudio_codec\x18\x14 \x01(\tR\n" +
"audioCodec\x12)\n" +
"\x10media_encryption\x18\x15 \x01(\tR\x0fmediaEncryption\x12$\n" +
"\x0epcap_file_link\x18\x19 \x01(\tR\fpcapFileLink\x127\n" +
"\fcall_context\x18\x1a \x03(\v2\x14.google.protobuf.AnyR\vcallContext\x12:\n" +
"\rprovider_info\x18\x1b \x01(\v2\x15.livekit.ProviderInfoR\fproviderInfo\x12-\n" +
"\vsip_call_id\x18\x1c \x01(\tB\r\x9a\xec,\tsipCallIDR\tsipCallId\x1aH\n" +
"\x1aParticipantAttributesEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x9b\x03\n" +
"\x0fSIPTransferInfo\x12/\n" +
"\vtransfer_id\x18\x01 \x01(\tB\x0e\x9a\xec,\n" +
"transferIDR\n" +
"transferId\x12#\n" +
"\acall_id\x18\x02 \x01(\tB\n" +
"\x9a\xec,\x06callIDR\x06callId\x12\x1f\n" +
"\vtransfer_to\x18\x03 \x01(\tR\n" +
"transferTo\x127\n" +
"\x18transfer_initiated_at_ns\x18\x04 \x01(\x03R\x15transferInitiatedAtNs\x127\n" +
"\x18transfer_completed_at_ns\x18\x05 \x01(\x03R\x15transferCompletedAtNs\x12C\n" +
"\x0ftransfer_status\x18\x06 \x01(\x0e2\x1a.livekit.SIPTransferStatusR\x0etransferStatus\x12\x14\n" +
"\x05error\x18\a \x01(\tR\x05error\x12D\n" +
"\x14transfer_status_code\x18\b \x01(\v2\x12.livekit.SIPStatusR\x12transferStatusCode\"\x89\x01\n" +
"\x06SIPUri\x12\x12\n" +
"\x04user\x18\x01 \x01(\tR\x04user\x12\x12\n" +
"\x04host\x18\x02 \x01(\tR\x04host\x12\x0e\n" +
"\x02ip\x18\x03 \x01(\tR\x02ip\x12\x12\n" +
"\x04port\x18\x04 \x01(\rR\x04port\x123\n" +
"\ttransport\x18\x05 \x01(\x0e2\x15.livekit.SIPTransportR\ttransport\"S\n" +
"\vDestination\x12\x12\n" +
"\x04city\x18\x01 \x01(\tR\x04city\x12\x18\n" +
"\acountry\x18\x02 \x01(\tR\acountry\x12\x16\n" +
"\x06region\x18\x03 \x01(\tR\x06region*\xde\x14\n" +
"\rSIPStatusCode\x12\x16\n" +
"\x12SIP_STATUS_UNKNOWN\x10\x00\x12\x15\n" +
"\x11SIP_STATUS_TRYING\x10d\x12\x17\n" +
"\x12SIP_STATUS_RINGING\x10\xb4\x01\x12!\n" +
"\x1cSIP_STATUS_CALL_IS_FORWARDED\x10\xb5\x01\x12\x16\n" +
"\x11SIP_STATUS_QUEUED\x10\xb6\x01\x12 \n" +
"\x1bSIP_STATUS_SESSION_PROGRESS\x10\xb7\x01\x12'\n" +
"\"SIP_STATUS_EARLY_DIALOG_TERMINATED\x10\xc7\x01\x12\x12\n" +
"\rSIP_STATUS_OK\x10\xc8\x01\x12\x18\n" +
"\x13SIP_STATUS_ACCEPTED\x10\xca\x01\x12\x1f\n" +
"\x1aSIP_STATUS_NO_NOTIFICATION\x10\xcc\x01\x12 \n" +
"\x1bSIP_STATUS_MULTIPLE_CHOICES\x10\xac\x02\x12!\n" +
"\x1cSIP_STATUS_MOVED_PERMANENTLY\x10\xad\x02\x12!\n" +
"\x1cSIP_STATUS_MOVED_TEMPORARILY\x10\xae\x02\x12\x19\n" +
"\x14SIP_STATUS_USE_PROXY\x10\xb1\x02\x12#\n" +
"\x1eSIP_STATUS_ALTERNATIVE_SERVICE\x10\xfc\x02\x12\x1b\n" +
"\x16SIP_STATUS_BAD_REQUEST\x10\x90\x03\x12\x1c\n" +
"\x17SIP_STATUS_UNAUTHORIZED\x10\x91\x03\x12 \n" +
"\x1bSIP_STATUS_PAYMENT_REQUIRED\x10\x92\x03\x12\x19\n" +
"\x14SIP_STATUS_FORBIDDEN\x10\x93\x03\x12\x18\n" +
"\x13SIP_STATUS_NOTFOUND\x10\x94\x03\x12\"\n" +
"\x1dSIP_STATUS_METHOD_NOT_ALLOWED\x10\x95\x03\x12\x1e\n" +
"\x19SIP_STATUS_NOT_ACCEPTABLE\x10\x96\x03\x12#\n" +
"\x1eSIP_STATUS_PROXY_AUTH_REQUIRED\x10\x97\x03\x12\x1f\n" +
"\x1aSIP_STATUS_REQUEST_TIMEOUT\x10\x98\x03\x12\x18\n" +
"\x13SIP_STATUS_CONFLICT\x10\x99\x03\x12\x14\n" +
"\x0fSIP_STATUS_GONE\x10\x9a\x03\x12\x1f\n" +
"\x1aSIP_STATUS_LENGTH_REQUIRED\x10\x9b\x03\x12*\n" +
"%SIP_STATUS_CONDITIONAL_REQUEST_FAILED\x10\x9c\x03\x12(\n" +
"#SIP_STATUS_REQUEST_ENTITY_TOO_LARGE\x10\x9d\x03\x12$\n" +
"\x1fSIP_STATUS_REQUEST_URI_TOO_LONG\x10\x9e\x03\x12&\n" +
"!SIP_STATUS_UNSUPPORTED_MEDIA_TYPE\x10\x9f\x03\x12/\n" +
"*SIP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE\x10\xa0\x03\x12)\n" +
"$SIP_STATUS_UNKNOWN_RESOURCE_PRIORITY\x10\xa1\x03\x12\x1d\n" +
"\x18SIP_STATUS_BAD_EXTENSION\x10\xa4\x03\x12\"\n" +
"\x1dSIP_STATUS_EXTENSION_REQUIRED\x10\xa5\x03\x12*\n" +
"%SIP_STATUS_SESSION_INTERVAL_TOO_SMALL\x10\xa6\x03\x12\"\n" +
"\x1dSIP_STATUS_INTERVAL_TOO_BRIEF\x10\xa7\x03\x12(\n" +
"#SIP_STATUS_BAD_LOCATION_INFORMATION\x10\xa8\x03\x12!\n" +
"\x1cSIP_STATUS_BAD_ALERT_MESSAGE\x10\xa9\x03\x12#\n" +
"\x1eSIP_STATUS_USE_IDENTITY_HEADER\x10\xac\x03\x12)\n" +
"$SIP_STATUS_PROVIDE_REFERRER_IDENTITY\x10\xad\x03\x12\x1b\n" +
"\x16SIP_STATUS_FLOW_FAILED\x10\xae\x03\x12$\n" +
"\x1fSIP_STATUS_ANONYMITY_DISALLOWED\x10\xb1\x03\x12!\n" +
"\x1cSIP_STATUS_BAD_IDENTITY_INFO\x10\xb4\x03\x12'\n" +
"\"SIP_STATUS_UNSUPPORTED_CERTIFICATE\x10\xb5\x03\x12'\n" +
"\"SIP_STATUS_INVALID_IDENTITY_HEADER\x10\xb6\x03\x120\n" +
"+SIP_STATUS_FIRST_HOP_LACKS_OUTBOUND_SUPPORT\x10\xb7\x03\x12$\n" +
"\x1fSIP_STATUS_MAX_BREADTH_EXCEEDED\x10\xb8\x03\x12 \n" +
"\x1bSIP_STATUS_BAD_INFO_PACKAGE\x10\xd5\x03\x12\x1e\n" +
"\x19SIP_STATUS_CONSENT_NEEDED\x10\xd6\x03\x12'\n" +
"\"SIP_STATUS_TEMPORARILY_UNAVAILABLE\x10\xe0\x03\x120\n" +
"+SIP_STATUS_CALL_TRANSACTION_DOES_NOT_EXISTS\x10\xe1\x03\x12\x1d\n" +
"\x18SIP_STATUS_LOOP_DETECTED\x10\xe2\x03\x12\x1d\n" +
"\x18SIP_STATUS_TOO_MANY_HOPS\x10\xe3\x03\x12\"\n" +
"\x1dSIP_STATUS_ADDRESS_INCOMPLETE\x10\xe4\x03\x12\x19\n" +
"\x14SIP_STATUS_AMBIGUOUS\x10\xe5\x03\x12\x19\n" +
"\x14SIP_STATUS_BUSY_HERE\x10\xe6\x03\x12\"\n" +
"\x1dSIP_STATUS_REQUEST_TERMINATED\x10\xe7\x03\x12#\n" +
"\x1eSIP_STATUS_NOT_ACCEPTABLE_HERE\x10\xe8\x03\x12\x19\n" +
"\x14SIP_STATUS_BAD_EVENT\x10\xe9\x03\x12\x1f\n" +
"\x1aSIP_STATUS_REQUEST_PENDING\x10\xeb\x03\x12\x1e\n" +
"\x19SIP_STATUS_UNDECIPHERABLE\x10\xed\x03\x12+\n" +
"&SIP_STATUS_SECURITY_AGREEMENT_REQUIRED\x10\xee\x03\x12%\n" +
" SIP_STATUS_INTERNAL_SERVER_ERROR\x10\xf4\x03\x12\x1f\n" +
"\x1aSIP_STATUS_NOT_IMPLEMENTED\x10\xf5\x03\x12\x1b\n" +
"\x16SIP_STATUS_BAD_GATEWAY\x10\xf6\x03\x12#\n" +
"\x1eSIP_STATUS_SERVICE_UNAVAILABLE\x10\xf7\x03\x12\x1f\n" +
"\x1aSIP_STATUS_GATEWAY_TIMEOUT\x10\xf8\x03\x12%\n" +
" SIP_STATUS_VERSION_NOT_SUPPORTED\x10\xf9\x03\x12!\n" +
"\x1cSIP_STATUS_MESSAGE_TOO_LARGE\x10\x81\x04\x12&\n" +
"!SIP_STATUS_GLOBAL_BUSY_EVERYWHERE\x10\xd8\x04\x12\x1e\n" +
"\x19SIP_STATUS_GLOBAL_DECLINE\x10\xdb\x04\x12.\n" +
")SIP_STATUS_GLOBAL_DOES_NOT_EXIST_ANYWHERE\x10\xdc\x04\x12%\n" +
" SIP_STATUS_GLOBAL_NOT_ACCEPTABLE\x10\xde\x04\x12\x1f\n" +
"\x1aSIP_STATUS_GLOBAL_UNWANTED\x10\xdf\x04\x12\x1f\n" +
"\x1aSIP_STATUS_GLOBAL_REJECTED\x10\xe0\x04*k\n" +
"\fSIPTransport\x12\x16\n" +
"\x12SIP_TRANSPORT_AUTO\x10\x00\x12\x15\n" +
"\x11SIP_TRANSPORT_UDP\x10\x01\x12\x15\n" +
"\x11SIP_TRANSPORT_TCP\x10\x02\x12\x15\n" +
"\x11SIP_TRANSPORT_TLS\x10\x03*N\n" +
"\x10SIPHeaderOptions\x12\x12\n" +
"\x0eSIP_NO_HEADERS\x10\x00\x12\x11\n" +
"\rSIP_X_HEADERS\x10\x01\x12\x13\n" +
"\x0fSIP_ALL_HEADERS\x10\x02*o\n" +
"\x12SIPMediaEncryption\x12\x1d\n" +
"\x19SIP_MEDIA_ENCRYPT_DISABLE\x10\x00\x12\x1b\n" +
"\x17SIP_MEDIA_ENCRYPT_ALLOW\x10\x01\x12\x1d\n" +
"\x19SIP_MEDIA_ENCRYPT_REQUIRE\x10\x02*a\n" +
"\fProviderType\x12\x19\n" +
"\x15PROVIDER_TYPE_UNKNOWN\x10\x00\x12\x1a\n" +
"\x16PROVIDER_TYPE_INTERNAL\x10\x01\x12\x1a\n" +
"\x16PROVIDER_TYPE_EXTERNAL\x10\x02*w\n" +
"\rSIPCallStatus\x12\x15\n" +
"\x11SCS_CALL_INCOMING\x10\x00\x12\x1a\n" +
"\x16SCS_PARTICIPANT_JOINED\x10\x01\x12\x0e\n" +
"\n" +
"SCS_ACTIVE\x10\x02\x12\x14\n" +
"\x10SCS_DISCONNECTED\x10\x03\x12\r\n" +
"\tSCS_ERROR\x10\x04*c\n" +
"\x11SIPTransferStatus\x12\x18\n" +
"\x14STS_TRANSFER_ONGOING\x10\x00\x12\x17\n" +
"\x13STS_TRANSFER_FAILED\x10\x01\x12\x1b\n" +
"\x17STS_TRANSFER_SUCCESSFUL\x10\x02*)\n" +
"\n" +
"SIPFeature\x12\b\n" +
"\x04NONE\x10\x00\x12\x11\n" +
"\rKRISP_ENABLED\x10\x01*F\n" +
"\x10SIPCallDirection\x12\x0f\n" +
"\vSCD_UNKNOWN\x10\x00\x12\x0f\n" +
"\vSCD_INBOUND\x10\x01\x12\x10\n" +
"\fSCD_OUTBOUND\x10\x022\xd7\v\n" +
"\x03SIP\x12P\n" +
"\fListSIPTrunk\x12\x1c.livekit.ListSIPTrunkRequest\x1a\x1d.livekit.ListSIPTrunkResponse\"\x03\x88\x02\x01\x12\\\n" +
"\x15CreateSIPInboundTrunk\x12%.livekit.CreateSIPInboundTrunkRequest\x1a\x1c.livekit.SIPInboundTrunkInfo\x12_\n" +
"\x16CreateSIPOutboundTrunk\x12&.livekit.CreateSIPOutboundTrunkRequest\x1a\x1d.livekit.SIPOutboundTrunkInfo\x12\\\n" +
"\x15UpdateSIPInboundTrunk\x12%.livekit.UpdateSIPInboundTrunkRequest\x1a\x1c.livekit.SIPInboundTrunkInfo\x12_\n" +
"\x16UpdateSIPOutboundTrunk\x12&.livekit.UpdateSIPOutboundTrunkRequest\x1a\x1d.livekit.SIPOutboundTrunkInfo\x12]\n" +
"\x12GetSIPInboundTrunk\x12\".livekit.GetSIPInboundTrunkRequest\x1a#.livekit.GetSIPInboundTrunkResponse\x12`\n" +
"\x13GetSIPOutboundTrunk\x12#.livekit.GetSIPOutboundTrunkRequest\x1a$.livekit.GetSIPOutboundTrunkResponse\x12`\n" +
"\x13ListSIPInboundTrunk\x12#.livekit.ListSIPInboundTrunkRequest\x1a$.livekit.ListSIPInboundTrunkResponse\x12c\n" +
"\x14ListSIPOutboundTrunk\x12$.livekit.ListSIPOutboundTrunkRequest\x1a%.livekit.ListSIPOutboundTrunkResponse\x12G\n" +
"\x0eDeleteSIPTrunk\x12\x1e.livekit.DeleteSIPTrunkRequest\x1a\x15.livekit.SIPTrunkInfo\x12\\\n" +
"\x15CreateSIPDispatchRule\x12%.livekit.CreateSIPDispatchRuleRequest\x1a\x1c.livekit.SIPDispatchRuleInfo\x12\\\n" +
"\x15UpdateSIPDispatchRule\x12%.livekit.UpdateSIPDispatchRuleRequest\x1a\x1c.livekit.SIPDispatchRuleInfo\x12`\n" +
"\x13ListSIPDispatchRule\x12#.livekit.ListSIPDispatchRuleRequest\x1a$.livekit.ListSIPDispatchRuleResponse\x12\\\n" +
"\x15DeleteSIPDispatchRule\x12%.livekit.DeleteSIPDispatchRuleRequest\x1a\x1c.livekit.SIPDispatchRuleInfo\x12Y\n" +
"\x14CreateSIPParticipant\x12$.livekit.CreateSIPParticipantRequest\x1a\x1b.livekit.SIPParticipantInfo\x12X\n" +
"\x16TransferSIPParticipant\x12&.livekit.TransferSIPParticipantRequest\x1a\x16.google.protobuf.EmptyBFZ#github.com/livekit/protocol/livekit\xaa\x02\rLiveKit.Proto\xea\x02\x0eLiveKit::Protob\x06proto3"
var (
file_livekit_sip_proto_rawDescOnce sync.Once
file_livekit_sip_proto_rawDescData []byte
)
func file_livekit_sip_proto_rawDescGZIP() []byte {
file_livekit_sip_proto_rawDescOnce.Do(func() {
file_livekit_sip_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_sip_proto_rawDesc), len(file_livekit_sip_proto_rawDesc)))
})
return file_livekit_sip_proto_rawDescData
}
var file_livekit_sip_proto_enumTypes = make([]protoimpl.EnumInfo, 10)
var file_livekit_sip_proto_msgTypes = make([]protoimpl.MessageInfo, 57)
var file_livekit_sip_proto_goTypes = []any{
(SIPStatusCode)(0), (SIPTransport)(0), (SIPHeaderOptions)(0), (SIPMediaEncryption)(0), (ProviderType)(0), (SIPCallStatus)(0), (SIPTransferStatus)(0), (SIPFeature)(0), (SIPCallDirection)(0), (SIPTrunkInfo_TrunkKind)(0), (*SIPStatus)(nil), (*CreateSIPTrunkRequest)(nil), (*ProviderInfo)(nil), (*SIPTrunkInfo)(nil), (*CreateSIPInboundTrunkRequest)(nil), (*UpdateSIPInboundTrunkRequest)(nil), (*SIPInboundTrunkInfo)(nil), (*SIPInboundTrunkUpdate)(nil), (*CreateSIPOutboundTrunkRequest)(nil), (*UpdateSIPOutboundTrunkRequest)(nil), (*SIPOutboundTrunkInfo)(nil), (*SIPOutboundTrunkUpdate)(nil), (*GetSIPInboundTrunkRequest)(nil), (*GetSIPInboundTrunkResponse)(nil), (*GetSIPOutboundTrunkRequest)(nil), (*GetSIPOutboundTrunkResponse)(nil), (*ListSIPTrunkRequest)(nil), (*ListSIPTrunkResponse)(nil), (*ListSIPInboundTrunkRequest)(nil), (*ListSIPInboundTrunkResponse)(nil), (*ListSIPOutboundTrunkRequest)(nil), (*ListSIPOutboundTrunkResponse)(nil), (*DeleteSIPTrunkRequest)(nil), (*SIPDispatchRuleDirect)(nil), (*SIPDispatchRuleIndividual)(nil), (*SIPDispatchRuleCallee)(nil), (*SIPDispatchRule)(nil), (*CreateSIPDispatchRuleRequest)(nil), (*UpdateSIPDispatchRuleRequest)(nil), (*SIPDispatchRuleInfo)(nil), (*SIPDispatchRuleUpdate)(nil), (*ListSIPDispatchRuleRequest)(nil), (*ListSIPDispatchRuleResponse)(nil), (*DeleteSIPDispatchRuleRequest)(nil), (*SIPOutboundConfig)(nil), (*CreateSIPParticipantRequest)(nil), (*SIPParticipantInfo)(nil), (*TransferSIPParticipantRequest)(nil), (*SIPCallInfo)(nil), (*SIPTransferInfo)(nil), (*SIPUri)(nil), (*Destination)(nil), nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, (*durationpb.Duration)(nil), (*timestamppb.Timestamp)(nil), (*ListUpdate)(nil), (*Pagination)(nil), (*RoomConfiguration)(nil), (DisconnectReason)(0), (*anypb.Any)(nil), (*emptypb.Empty)(nil), }
var file_livekit_sip_proto_depIdxs = []int32{
0, 4, 9, 1, 16, 16, 17, 52, 53, 54, 2, 67, 67, 3, 68, 68, 69, 69, 69, 3, 20, 20, 21, 1, 55, 56, 57, 2, 3, 68, 68, 1, 69, 3, 16, 20, 70, 13, 70, 16, 70, 20, 33, 34, 35, 39, 36, 58, 71, 39, 40, 36, 59, 71, 3, 68, 68, 69, 36, 60, 3, 70, 39, 1, 61, 62, 44, 63, 64, 2, 67, 67, 3, 51, 65, 67, 66, 50, 50, 7, 8, 5, 72, 10, 73, 12, 6, 10, 1, 26, 14, 18, 15, 19, 22, 24, 28, 30, 32, 37, 38, 41, 43, 45, 47, 27, 16, 20, 16, 20, 23, 25, 29, 31, 13, 39, 39, 42, 39, 46, 74, 105, 89, 89, 89, 0, }
func init() { file_livekit_sip_proto_init() }
func file_livekit_sip_proto_init() {
if File_livekit_sip_proto != nil {
return
}
file_livekit_models_proto_init()
file_livekit_room_proto_init()
file_livekit_sip_proto_msgTypes[5].OneofWrappers = []any{
(*UpdateSIPInboundTrunkRequest_Replace)(nil),
(*UpdateSIPInboundTrunkRequest_Update)(nil),
}
file_livekit_sip_proto_msgTypes[7].OneofWrappers = []any{}
file_livekit_sip_proto_msgTypes[9].OneofWrappers = []any{
(*UpdateSIPOutboundTrunkRequest_Replace)(nil),
(*UpdateSIPOutboundTrunkRequest_Update)(nil),
}
file_livekit_sip_proto_msgTypes[11].OneofWrappers = []any{}
file_livekit_sip_proto_msgTypes[26].OneofWrappers = []any{
(*SIPDispatchRule_DispatchRuleDirect)(nil),
(*SIPDispatchRule_DispatchRuleIndividual)(nil),
(*SIPDispatchRule_DispatchRuleCallee)(nil),
}
file_livekit_sip_proto_msgTypes[28].OneofWrappers = []any{
(*UpdateSIPDispatchRuleRequest_Replace)(nil),
(*UpdateSIPDispatchRuleRequest_Update)(nil),
}
file_livekit_sip_proto_msgTypes[30].OneofWrappers = []any{}
file_livekit_sip_proto_msgTypes[35].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_sip_proto_rawDesc), len(file_livekit_sip_proto_rawDesc)),
NumEnums: 10,
NumMessages: 57,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_livekit_sip_proto_goTypes,
DependencyIndexes: file_livekit_sip_proto_depIdxs,
EnumInfos: file_livekit_sip_proto_enumTypes,
MessageInfos: file_livekit_sip_proto_msgTypes,
}.Build()
File_livekit_sip_proto = out.File
file_livekit_sip_proto_goTypes = nil
file_livekit_sip_proto_depIdxs = nil
}