github.com/livekit/protocol@v1.39.3/rpc/sip.pb.go (about) 1 // Copyright 2023 LiveKit, Inc. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // Code generated by protoc-gen-go. DO NOT EDIT. 16 // versions: 17 // protoc-gen-go v1.36.6 18 // protoc v4.23.4 19 // source: rpc/sip.proto 20 21 package rpc 22 23 import ( 24 livekit "github.com/livekit/protocol/livekit" 25 _ "github.com/livekit/psrpc/protoc-gen-psrpc/options" 26 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 27 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 28 durationpb "google.golang.org/protobuf/types/known/durationpb" 29 emptypb "google.golang.org/protobuf/types/known/emptypb" 30 reflect "reflect" 31 sync "sync" 32 unsafe "unsafe" 33 ) 34 35 const ( 36 // Verify that this generated code is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 38 // Verify that runtime/protoimpl is sufficiently up-to-date. 39 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 40 ) 41 42 type InternalCreateSIPParticipantRequest struct { 43 state protoimpl.MessageState `protogen:"open.v1"` 44 // Used in Cloud only 45 ProjectId string `protobuf:"bytes,18,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 46 SipCallId string `protobuf:"bytes,13,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` 47 SipTrunkId string `protobuf:"bytes,19,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` 48 // IP or hostname that SIP INVITE is sent too 49 Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` 50 // Hostname for the 'From' SIP address in INVITE 51 Hostname string `protobuf:"bytes,20,opt,name=hostname,proto3" json:"hostname,omitempty"` 52 DestinationCountry string `protobuf:"bytes,30,opt,name=destination_country,json=destinationCountry,proto3" json:"destination_country,omitempty"` 53 Transport livekit.SIPTransport `protobuf:"varint,16,opt,name=transport,proto3,enum=livekit.SIPTransport" json:"transport,omitempty"` 54 // Number used to make the call 55 Number string `protobuf:"bytes,3,opt,name=number,proto3" json:"number,omitempty"` 56 // Number to call to 57 CallTo string `protobuf:"bytes,4,opt,name=call_to,json=callTo,proto3" json:"call_to,omitempty"` 58 Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"` 59 Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"` 60 RoomName string `protobuf:"bytes,7,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` 61 ParticipantIdentity string `protobuf:"bytes,8,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` 62 ParticipantName string `protobuf:"bytes,14,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"` 63 ParticipantMetadata string `protobuf:"bytes,15,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` 64 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"` 65 // optional token that should be used when creating LiveKit participant 66 Token string `protobuf:"bytes,9,opt,name=token,proto3" json:"token,omitempty"` 67 // optional websocket url that should be used when creating LiveKit participant 68 WsUrl string `protobuf:"bytes,10,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"` 69 // Optionally send following DTMF digits (extension codes) when making a call. 70 // Character 'w' can be used to add a 0.5 sec delay. 71 Dtmf string `protobuf:"bytes,11,opt,name=dtmf,proto3" json:"dtmf,omitempty"` 72 // Optionally play dialtone in the room as an audible indicator for existing participants 73 PlayDialtone bool `protobuf:"varint,12,opt,name=play_dialtone,json=playDialtone,proto3" json:"play_dialtone,omitempty"` 74 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"` 75 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"` 76 // Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. 77 // Keys are the names of attributes and values are the names of X-* headers they will be mapped to. 78 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"` 79 // Map SIP headers from 200 OK to sip.h.* participant attributes automatically. 80 // 81 // When the names of required headers is known, using headers_to_attributes is strongly recommended. 82 // 83 // When mapping 200 OK headers to follow-up request headers with attributes_to_headers map, 84 // lowercase header names should be used, for example: sip.h.x-custom-header. 85 IncludeHeaders livekit.SIPHeaderOptions `protobuf:"varint,27,opt,name=include_headers,json=includeHeaders,proto3,enum=livekit.SIPHeaderOptions" json:"include_headers,omitempty"` 86 EnabledFeatures []livekit.SIPFeature `protobuf:"varint,25,rep,packed,name=enabled_features,json=enabledFeatures,proto3,enum=livekit.SIPFeature" json:"enabled_features,omitempty"` 87 // Max time for the callee to answer the call. 88 RingingTimeout *durationpb.Duration `protobuf:"bytes,23,opt,name=ringing_timeout,json=ringingTimeout,proto3" json:"ringing_timeout,omitempty"` 89 // Max call duration. 90 MaxCallDuration *durationpb.Duration `protobuf:"bytes,24,opt,name=max_call_duration,json=maxCallDuration,proto3" json:"max_call_duration,omitempty"` 91 MediaEncryption livekit.SIPMediaEncryption `protobuf:"varint,28,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` 92 // Wait for the answer for the call before returning. 93 WaitUntilAnswered bool `protobuf:"varint,29,opt,name=wait_until_answered,json=waitUntilAnswered,proto3" json:"wait_until_answered,omitempty"` 94 unknownFields protoimpl.UnknownFields 95 sizeCache protoimpl.SizeCache 96 } 97 98 func (x *InternalCreateSIPParticipantRequest) Reset() { 99 *x = InternalCreateSIPParticipantRequest{} 100 mi := &file_rpc_sip_proto_msgTypes[0] 101 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 102 ms.StoreMessageInfo(mi) 103 } 104 105 func (x *InternalCreateSIPParticipantRequest) String() string { 106 return protoimpl.X.MessageStringOf(x) 107 } 108 109 func (*InternalCreateSIPParticipantRequest) ProtoMessage() {} 110 111 func (x *InternalCreateSIPParticipantRequest) ProtoReflect() protoreflect.Message { 112 mi := &file_rpc_sip_proto_msgTypes[0] 113 if x != nil { 114 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 115 if ms.LoadMessageInfo() == nil { 116 ms.StoreMessageInfo(mi) 117 } 118 return ms 119 } 120 return mi.MessageOf(x) 121 } 122 123 // Deprecated: Use InternalCreateSIPParticipantRequest.ProtoReflect.Descriptor instead. 124 func (*InternalCreateSIPParticipantRequest) Descriptor() ([]byte, []int) { 125 return file_rpc_sip_proto_rawDescGZIP(), []int{0} 126 } 127 128 func (x *InternalCreateSIPParticipantRequest) GetProjectId() string { 129 if x != nil { 130 return x.ProjectId 131 } 132 return "" 133 } 134 135 func (x *InternalCreateSIPParticipantRequest) GetSipCallId() string { 136 if x != nil { 137 return x.SipCallId 138 } 139 return "" 140 } 141 142 func (x *InternalCreateSIPParticipantRequest) GetSipTrunkId() string { 143 if x != nil { 144 return x.SipTrunkId 145 } 146 return "" 147 } 148 149 func (x *InternalCreateSIPParticipantRequest) GetAddress() string { 150 if x != nil { 151 return x.Address 152 } 153 return "" 154 } 155 156 func (x *InternalCreateSIPParticipantRequest) GetHostname() string { 157 if x != nil { 158 return x.Hostname 159 } 160 return "" 161 } 162 163 func (x *InternalCreateSIPParticipantRequest) GetDestinationCountry() string { 164 if x != nil { 165 return x.DestinationCountry 166 } 167 return "" 168 } 169 170 func (x *InternalCreateSIPParticipantRequest) GetTransport() livekit.SIPTransport { 171 if x != nil { 172 return x.Transport 173 } 174 return livekit.SIPTransport(0) 175 } 176 177 func (x *InternalCreateSIPParticipantRequest) GetNumber() string { 178 if x != nil { 179 return x.Number 180 } 181 return "" 182 } 183 184 func (x *InternalCreateSIPParticipantRequest) GetCallTo() string { 185 if x != nil { 186 return x.CallTo 187 } 188 return "" 189 } 190 191 func (x *InternalCreateSIPParticipantRequest) GetUsername() string { 192 if x != nil { 193 return x.Username 194 } 195 return "" 196 } 197 198 func (x *InternalCreateSIPParticipantRequest) GetPassword() string { 199 if x != nil { 200 return x.Password 201 } 202 return "" 203 } 204 205 func (x *InternalCreateSIPParticipantRequest) GetRoomName() string { 206 if x != nil { 207 return x.RoomName 208 } 209 return "" 210 } 211 212 func (x *InternalCreateSIPParticipantRequest) GetParticipantIdentity() string { 213 if x != nil { 214 return x.ParticipantIdentity 215 } 216 return "" 217 } 218 219 func (x *InternalCreateSIPParticipantRequest) GetParticipantName() string { 220 if x != nil { 221 return x.ParticipantName 222 } 223 return "" 224 } 225 226 func (x *InternalCreateSIPParticipantRequest) GetParticipantMetadata() string { 227 if x != nil { 228 return x.ParticipantMetadata 229 } 230 return "" 231 } 232 233 func (x *InternalCreateSIPParticipantRequest) GetParticipantAttributes() map[string]string { 234 if x != nil { 235 return x.ParticipantAttributes 236 } 237 return nil 238 } 239 240 func (x *InternalCreateSIPParticipantRequest) GetToken() string { 241 if x != nil { 242 return x.Token 243 } 244 return "" 245 } 246 247 func (x *InternalCreateSIPParticipantRequest) GetWsUrl() string { 248 if x != nil { 249 return x.WsUrl 250 } 251 return "" 252 } 253 254 func (x *InternalCreateSIPParticipantRequest) GetDtmf() string { 255 if x != nil { 256 return x.Dtmf 257 } 258 return "" 259 } 260 261 func (x *InternalCreateSIPParticipantRequest) GetPlayDialtone() bool { 262 if x != nil { 263 return x.PlayDialtone 264 } 265 return false 266 } 267 268 func (x *InternalCreateSIPParticipantRequest) GetHeaders() map[string]string { 269 if x != nil { 270 return x.Headers 271 } 272 return nil 273 } 274 275 func (x *InternalCreateSIPParticipantRequest) GetHeadersToAttributes() map[string]string { 276 if x != nil { 277 return x.HeadersToAttributes 278 } 279 return nil 280 } 281 282 func (x *InternalCreateSIPParticipantRequest) GetAttributesToHeaders() map[string]string { 283 if x != nil { 284 return x.AttributesToHeaders 285 } 286 return nil 287 } 288 289 func (x *InternalCreateSIPParticipantRequest) GetIncludeHeaders() livekit.SIPHeaderOptions { 290 if x != nil { 291 return x.IncludeHeaders 292 } 293 return livekit.SIPHeaderOptions(0) 294 } 295 296 func (x *InternalCreateSIPParticipantRequest) GetEnabledFeatures() []livekit.SIPFeature { 297 if x != nil { 298 return x.EnabledFeatures 299 } 300 return nil 301 } 302 303 func (x *InternalCreateSIPParticipantRequest) GetRingingTimeout() *durationpb.Duration { 304 if x != nil { 305 return x.RingingTimeout 306 } 307 return nil 308 } 309 310 func (x *InternalCreateSIPParticipantRequest) GetMaxCallDuration() *durationpb.Duration { 311 if x != nil { 312 return x.MaxCallDuration 313 } 314 return nil 315 } 316 317 func (x *InternalCreateSIPParticipantRequest) GetMediaEncryption() livekit.SIPMediaEncryption { 318 if x != nil { 319 return x.MediaEncryption 320 } 321 return livekit.SIPMediaEncryption(0) 322 } 323 324 func (x *InternalCreateSIPParticipantRequest) GetWaitUntilAnswered() bool { 325 if x != nil { 326 return x.WaitUntilAnswered 327 } 328 return false 329 } 330 331 type InternalCreateSIPParticipantResponse struct { 332 state protoimpl.MessageState `protogen:"open.v1"` 333 ParticipantId string `protobuf:"bytes,1,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"` 334 ParticipantIdentity string `protobuf:"bytes,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` 335 SipCallId string `protobuf:"bytes,3,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` 336 unknownFields protoimpl.UnknownFields 337 sizeCache protoimpl.SizeCache 338 } 339 340 func (x *InternalCreateSIPParticipantResponse) Reset() { 341 *x = InternalCreateSIPParticipantResponse{} 342 mi := &file_rpc_sip_proto_msgTypes[1] 343 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 344 ms.StoreMessageInfo(mi) 345 } 346 347 func (x *InternalCreateSIPParticipantResponse) String() string { 348 return protoimpl.X.MessageStringOf(x) 349 } 350 351 func (*InternalCreateSIPParticipantResponse) ProtoMessage() {} 352 353 func (x *InternalCreateSIPParticipantResponse) ProtoReflect() protoreflect.Message { 354 mi := &file_rpc_sip_proto_msgTypes[1] 355 if x != nil { 356 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 357 if ms.LoadMessageInfo() == nil { 358 ms.StoreMessageInfo(mi) 359 } 360 return ms 361 } 362 return mi.MessageOf(x) 363 } 364 365 // Deprecated: Use InternalCreateSIPParticipantResponse.ProtoReflect.Descriptor instead. 366 func (*InternalCreateSIPParticipantResponse) Descriptor() ([]byte, []int) { 367 return file_rpc_sip_proto_rawDescGZIP(), []int{1} 368 } 369 370 func (x *InternalCreateSIPParticipantResponse) GetParticipantId() string { 371 if x != nil { 372 return x.ParticipantId 373 } 374 return "" 375 } 376 377 func (x *InternalCreateSIPParticipantResponse) GetParticipantIdentity() string { 378 if x != nil { 379 return x.ParticipantIdentity 380 } 381 return "" 382 } 383 384 func (x *InternalCreateSIPParticipantResponse) GetSipCallId() string { 385 if x != nil { 386 return x.SipCallId 387 } 388 return "" 389 } 390 391 type InternalTransferSIPParticipantRequest struct { 392 state protoimpl.MessageState `protogen:"open.v1"` 393 SipCallId string `protobuf:"bytes,1,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` 394 TransferTo string `protobuf:"bytes,2,opt,name=transfer_to,json=transferTo,proto3" json:"transfer_to,omitempty"` 395 // Optionally play dialtone to the SIP participant as an audible indicator of being transferred 396 PlayDialtone bool `protobuf:"varint,3,opt,name=play_dialtone,json=playDialtone,proto3" json:"play_dialtone,omitempty"` 397 // Add the following headers to the REFER SIP request. 398 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"` 399 // Max time for the transfer destination to answer the call. 400 RingingTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=ringing_timeout,json=ringingTimeout,proto3" json:"ringing_timeout,omitempty"` 401 unknownFields protoimpl.UnknownFields 402 sizeCache protoimpl.SizeCache 403 } 404 405 func (x *InternalTransferSIPParticipantRequest) Reset() { 406 *x = InternalTransferSIPParticipantRequest{} 407 mi := &file_rpc_sip_proto_msgTypes[2] 408 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 409 ms.StoreMessageInfo(mi) 410 } 411 412 func (x *InternalTransferSIPParticipantRequest) String() string { 413 return protoimpl.X.MessageStringOf(x) 414 } 415 416 func (*InternalTransferSIPParticipantRequest) ProtoMessage() {} 417 418 func (x *InternalTransferSIPParticipantRequest) ProtoReflect() protoreflect.Message { 419 mi := &file_rpc_sip_proto_msgTypes[2] 420 if x != nil { 421 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 422 if ms.LoadMessageInfo() == nil { 423 ms.StoreMessageInfo(mi) 424 } 425 return ms 426 } 427 return mi.MessageOf(x) 428 } 429 430 // Deprecated: Use InternalTransferSIPParticipantRequest.ProtoReflect.Descriptor instead. 431 func (*InternalTransferSIPParticipantRequest) Descriptor() ([]byte, []int) { 432 return file_rpc_sip_proto_rawDescGZIP(), []int{2} 433 } 434 435 func (x *InternalTransferSIPParticipantRequest) GetSipCallId() string { 436 if x != nil { 437 return x.SipCallId 438 } 439 return "" 440 } 441 442 func (x *InternalTransferSIPParticipantRequest) GetTransferTo() string { 443 if x != nil { 444 return x.TransferTo 445 } 446 return "" 447 } 448 449 func (x *InternalTransferSIPParticipantRequest) GetPlayDialtone() bool { 450 if x != nil { 451 return x.PlayDialtone 452 } 453 return false 454 } 455 456 func (x *InternalTransferSIPParticipantRequest) GetHeaders() map[string]string { 457 if x != nil { 458 return x.Headers 459 } 460 return nil 461 } 462 463 func (x *InternalTransferSIPParticipantRequest) GetRingingTimeout() *durationpb.Duration { 464 if x != nil { 465 return x.RingingTimeout 466 } 467 return nil 468 } 469 470 var File_rpc_sip_proto protoreflect.FileDescriptor 471 472 const file_rpc_sip_proto_rawDesc = "" + 473 "\n" + 474 "\rrpc/sip.proto\x12\x03rpc\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\roptions.proto\x1a\x11livekit_sip.proto\"\xf7\r\n" + 475 "#InternalCreateSIPParticipantRequest\x12\x1d\n" + 476 "\n" + 477 "project_id\x18\x12 \x01(\tR\tprojectId\x12\x1e\n" + 478 "\vsip_call_id\x18\r \x01(\tR\tsipCallId\x12 \n" + 479 "\fsip_trunk_id\x18\x13 \x01(\tR\n" + 480 "sipTrunkId\x12\x18\n" + 481 "\aaddress\x18\x02 \x01(\tR\aaddress\x12\x1a\n" + 482 "\bhostname\x18\x14 \x01(\tR\bhostname\x12/\n" + 483 "\x13destination_country\x18\x1e \x01(\tR\x12destinationCountry\x123\n" + 484 "\ttransport\x18\x10 \x01(\x0e2\x15.livekit.SIPTransportR\ttransport\x12\x16\n" + 485 "\x06number\x18\x03 \x01(\tR\x06number\x12\x17\n" + 486 "\acall_to\x18\x04 \x01(\tR\x06callTo\x12\x1a\n" + 487 "\busername\x18\x05 \x01(\tR\busername\x12\x1a\n" + 488 "\bpassword\x18\x06 \x01(\tR\bpassword\x12\x1b\n" + 489 "\troom_name\x18\a \x01(\tR\broomName\x121\n" + 490 "\x14participant_identity\x18\b \x01(\tR\x13participantIdentity\x12)\n" + 491 "\x10participant_name\x18\x0e \x01(\tR\x0fparticipantName\x121\n" + 492 "\x14participant_metadata\x18\x0f \x01(\tR\x13participantMetadata\x12z\n" + 493 "\x16participant_attributes\x18\x11 \x03(\v2C.rpc.InternalCreateSIPParticipantRequest.ParticipantAttributesEntryR\x15participantAttributes\x12\x14\n" + 494 "\x05token\x18\t \x01(\tR\x05token\x12\x15\n" + 495 "\x06ws_url\x18\n" + 496 " \x01(\tR\x05wsUrl\x12\x12\n" + 497 "\x04dtmf\x18\v \x01(\tR\x04dtmf\x12#\n" + 498 "\rplay_dialtone\x18\f \x01(\bR\fplayDialtone\x12O\n" + 499 "\aheaders\x18\x15 \x03(\v25.rpc.InternalCreateSIPParticipantRequest.HeadersEntryR\aheaders\x12u\n" + 500 "\x15headers_to_attributes\x18\x16 \x03(\v2A.rpc.InternalCreateSIPParticipantRequest.HeadersToAttributesEntryR\x13headersToAttributes\x12u\n" + 501 "\x15attributes_to_headers\x18\x1a \x03(\v2A.rpc.InternalCreateSIPParticipantRequest.AttributesToHeadersEntryR\x13attributesToHeaders\x12B\n" + 502 "\x0finclude_headers\x18\x1b \x01(\x0e2\x19.livekit.SIPHeaderOptionsR\x0eincludeHeaders\x12>\n" + 503 "\x10enabled_features\x18\x19 \x03(\x0e2\x13.livekit.SIPFeatureR\x0fenabledFeatures\x12B\n" + 504 "\x0fringing_timeout\x18\x17 \x01(\v2\x19.google.protobuf.DurationR\x0eringingTimeout\x12E\n" + 505 "\x11max_call_duration\x18\x18 \x01(\v2\x19.google.protobuf.DurationR\x0fmaxCallDuration\x12F\n" + 506 "\x10media_encryption\x18\x1c \x01(\x0e2\x1b.livekit.SIPMediaEncryptionR\x0fmediaEncryption\x12.\n" + 507 "\x13wait_until_answered\x18\x1d \x01(\bR\x11waitUntilAnswered\x1aH\n" + 508 "\x1aParticipantAttributesEntry\x12\x10\n" + 509 "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + 510 "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1a:\n" + 511 "\fHeadersEntry\x12\x10\n" + 512 "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + 513 "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1aF\n" + 514 "\x18HeadersToAttributesEntry\x12\x10\n" + 515 "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + 516 "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1aF\n" + 517 "\x18AttributesToHeadersEntry\x12\x10\n" + 518 "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + 519 "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xa0\x01\n" + 520 "$InternalCreateSIPParticipantResponse\x12%\n" + 521 "\x0eparticipant_id\x18\x01 \x01(\tR\rparticipantId\x121\n" + 522 "\x14participant_identity\x18\x02 \x01(\tR\x13participantIdentity\x12\x1e\n" + 523 "\vsip_call_id\x18\x03 \x01(\tR\tsipCallId\"\xe0\x02\n" + 524 "%InternalTransferSIPParticipantRequest\x12\x1e\n" + 525 "\vsip_call_id\x18\x01 \x01(\tR\tsipCallId\x12\x1f\n" + 526 "\vtransfer_to\x18\x02 \x01(\tR\n" + 527 "transferTo\x12#\n" + 528 "\rplay_dialtone\x18\x03 \x01(\bR\fplayDialtone\x12Q\n" + 529 "\aheaders\x18\x04 \x03(\v27.rpc.InternalTransferSIPParticipantRequest.HeadersEntryR\aheaders\x12B\n" + 530 "\x0fringing_timeout\x18\x05 \x01(\v2\x19.google.protobuf.DurationR\x0eringingTimeout\x1a:\n" + 531 "\fHeadersEntry\x12\x10\n" + 532 "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + 533 "\x05value\x18\x02 \x01(\tR\x05value:\x028\x012\xf9\x01\n" + 534 "\vSIPInternal\x12u\n" + 535 "\x14CreateSIPParticipant\x12(.rpc.InternalCreateSIPParticipantRequest\x1a).rpc.InternalCreateSIPParticipantResponse\"\b\xb2\x89\x01\x04\x10\x010\x01\x12s\n" + 536 "\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" 537 538 var ( 539 file_rpc_sip_proto_rawDescOnce sync.Once 540 file_rpc_sip_proto_rawDescData []byte 541 ) 542 543 func file_rpc_sip_proto_rawDescGZIP() []byte { 544 file_rpc_sip_proto_rawDescOnce.Do(func() { 545 file_rpc_sip_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_sip_proto_rawDesc), len(file_rpc_sip_proto_rawDesc))) 546 }) 547 return file_rpc_sip_proto_rawDescData 548 } 549 550 var file_rpc_sip_proto_msgTypes = make([]protoimpl.MessageInfo, 8) 551 var file_rpc_sip_proto_goTypes = []any{ 552 (*InternalCreateSIPParticipantRequest)(nil), // 0: rpc.InternalCreateSIPParticipantRequest 553 (*InternalCreateSIPParticipantResponse)(nil), // 1: rpc.InternalCreateSIPParticipantResponse 554 (*InternalTransferSIPParticipantRequest)(nil), // 2: rpc.InternalTransferSIPParticipantRequest 555 nil, // 3: rpc.InternalCreateSIPParticipantRequest.ParticipantAttributesEntry 556 nil, // 4: rpc.InternalCreateSIPParticipantRequest.HeadersEntry 557 nil, // 5: rpc.InternalCreateSIPParticipantRequest.HeadersToAttributesEntry 558 nil, // 6: rpc.InternalCreateSIPParticipantRequest.AttributesToHeadersEntry 559 nil, // 7: rpc.InternalTransferSIPParticipantRequest.HeadersEntry 560 (livekit.SIPTransport)(0), // 8: livekit.SIPTransport 561 (livekit.SIPHeaderOptions)(0), // 9: livekit.SIPHeaderOptions 562 (livekit.SIPFeature)(0), // 10: livekit.SIPFeature 563 (*durationpb.Duration)(nil), // 11: google.protobuf.Duration 564 (livekit.SIPMediaEncryption)(0), // 12: livekit.SIPMediaEncryption 565 (*emptypb.Empty)(nil), // 13: google.protobuf.Empty 566 } 567 var file_rpc_sip_proto_depIdxs = []int32{ 568 8, // 0: rpc.InternalCreateSIPParticipantRequest.transport:type_name -> livekit.SIPTransport 569 3, // 1: rpc.InternalCreateSIPParticipantRequest.participant_attributes:type_name -> rpc.InternalCreateSIPParticipantRequest.ParticipantAttributesEntry 570 4, // 2: rpc.InternalCreateSIPParticipantRequest.headers:type_name -> rpc.InternalCreateSIPParticipantRequest.HeadersEntry 571 5, // 3: rpc.InternalCreateSIPParticipantRequest.headers_to_attributes:type_name -> rpc.InternalCreateSIPParticipantRequest.HeadersToAttributesEntry 572 6, // 4: rpc.InternalCreateSIPParticipantRequest.attributes_to_headers:type_name -> rpc.InternalCreateSIPParticipantRequest.AttributesToHeadersEntry 573 9, // 5: rpc.InternalCreateSIPParticipantRequest.include_headers:type_name -> livekit.SIPHeaderOptions 574 10, // 6: rpc.InternalCreateSIPParticipantRequest.enabled_features:type_name -> livekit.SIPFeature 575 11, // 7: rpc.InternalCreateSIPParticipantRequest.ringing_timeout:type_name -> google.protobuf.Duration 576 11, // 8: rpc.InternalCreateSIPParticipantRequest.max_call_duration:type_name -> google.protobuf.Duration 577 12, // 9: rpc.InternalCreateSIPParticipantRequest.media_encryption:type_name -> livekit.SIPMediaEncryption 578 7, // 10: rpc.InternalTransferSIPParticipantRequest.headers:type_name -> rpc.InternalTransferSIPParticipantRequest.HeadersEntry 579 11, // 11: rpc.InternalTransferSIPParticipantRequest.ringing_timeout:type_name -> google.protobuf.Duration 580 0, // 12: rpc.SIPInternal.CreateSIPParticipant:input_type -> rpc.InternalCreateSIPParticipantRequest 581 2, // 13: rpc.SIPInternal.TransferSIPParticipant:input_type -> rpc.InternalTransferSIPParticipantRequest 582 1, // 14: rpc.SIPInternal.CreateSIPParticipant:output_type -> rpc.InternalCreateSIPParticipantResponse 583 13, // 15: rpc.SIPInternal.TransferSIPParticipant:output_type -> google.protobuf.Empty 584 14, // [14:16] is the sub-list for method output_type 585 12, // [12:14] is the sub-list for method input_type 586 12, // [12:12] is the sub-list for extension type_name 587 12, // [12:12] is the sub-list for extension extendee 588 0, // [0:12] is the sub-list for field type_name 589 } 590 591 func init() { file_rpc_sip_proto_init() } 592 func file_rpc_sip_proto_init() { 593 if File_rpc_sip_proto != nil { 594 return 595 } 596 type x struct{} 597 out := protoimpl.TypeBuilder{ 598 File: protoimpl.DescBuilder{ 599 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 600 RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_sip_proto_rawDesc), len(file_rpc_sip_proto_rawDesc)), 601 NumEnums: 0, 602 NumMessages: 8, 603 NumExtensions: 0, 604 NumServices: 1, 605 }, 606 GoTypes: file_rpc_sip_proto_goTypes, 607 DependencyIndexes: file_rpc_sip_proto_depIdxs, 608 MessageInfos: file_rpc_sip_proto_msgTypes, 609 }.Build() 610 File_rpc_sip_proto = out.File 611 file_rpc_sip_proto_goTypes = nil 612 file_rpc_sip_proto_depIdxs = nil 613 }