Files
protocol/rpc/sip.pb.go
Paul Wells 7fd3701836 move proto options to use lk reserved range (#1495)
* move proto options to use lk reserved range

* generated protobuf

* Create swift-swans-sit.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-11 08:23:11 -07:00

675 lines
28 KiB
Go

// Copyright 2023 LiveKit, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v4.23.4
// source: rpc/sip.proto
package rpc
import (
livekit "github.com/livekit/protocol/livekit"
_ "github.com/livekit/protocol/livekit/logger"
_ "github.com/livekit/psrpc/protoc-gen-psrpc/options"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
durationpb "google.golang.org/protobuf/types/known/durationpb"
emptypb "google.golang.org/protobuf/types/known/emptypb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type InternalCreateSIPParticipantRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Used in Cloud only
ProjectId string `protobuf:"bytes,18,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
SipCallId string `protobuf:"bytes,13,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"`
SipTrunkId string `protobuf:"bytes,19,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"`
// IP or hostname that SIP INVITE is sent too
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
// Hostname for the 'From' SIP address in INVITE
Hostname string `protobuf:"bytes,20,opt,name=hostname,proto3" json:"hostname,omitempty"`
DestinationCountry string `protobuf:"bytes,30,opt,name=destination_country,json=destinationCountry,proto3" json:"destination_country,omitempty"`
Transport livekit.SIPTransport `protobuf:"varint,16,opt,name=transport,proto3,enum=livekit.SIPTransport" json:"transport,omitempty"`
// Number used to make the call
Number string `protobuf:"bytes,3,opt,name=number,proto3" json:"number,omitempty"`
// Number to call to
CallTo string `protobuf:"bytes,4,opt,name=call_to,json=callTo,proto3" json:"call_to,omitempty"`
Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"`
RoomName string `protobuf:"bytes,7,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`
ParticipantIdentity string `protobuf:"bytes,8,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"`
ParticipantName string `protobuf:"bytes,14,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"`
ParticipantMetadata string `protobuf:"bytes,15,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"`
ParticipantAttributes map[string]string `protobuf:"bytes,17,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"`
// optional token that should be used when creating LiveKit participant
Token string `protobuf:"bytes,9,opt,name=token,proto3" json:"token,omitempty"`
// optional websocket url that should be used when creating LiveKit participant
WsUrl string `protobuf:"bytes,10,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"`
// Optionally send following DTMF digits (extension codes) when making a call.
// Character 'w' can be used to add a 0.5 sec delay.
Dtmf string `protobuf:"bytes,11,opt,name=dtmf,proto3" json:"dtmf,omitempty"`
// Optionally play dialtone in the room as an audible indicator for existing participants
PlayDialtone bool `protobuf:"varint,12,opt,name=play_dialtone,json=playDialtone,proto3" json:"play_dialtone,omitempty"`
Headers map[string]string `protobuf:"bytes,21,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,22,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"`
// Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests.
// Keys are the names of attributes and values are the names of X-* headers they will be mapped to.
AttributesToHeaders map[string]string `protobuf:"bytes,26,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"`
// Map SIP headers from 200 OK to sip.h.* participant attributes automatically.
//
// When the names of required headers is known, using headers_to_attributes is strongly recommended.
//
// When mapping 200 OK headers to follow-up request headers with attributes_to_headers map,
// lowercase header names should be used, for example: sip.h.x-custom-header.
IncludeHeaders livekit.SIPHeaderOptions `protobuf:"varint,27,opt,name=include_headers,json=includeHeaders,proto3,enum=livekit.SIPHeaderOptions" json:"include_headers,omitempty"`
EnabledFeatures []livekit.SIPFeature `protobuf:"varint,25,rep,packed,name=enabled_features,json=enabledFeatures,proto3,enum=livekit.SIPFeature" json:"enabled_features,omitempty"`
// Max time for the callee to answer the call.
RingingTimeout *durationpb.Duration `protobuf:"bytes,23,opt,name=ringing_timeout,json=ringingTimeout,proto3" json:"ringing_timeout,omitempty"`
// Max call duration.
MaxCallDuration *durationpb.Duration `protobuf:"bytes,24,opt,name=max_call_duration,json=maxCallDuration,proto3" json:"max_call_duration,omitempty"`
MediaEncryption livekit.SIPMediaEncryption `protobuf:"varint,28,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"`
// Wait for the answer for the call before returning.
WaitUntilAnswered bool `protobuf:"varint,29,opt,name=wait_until_answered,json=waitUntilAnswered,proto3" json:"wait_until_answered,omitempty"`
// Optional display name for the 'From' SIP header.
//
// Cases:
// 1) Unspecified: Use legacy behavior - display name will be set to be the caller's number.
// 2) Empty string: Do not send a display name, which will result in a CNAM lookup downstream.
// 3) Non-empty: Use the specified value as the display name.
DisplayName *string `protobuf:"bytes,31,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"`
// Destination information for routing decisions
Destination *livekit.Destination `protobuf:"bytes,32,opt,name=destination,proto3" json:"destination,omitempty"`
// Project-level feature flags from ProjectSettings.FeatureFlags
FeatureFlags map[string]string `protobuf:"bytes,33,rep,name=feature_flags,json=featureFlags,proto3" json:"feature_flags,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *InternalCreateSIPParticipantRequest) Reset() {
*x = InternalCreateSIPParticipantRequest{}
mi := &file_rpc_sip_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InternalCreateSIPParticipantRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InternalCreateSIPParticipantRequest) ProtoMessage() {}
func (x *InternalCreateSIPParticipantRequest) ProtoReflect() protoreflect.Message {
mi := &file_rpc_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)
}
// Deprecated: Use InternalCreateSIPParticipantRequest.ProtoReflect.Descriptor instead.
func (*InternalCreateSIPParticipantRequest) Descriptor() ([]byte, []int) {
return file_rpc_sip_proto_rawDescGZIP(), []int{0}
}
func (x *InternalCreateSIPParticipantRequest) GetProjectId() string {
if x != nil {
return x.ProjectId
}
return ""
}
func (x *InternalCreateSIPParticipantRequest) GetSipCallId() string {
if x != nil {
return x.SipCallId
}
return ""
}
func (x *InternalCreateSIPParticipantRequest) GetSipTrunkId() string {
if x != nil {
return x.SipTrunkId
}
return ""
}
func (x *InternalCreateSIPParticipantRequest) GetAddress() string {
if x != nil {
return x.Address
}
return ""
}
func (x *InternalCreateSIPParticipantRequest) GetHostname() string {
if x != nil {
return x.Hostname
}
return ""
}
func (x *InternalCreateSIPParticipantRequest) GetDestinationCountry() string {
if x != nil {
return x.DestinationCountry
}
return ""
}
func (x *InternalCreateSIPParticipantRequest) GetTransport() livekit.SIPTransport {
if x != nil {
return x.Transport
}
return livekit.SIPTransport(0)
}
func (x *InternalCreateSIPParticipantRequest) GetNumber() string {
if x != nil {
return x.Number
}
return ""
}
func (x *InternalCreateSIPParticipantRequest) GetCallTo() string {
if x != nil {
return x.CallTo
}
return ""
}
func (x *InternalCreateSIPParticipantRequest) GetUsername() string {
if x != nil {
return x.Username
}
return ""
}
func (x *InternalCreateSIPParticipantRequest) GetPassword() string {
if x != nil {
return x.Password
}
return ""
}
func (x *InternalCreateSIPParticipantRequest) GetRoomName() string {
if x != nil {
return x.RoomName
}
return ""
}
func (x *InternalCreateSIPParticipantRequest) GetParticipantIdentity() string {
if x != nil {
return x.ParticipantIdentity
}
return ""
}
func (x *InternalCreateSIPParticipantRequest) GetParticipantName() string {
if x != nil {
return x.ParticipantName
}
return ""
}
func (x *InternalCreateSIPParticipantRequest) GetParticipantMetadata() string {
if x != nil {
return x.ParticipantMetadata
}
return ""
}
func (x *InternalCreateSIPParticipantRequest) GetParticipantAttributes() map[string]string {
if x != nil {
return x.ParticipantAttributes
}
return nil
}
func (x *InternalCreateSIPParticipantRequest) GetToken() string {
if x != nil {
return x.Token
}
return ""
}
func (x *InternalCreateSIPParticipantRequest) GetWsUrl() string {
if x != nil {
return x.WsUrl
}
return ""
}
func (x *InternalCreateSIPParticipantRequest) GetDtmf() string {
if x != nil {
return x.Dtmf
}
return ""
}
func (x *InternalCreateSIPParticipantRequest) GetPlayDialtone() bool {
if x != nil {
return x.PlayDialtone
}
return false
}
func (x *InternalCreateSIPParticipantRequest) GetHeaders() map[string]string {
if x != nil {
return x.Headers
}
return nil
}
func (x *InternalCreateSIPParticipantRequest) GetHeadersToAttributes() map[string]string {
if x != nil {
return x.HeadersToAttributes
}
return nil
}
func (x *InternalCreateSIPParticipantRequest) GetAttributesToHeaders() map[string]string {
if x != nil {
return x.AttributesToHeaders
}
return nil
}
func (x *InternalCreateSIPParticipantRequest) GetIncludeHeaders() livekit.SIPHeaderOptions {
if x != nil {
return x.IncludeHeaders
}
return livekit.SIPHeaderOptions(0)
}
func (x *InternalCreateSIPParticipantRequest) GetEnabledFeatures() []livekit.SIPFeature {
if x != nil {
return x.EnabledFeatures
}
return nil
}
func (x *InternalCreateSIPParticipantRequest) GetRingingTimeout() *durationpb.Duration {
if x != nil {
return x.RingingTimeout
}
return nil
}
func (x *InternalCreateSIPParticipantRequest) GetMaxCallDuration() *durationpb.Duration {
if x != nil {
return x.MaxCallDuration
}
return nil
}
func (x *InternalCreateSIPParticipantRequest) GetMediaEncryption() livekit.SIPMediaEncryption {
if x != nil {
return x.MediaEncryption
}
return livekit.SIPMediaEncryption(0)
}
func (x *InternalCreateSIPParticipantRequest) GetWaitUntilAnswered() bool {
if x != nil {
return x.WaitUntilAnswered
}
return false
}
func (x *InternalCreateSIPParticipantRequest) GetDisplayName() string {
if x != nil && x.DisplayName != nil {
return *x.DisplayName
}
return ""
}
func (x *InternalCreateSIPParticipantRequest) GetDestination() *livekit.Destination {
if x != nil {
return x.Destination
}
return nil
}
func (x *InternalCreateSIPParticipantRequest) GetFeatureFlags() map[string]string {
if x != nil {
return x.FeatureFlags
}
return nil
}
type InternalCreateSIPParticipantResponse 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"`
SipCallId string `protobuf:"bytes,3,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *InternalCreateSIPParticipantResponse) Reset() {
*x = InternalCreateSIPParticipantResponse{}
mi := &file_rpc_sip_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InternalCreateSIPParticipantResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InternalCreateSIPParticipantResponse) ProtoMessage() {}
func (x *InternalCreateSIPParticipantResponse) ProtoReflect() protoreflect.Message {
mi := &file_rpc_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)
}
// Deprecated: Use InternalCreateSIPParticipantResponse.ProtoReflect.Descriptor instead.
func (*InternalCreateSIPParticipantResponse) Descriptor() ([]byte, []int) {
return file_rpc_sip_proto_rawDescGZIP(), []int{1}
}
func (x *InternalCreateSIPParticipantResponse) GetParticipantId() string {
if x != nil {
return x.ParticipantId
}
return ""
}
func (x *InternalCreateSIPParticipantResponse) GetParticipantIdentity() string {
if x != nil {
return x.ParticipantIdentity
}
return ""
}
func (x *InternalCreateSIPParticipantResponse) GetSipCallId() string {
if x != nil {
return x.SipCallId
}
return ""
}
type InternalTransferSIPParticipantRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
SipCallId string `protobuf:"bytes,1,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"`
TransferTo string `protobuf:"bytes,2,opt,name=transfer_to,json=transferTo,proto3" json:"transfer_to,omitempty"`
// Optionally play dialtone to the SIP participant as an audible indicator of being transferred
PlayDialtone bool `protobuf:"varint,3,opt,name=play_dialtone,json=playDialtone,proto3" json:"play_dialtone,omitempty"`
// Add the following headers to the REFER SIP request.
Headers map[string]string `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Max time for the transfer destination to answer the call.
RingingTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=ringing_timeout,json=ringingTimeout,proto3" json:"ringing_timeout,omitempty"`
// Project-level feature flags from ProjectSettings.FeatureFlags
FeatureFlags map[string]string `protobuf:"bytes,6,rep,name=feature_flags,json=featureFlags,proto3" json:"feature_flags,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *InternalTransferSIPParticipantRequest) Reset() {
*x = InternalTransferSIPParticipantRequest{}
mi := &file_rpc_sip_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InternalTransferSIPParticipantRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InternalTransferSIPParticipantRequest) ProtoMessage() {}
func (x *InternalTransferSIPParticipantRequest) ProtoReflect() protoreflect.Message {
mi := &file_rpc_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)
}
// Deprecated: Use InternalTransferSIPParticipantRequest.ProtoReflect.Descriptor instead.
func (*InternalTransferSIPParticipantRequest) Descriptor() ([]byte, []int) {
return file_rpc_sip_proto_rawDescGZIP(), []int{2}
}
func (x *InternalTransferSIPParticipantRequest) GetSipCallId() string {
if x != nil {
return x.SipCallId
}
return ""
}
func (x *InternalTransferSIPParticipantRequest) GetTransferTo() string {
if x != nil {
return x.TransferTo
}
return ""
}
func (x *InternalTransferSIPParticipantRequest) GetPlayDialtone() bool {
if x != nil {
return x.PlayDialtone
}
return false
}
func (x *InternalTransferSIPParticipantRequest) GetHeaders() map[string]string {
if x != nil {
return x.Headers
}
return nil
}
func (x *InternalTransferSIPParticipantRequest) GetRingingTimeout() *durationpb.Duration {
if x != nil {
return x.RingingTimeout
}
return nil
}
func (x *InternalTransferSIPParticipantRequest) GetFeatureFlags() map[string]string {
if x != nil {
return x.FeatureFlags
}
return nil
}
var File_rpc_sip_proto protoreflect.FileDescriptor
const file_rpc_sip_proto_rawDesc = "" +
"\n" +
"\rrpc/sip.proto\x12\x03rpc\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\roptions.proto\x1a\x11livekit_sip.proto\x1a\x14logger/options.proto\"\xe6\x12\n" +
"#InternalCreateSIPParticipantRequest\x12+\n" +
"\n" +
"project_id\x18\x12 \x01(\tB\f\xbaP\tprojectIDR\tprojectId\x12,\n" +
"\vsip_call_id\x18\r \x01(\tB\f\xbaP\tsipCallIDR\tsipCallId\x12/\n" +
"\fsip_trunk_id\x18\x13 \x01(\tB\r\xbaP\n" +
"sipTrunkIDR\n" +
"sipTrunkId\x12\x18\n" +
"\aaddress\x18\x02 \x01(\tR\aaddress\x12\x1a\n" +
"\bhostname\x18\x14 \x01(\tR\bhostname\x12/\n" +
"\x13destination_country\x18\x1e \x01(\tR\x12destinationCountry\x123\n" +
"\ttransport\x18\x10 \x01(\x0e2\x15.livekit.SIPTransportR\ttransport\x12\x16\n" +
"\x06number\x18\x03 \x01(\tR\x06number\x12\x17\n" +
"\acall_to\x18\x04 \x01(\tR\x06callTo\x12@\n" +
"\busername\x18\x05 \x01(\tB$\xa8P\x01\xb2P\x1e<redacted ({{ .Size }} bytes)>R\busername\x12@\n" +
"\bpassword\x18\x06 \x01(\tB$\xa8P\x01\xb2P\x1e<redacted ({{ .Size }} bytes)>R\bpassword\x12\x1b\n" +
"\troom_name\x18\a \x01(\tR\broomName\x121\n" +
"\x14participant_identity\x18\b \x01(\tR\x13participantIdentity\x12O\n" +
"\x10participant_name\x18\x0e \x01(\tB$\xa8P\x01\xb2P\x1e<redacted ({{ .Size }} bytes)>R\x0fparticipantName\x12W\n" +
"\x14participant_metadata\x18\x0f \x01(\tB$\xa8P\x01\xb2P\x1e<redacted ({{ .Size }} bytes)>R\x13participantMetadata\x12\xa0\x01\n" +
"\x16participant_attributes\x18\x11 \x03(\v2C.rpc.InternalCreateSIPParticipantRequest.ParticipantAttributesEntryB$\xa8P\x01\xb2P\x1e<redacted ({{ .Size }} bytes)>R\x15participantAttributes\x12:\n" +
"\x05token\x18\t \x01(\tB$\xa8P\x01\xb2P\x1e<redacted ({{ .Size }} bytes)>R\x05token\x12\x15\n" +
"\x06ws_url\x18\n" +
" \x01(\tR\x05wsUrl\x12\x12\n" +
"\x04dtmf\x18\v \x01(\tR\x04dtmf\x12#\n" +
"\rplay_dialtone\x18\f \x01(\bR\fplayDialtone\x12u\n" +
"\aheaders\x18\x15 \x03(\v25.rpc.InternalCreateSIPParticipantRequest.HeadersEntryB$\xa8P\x01\xb2P\x1e<redacted ({{ .Size }} bytes)>R\aheaders\x12u\n" +
"\x15headers_to_attributes\x18\x16 \x03(\v2A.rpc.InternalCreateSIPParticipantRequest.HeadersToAttributesEntryR\x13headersToAttributes\x12u\n" +
"\x15attributes_to_headers\x18\x1a \x03(\v2A.rpc.InternalCreateSIPParticipantRequest.AttributesToHeadersEntryR\x13attributesToHeaders\x12B\n" +
"\x0finclude_headers\x18\x1b \x01(\x0e2\x19.livekit.SIPHeaderOptionsR\x0eincludeHeaders\x12>\n" +
"\x10enabled_features\x18\x19 \x03(\x0e2\x13.livekit.SIPFeatureR\x0fenabledFeatures\x12B\n" +
"\x0fringing_timeout\x18\x17 \x01(\v2\x19.google.protobuf.DurationR\x0eringingTimeout\x12E\n" +
"\x11max_call_duration\x18\x18 \x01(\v2\x19.google.protobuf.DurationR\x0fmaxCallDuration\x12F\n" +
"\x10media_encryption\x18\x1c \x01(\x0e2\x1b.livekit.SIPMediaEncryptionR\x0fmediaEncryption\x12.\n" +
"\x13wait_until_answered\x18\x1d \x01(\bR\x11waitUntilAnswered\x12L\n" +
"\fdisplay_name\x18\x1f \x01(\tB$\xa8P\x01\xb2P\x1e<redacted ({{ .Size }} bytes)>H\x00R\vdisplayName\x88\x01\x01\x126\n" +
"\vdestination\x18 \x01(\v2\x14.livekit.DestinationR\vdestination\x12_\n" +
"\rfeature_flags\x18! \x03(\v2:.rpc.InternalCreateSIPParticipantRequest.FeatureFlagsEntryR\ffeatureFlags\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\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\x1a?\n" +
"\x11FeatureFlagsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\x0f\n" +
"\r_display_name\"\xc0\x01\n" +
"$InternalCreateSIPParticipantResponse\x127\n" +
"\x0eparticipant_id\x18\x01 \x01(\tB\x10\xbaP\rparticipantIDR\rparticipantId\x121\n" +
"\x14participant_identity\x18\x02 \x01(\tR\x13participantIdentity\x12,\n" +
"\vsip_call_id\x18\x03 \x01(\tB\f\xbaP\tsipCallIDR\tsipCallId\"\xb8\x04\n" +
"%InternalTransferSIPParticipantRequest\x12,\n" +
"\vsip_call_id\x18\x01 \x01(\tB\f\xbaP\tsipCallIDR\tsipCallId\x12\x1f\n" +
"\vtransfer_to\x18\x02 \x01(\tR\n" +
"transferTo\x12#\n" +
"\rplay_dialtone\x18\x03 \x01(\bR\fplayDialtone\x12w\n" +
"\aheaders\x18\x04 \x03(\v27.rpc.InternalTransferSIPParticipantRequest.HeadersEntryB$\xa8P\x01\xb2P\x1e<redacted ({{ .Size }} bytes)>R\aheaders\x12B\n" +
"\x0fringing_timeout\x18\x05 \x01(\v2\x19.google.protobuf.DurationR\x0eringingTimeout\x12a\n" +
"\rfeature_flags\x18\x06 \x03(\v2<.rpc.InternalTransferSIPParticipantRequest.FeatureFlagsEntryR\ffeatureFlags\x1a:\n" +
"\fHeadersEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1a?\n" +
"\x11FeatureFlagsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x012\xf7\x01\n" +
"\vSIPInternal\x12s\n" +
"\x14CreateSIPParticipant\x12(.rpc.InternalCreateSIPParticipantRequest\x1a).rpc.InternalCreateSIPParticipantResponse\"\x06\xb2\x89\x01\x02\x10\x01\x12s\n" +
"\x16TransferSIPParticipant\x12*.rpc.InternalTransferSIPParticipantRequest\x1a\x16.google.protobuf.Empty\"\x15\xb2\x89\x01\x11\x10\x01\x1a\r\x12\vsip_call_idB!Z\x1fgithub.com/livekit/protocol/rpcb\x06proto3"
var (
file_rpc_sip_proto_rawDescOnce sync.Once
file_rpc_sip_proto_rawDescData []byte
)
func file_rpc_sip_proto_rawDescGZIP() []byte {
file_rpc_sip_proto_rawDescOnce.Do(func() {
file_rpc_sip_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_sip_proto_rawDesc), len(file_rpc_sip_proto_rawDesc)))
})
return file_rpc_sip_proto_rawDescData
}
var file_rpc_sip_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
var file_rpc_sip_proto_goTypes = []any{
(*InternalCreateSIPParticipantRequest)(nil), // 0: rpc.InternalCreateSIPParticipantRequest
(*InternalCreateSIPParticipantResponse)(nil), // 1: rpc.InternalCreateSIPParticipantResponse
(*InternalTransferSIPParticipantRequest)(nil), // 2: rpc.InternalTransferSIPParticipantRequest
nil, // 3: rpc.InternalCreateSIPParticipantRequest.ParticipantAttributesEntry
nil, // 4: rpc.InternalCreateSIPParticipantRequest.HeadersEntry
nil, // 5: rpc.InternalCreateSIPParticipantRequest.HeadersToAttributesEntry
nil, // 6: rpc.InternalCreateSIPParticipantRequest.AttributesToHeadersEntry
nil, // 7: rpc.InternalCreateSIPParticipantRequest.FeatureFlagsEntry
nil, // 8: rpc.InternalTransferSIPParticipantRequest.HeadersEntry
nil, // 9: rpc.InternalTransferSIPParticipantRequest.FeatureFlagsEntry
(livekit.SIPTransport)(0), // 10: livekit.SIPTransport
(livekit.SIPHeaderOptions)(0), // 11: livekit.SIPHeaderOptions
(livekit.SIPFeature)(0), // 12: livekit.SIPFeature
(*durationpb.Duration)(nil), // 13: google.protobuf.Duration
(livekit.SIPMediaEncryption)(0), // 14: livekit.SIPMediaEncryption
(*livekit.Destination)(nil), // 15: livekit.Destination
(*emptypb.Empty)(nil), // 16: google.protobuf.Empty
}
var file_rpc_sip_proto_depIdxs = []int32{
10, // 0: rpc.InternalCreateSIPParticipantRequest.transport:type_name -> livekit.SIPTransport
3, // 1: rpc.InternalCreateSIPParticipantRequest.participant_attributes:type_name -> rpc.InternalCreateSIPParticipantRequest.ParticipantAttributesEntry
4, // 2: rpc.InternalCreateSIPParticipantRequest.headers:type_name -> rpc.InternalCreateSIPParticipantRequest.HeadersEntry
5, // 3: rpc.InternalCreateSIPParticipantRequest.headers_to_attributes:type_name -> rpc.InternalCreateSIPParticipantRequest.HeadersToAttributesEntry
6, // 4: rpc.InternalCreateSIPParticipantRequest.attributes_to_headers:type_name -> rpc.InternalCreateSIPParticipantRequest.AttributesToHeadersEntry
11, // 5: rpc.InternalCreateSIPParticipantRequest.include_headers:type_name -> livekit.SIPHeaderOptions
12, // 6: rpc.InternalCreateSIPParticipantRequest.enabled_features:type_name -> livekit.SIPFeature
13, // 7: rpc.InternalCreateSIPParticipantRequest.ringing_timeout:type_name -> google.protobuf.Duration
13, // 8: rpc.InternalCreateSIPParticipantRequest.max_call_duration:type_name -> google.protobuf.Duration
14, // 9: rpc.InternalCreateSIPParticipantRequest.media_encryption:type_name -> livekit.SIPMediaEncryption
15, // 10: rpc.InternalCreateSIPParticipantRequest.destination:type_name -> livekit.Destination
7, // 11: rpc.InternalCreateSIPParticipantRequest.feature_flags:type_name -> rpc.InternalCreateSIPParticipantRequest.FeatureFlagsEntry
8, // 12: rpc.InternalTransferSIPParticipantRequest.headers:type_name -> rpc.InternalTransferSIPParticipantRequest.HeadersEntry
13, // 13: rpc.InternalTransferSIPParticipantRequest.ringing_timeout:type_name -> google.protobuf.Duration
9, // 14: rpc.InternalTransferSIPParticipantRequest.feature_flags:type_name -> rpc.InternalTransferSIPParticipantRequest.FeatureFlagsEntry
0, // 15: rpc.SIPInternal.CreateSIPParticipant:input_type -> rpc.InternalCreateSIPParticipantRequest
2, // 16: rpc.SIPInternal.TransferSIPParticipant:input_type -> rpc.InternalTransferSIPParticipantRequest
1, // 17: rpc.SIPInternal.CreateSIPParticipant:output_type -> rpc.InternalCreateSIPParticipantResponse
16, // 18: rpc.SIPInternal.TransferSIPParticipant:output_type -> google.protobuf.Empty
17, // [17:19] is the sub-list for method output_type
15, // [15:17] is the sub-list for method input_type
15, // [15:15] is the sub-list for extension type_name
15, // [15:15] is the sub-list for extension extendee
0, // [0:15] is the sub-list for field type_name
}
func init() { file_rpc_sip_proto_init() }
func file_rpc_sip_proto_init() {
if File_rpc_sip_proto != nil {
return
}
file_rpc_sip_proto_msgTypes[0].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_sip_proto_rawDesc), len(file_rpc_sip_proto_rawDesc)),
NumEnums: 0,
NumMessages: 10,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_rpc_sip_proto_goTypes,
DependencyIndexes: file_rpc_sip_proto_depIdxs,
MessageInfos: file_rpc_sip_proto_msgTypes,
}.Build()
File_rpc_sip_proto = out.File
file_rpc_sip_proto_goTypes = nil
file_rpc_sip_proto_depIdxs = nil
}