Table of Contents

Class SIPDispatchRuleInfo

Namespace
LiveKit.Proto
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll
public sealed class SIPDispatchRuleInfo : IMessage<SIPDispatchRuleInfo>, IEquatable<SIPDispatchRuleInfo>, IDeepCloneable<SIPDispatchRuleInfo>, IBufferMessage, IMessage
Inheritance
SIPDispatchRuleInfo
Implements
IDeepCloneable<SIPDispatchRuleInfo>
IBufferMessage
IMessage
Inherited Members

Constructors

SIPDispatchRuleInfo()

public SIPDispatchRuleInfo()

SIPDispatchRuleInfo(SIPDispatchRuleInfo)

public SIPDispatchRuleInfo(SIPDispatchRuleInfo other)

Parameters

other SIPDispatchRuleInfo

Fields

AttributesFieldNumber

Field number for the "attributes" field.

public const int AttributesFieldNumber = 8

Field Value

int

CreatedAtFieldNumber

Field number for the "created_at" field.

public const int CreatedAtFieldNumber = 14

Field Value

int

HidePhoneNumberFieldNumber

Field number for the "hide_phone_number" field.

public const int HidePhoneNumberFieldNumber = 4

Field Value

int

InboundNumbersFieldNumber

Field number for the "inbound_numbers" field.

public const int InboundNumbersFieldNumber = 7

Field Value

int

KrispEnabledFieldNumber

Field number for the "krisp_enabled" field.

public const int KrispEnabledFieldNumber = 11

Field Value

int

MediaEncryptionFieldNumber

Field number for the "media_encryption" field.

public const int MediaEncryptionFieldNumber = 12

Field Value

int

MediaFieldNumber

Field number for the "media" field.

public const int MediaFieldNumber = 16

Field Value

int

MetadataFieldNumber

Field number for the "metadata" field.

public const int MetadataFieldNumber = 6

Field Value

int

NameFieldNumber

Field number for the "name" field.

public const int NameFieldNumber = 5

Field Value

int

NumbersFieldNumber

Field number for the "numbers" field.

public const int NumbersFieldNumber = 13

Field Value

int

RoomConfigFieldNumber

Field number for the "room_config" field.

public const int RoomConfigFieldNumber = 10

Field Value

int

RoomPresetFieldNumber

Field number for the "room_preset" field.

public const int RoomPresetFieldNumber = 9

Field Value

int

RuleFieldNumber

Field number for the "rule" field.

public const int RuleFieldNumber = 2

Field Value

int

SipDispatchRuleIdFieldNumber

Field number for the "sip_dispatch_rule_id" field.

public const int SipDispatchRuleIdFieldNumber = 1

Field Value

int

TrunkIdsFieldNumber

Field number for the "trunk_ids" field.

public const int TrunkIdsFieldNumber = 3

Field Value

int

UpdatedAtFieldNumber

Field number for the "updated_at" field.

public const int UpdatedAtFieldNumber = 15

Field Value

int

Properties

Attributes

User-defined attributes for the Dispatch Rule. Participants created by this rule will inherit these attributes.

public MapField<string, string> Attributes { get; }

Property Value

MapField<string, string>

CreatedAt

public Timestamp CreatedAt { get; set; }

Property Value

Timestamp

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HidePhoneNumber

public bool HidePhoneNumber { get; set; }

Property Value

bool

InboundNumbers

Dispatch Rule will only accept a call made from these numbers (if set).

public RepeatedField<string> InboundNumbers { get; }

Property Value

RepeatedField<string>

KrispEnabled

public bool KrispEnabled { get; set; }

Property Value

bool

Media

public SIPMediaConfig Media { get; set; }

Property Value

SIPMediaConfig

MediaEncryption

[Obsolete]
public SIPMediaEncryption MediaEncryption { get; set; }

Property Value

SIPMediaEncryption

Metadata

User-defined metadata for the Dispatch Rule. Participants created by this rule will inherit this metadata.

public string Metadata { get; set; }

Property Value

string

Name

Human-readable name for the Dispatch Rule.

public string Name { get; set; }

Property Value

string

Numbers

Dispatch Rule will only accept a call made to these numbers (if set).

public RepeatedField<string> Numbers { get; }

Property Value

RepeatedField<string>

Parser

public static MessageParser<SIPDispatchRuleInfo> Parser { get; }

Property Value

MessageParser<SIPDispatchRuleInfo>

RoomConfig

RoomConfiguration to use if the participant initiates the room

public RoomConfiguration RoomConfig { get; set; }

Property Value

RoomConfiguration

RoomPreset

Cloud-only, config preset to use

public string RoomPreset { get; set; }

Property Value

string

Rule

public SIPDispatchRule Rule { get; set; }

Property Value

SIPDispatchRule

SipDispatchRuleId

public string SipDispatchRuleId { get; set; }

Property Value

string

TrunkIds

public RepeatedField<string> TrunkIds { get; }

Property Value

RepeatedField<string>

UpdatedAt

public Timestamp UpdatedAt { get; set; }

Property Value

Timestamp

Methods

CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

Returns

int

The number of bytes required to write this message to a coded output stream.

Clone()

Creates a deep clone of this object.

public SIPDispatchRuleInfo Clone()

Returns

SIPDispatchRuleInfo

A deep clone of this object.

Equals(SIPDispatchRuleInfo)

public bool Equals(SIPDispatchRuleInfo other)

Parameters

other SIPDispatchRuleInfo

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

MergeFrom(SIPDispatchRuleInfo)

Merges the given message into this one.

public void MergeFrom(SIPDispatchRuleInfo other)

Parameters

other SIPDispatchRuleInfo

Remarks

See the user guide for precise merge semantics.

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.