Class SIPInboundTrunkInfo
- Namespace
- Livekit.Server.Sdk.Dotnet
- Assembly
- LivekitApi.dll
public sealed class SIPInboundTrunkInfo : IMessage<SIPInboundTrunkInfo>, IEquatable<SIPInboundTrunkInfo>, IDeepCloneable<SIPInboundTrunkInfo>, IBufferMessage, IMessage
- Inheritance
-
SIPInboundTrunkInfo
- Implements
-
IBufferMessage
- Inherited Members
Constructors
SIPInboundTrunkInfo()
public SIPInboundTrunkInfo()
SIPInboundTrunkInfo(SIPInboundTrunkInfo)
public SIPInboundTrunkInfo(SIPInboundTrunkInfo other)
Parameters
otherSIPInboundTrunkInfo
Properties
AllowedAddresses
CIDR or IPs that traffic is accepted from. An empty list means all inbound traffic is accepted.
public RepeatedField<string> AllowedAddresses { get; }
Property Value
AllowedNumbers
Numbers that are allowed to make calls to this Trunk. An empty list means calls from any phone number is accepted.
public RepeatedField<string> AllowedNumbers { get; }
Property Value
AttributesToHeaders
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.
public MapField<string, string> AttributesToHeaders { get; }
Property Value
AuthPassword
public string AuthPassword { get; set; }
Property Value
AuthRealm
public string AuthRealm { get; set; }
Property Value
AuthUsername
Username and password used to authenticate inbound SIP invites. May be empty to have no authentication.
public string AuthUsername { get; set; }
Property Value
CreatedAt
public Timestamp CreatedAt { get; set; }
Property Value
Headers
Include these SIP X-* headers in 200 OK responses.
public MapField<string, string> Headers { get; }
Property Value
HeadersToAttributes
Map SIP X-* headers from INVITE to SIP participant attributes.
public MapField<string, string> HeadersToAttributes { get; }
Property Value
IncludeHeaders
Map SIP headers from INVITE to sip.h.* participant attributes automatically.
When the names of required headers is known, using headers_to_attributes is strongly recommended.
When mapping INVITE headers to response headers with attributes_to_headers map, lowercase header names should be used, for example: sip.h.x-custom-header.
public SIPHeaderOptions IncludeHeaders { get; set; }
Property Value
KrispEnabled
public bool KrispEnabled { get; set; }
Property Value
MaxCallDuration
Max call duration.
public Duration MaxCallDuration { get; set; }
Property Value
Media
public SIPMediaConfig Media { get; set; }
Property Value
MediaEncryption
[Obsolete]
public SIPMediaEncryption MediaEncryption { get; set; }
Property Value
Metadata
User-defined metadata for the Trunk.
public string Metadata { get; set; }
Property Value
Name
Human-readable name for the Trunk.
public string Name { get; set; }
Property Value
Numbers
Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. Creating multiple Trunks with different phone numbers allows having different rules for a single provider.
public RepeatedField<string> Numbers { get; }
Property Value
RingingTimeout
Max time for the caller to wait for track subscription.
public Duration RingingTimeout { get; set; }
Property Value
RingingTimeoutStatus
SIP status code if ringing_timeout elapses. Unset means using system default.
public SIPStatusCode RingingTimeoutStatus { get; set; }
Property Value
SipTrunkId
public string SipTrunkId { get; set; }
Property Value
UpdatedAt
public Timestamp UpdatedAt { get; set; }