SIPTrunkInfo
extends Message
in package
Generated from protobuf message livekit.SIPTrunkInfo
Table of Contents
Properties
- $inbound_password : mixed
- Generated from protobuf field <code>string inbound_password = 7 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];</code>
- $inbound_username : mixed
- Username and password used to authenticate inbound and outbound SIP invites May be empty to have no Authentication
- $kind : mixed
- Generated from protobuf field <code>.livekit.SIPTrunkInfo.TrunkKind kind = 14;</code>
- $metadata : mixed
- User-defined metadata for the Trunk.
- $name : mixed
- Human-readable name for the Trunk.
- $outbound_address : mixed
- IP that SIP INVITE is sent too
- $outbound_number : mixed
- Number used to make outbound calls
- $outbound_password : mixed
- Generated from protobuf field <code>string outbound_password = 9 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];</code>
- $outbound_username : mixed
- Generated from protobuf field <code>string outbound_username = 8 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];</code>
- $sip_trunk_id : mixed
- Generated from protobuf field <code>string sip_trunk_id = 1;</code>
- $transport : mixed
- Transport used for inbound and outbound calls.
- $inbound_addresses : mixed
- CIDR or IPs that traffic is accepted from An empty list means all inbound traffic is accepted.
- $inbound_numbers : mixed
- Accepted `To` values. This Trunk will only accept a call made to these numbers. This allows you to have distinct Trunks for different phone numbers at the same provider.
- $inbound_numbers_regex : mixed
- Generated from protobuf field <code>repeated string inbound_numbers_regex = 5 [deprecated = true];</code>
Methods
- __construct() : mixed
- Constructor.
- getInboundAddresses() : RepeatedField<string|int, string>
- CIDR or IPs that traffic is accepted from An empty list means all inbound traffic is accepted.
- getInboundNumbers() : RepeatedField<string|int, string>
- Accepted `To` values. This Trunk will only accept a call made to these numbers. This allows you to have distinct Trunks for different phone numbers at the same provider.
- getInboundNumbersRegex() : RepeatedField<string|int, string>
- Generated from protobuf field <code>repeated string inbound_numbers_regex = 5 [deprecated = true];</code>
- getInboundPassword() : string
- Generated from protobuf field <code>string inbound_password = 7 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];</code>
- getInboundUsername() : string
- Username and password used to authenticate inbound and outbound SIP invites May be empty to have no Authentication
- getKind() : int
- Generated from protobuf field <code>.livekit.SIPTrunkInfo.TrunkKind kind = 14;</code>
- getMetadata() : string
- User-defined metadata for the Trunk.
- getName() : string
- Human-readable name for the Trunk.
- getOutboundAddress() : string
- IP that SIP INVITE is sent too
- getOutboundNumber() : string
- Number used to make outbound calls
- getOutboundPassword() : string
- Generated from protobuf field <code>string outbound_password = 9 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];</code>
- getOutboundUsername() : string
- Generated from protobuf field <code>string outbound_username = 8 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];</code>
- getSipTrunkId() : string
- Generated from protobuf field <code>string sip_trunk_id = 1;</code>
- getTransport() : int
- Transport used for inbound and outbound calls.
- setInboundAddresses() : $this
- CIDR or IPs that traffic is accepted from An empty list means all inbound traffic is accepted.
- setInboundNumbers() : $this
- Accepted `To` values. This Trunk will only accept a call made to these numbers. This allows you to have distinct Trunks for different phone numbers at the same provider.
- setInboundNumbersRegex() : $this
- Generated from protobuf field <code>repeated string inbound_numbers_regex = 5 [deprecated = true];</code>
- setInboundPassword() : $this
- Generated from protobuf field <code>string inbound_password = 7 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];</code>
- setInboundUsername() : $this
- Username and password used to authenticate inbound and outbound SIP invites May be empty to have no Authentication
- setKind() : $this
- Generated from protobuf field <code>.livekit.SIPTrunkInfo.TrunkKind kind = 14;</code>
- setMetadata() : $this
- User-defined metadata for the Trunk.
- setName() : $this
- Human-readable name for the Trunk.
- setOutboundAddress() : $this
- IP that SIP INVITE is sent too
- setOutboundNumber() : $this
- Number used to make outbound calls
- setOutboundPassword() : $this
- Generated from protobuf field <code>string outbound_password = 9 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];</code>
- setOutboundUsername() : $this
- Generated from protobuf field <code>string outbound_username = 8 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];</code>
- setSipTrunkId() : $this
- Generated from protobuf field <code>string sip_trunk_id = 1;</code>
- setTransport() : $this
- Transport used for inbound and outbound calls.
Properties
$inbound_password
Generated from protobuf field <code>string inbound_password = 7 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];</code>
protected
mixed
$inbound_password
= ''
$inbound_username
Username and password used to authenticate inbound and outbound SIP invites May be empty to have no Authentication
protected
mixed
$inbound_username
= ''
Generated from protobuf field string inbound_username = 6 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];
$kind
Generated from protobuf field <code>.livekit.SIPTrunkInfo.TrunkKind kind = 14;</code>
protected
mixed
$kind
= 0
$metadata
User-defined metadata for the Trunk.
protected
mixed
$metadata
= ''
Generated from protobuf field string metadata = 12 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];
$name
Human-readable name for the Trunk.
protected
mixed
$name
= ''
Generated from protobuf field string name = 11;
$outbound_address
IP that SIP INVITE is sent too
protected
mixed
$outbound_address
= ''
Generated from protobuf field string outbound_address = 3;
$outbound_number
Number used to make outbound calls
protected
mixed
$outbound_number
= ''
Generated from protobuf field string outbound_number = 4;
$outbound_password
Generated from protobuf field <code>string outbound_password = 9 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];</code>
protected
mixed
$outbound_password
= ''
$outbound_username
Generated from protobuf field <code>string outbound_username = 8 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];</code>
protected
mixed
$outbound_username
= ''
$sip_trunk_id
Generated from protobuf field <code>string sip_trunk_id = 1;</code>
protected
mixed
$sip_trunk_id
= ''
$transport
Transport used for inbound and outbound calls.
protected
mixed
$transport
= 0
Generated from protobuf field .livekit.SIPTransport transport = 13;
$inbound_addresses
CIDR or IPs that traffic is accepted from An empty list means all inbound traffic is accepted.
private
mixed
$inbound_addresses
Generated from protobuf field repeated string inbound_addresses = 2;
$inbound_numbers
Accepted `To` values. This Trunk will only accept a call made to these numbers. This allows you to have distinct Trunks for different phone numbers at the same provider.
private
mixed
$inbound_numbers
Generated from protobuf field repeated string inbound_numbers = 10;
$inbound_numbers_regex
Generated from protobuf field <code>repeated string inbound_numbers_regex = 5 [deprecated = true];</code>
private
mixed
$inbound_numbers_regex
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
- $data : array<string|int, mixed> = null
-
{ Optional. Data for populating the Message object.
@type string $sip_trunk_id @type int $kind @type string[] $inbound_addresses CIDR or IPs that traffic is accepted from An empty list means all inbound traffic is accepted. @type string $outbound_address IP that SIP INVITE is sent too @type string $outbound_number Number used to make outbound calls @type int $transport Transport used for inbound and outbound calls. @type string[] $inbound_numbers_regex @type string[] $inbound_numbers Accepted `To` values. This Trunk will only accept a call made to these numbers. This allows you to have distinct Trunks for different phone numbers at the same provider. @type string $inbound_username Username and password used to authenticate inbound and outbound SIP invites May be empty to have no Authentication @type string $inbound_password @type string $outbound_username @type string $outbound_password @type string $name Human-readable name for the Trunk. @type string $metadata User-defined metadata for the Trunk.}
getInboundAddresses()
CIDR or IPs that traffic is accepted from An empty list means all inbound traffic is accepted.
public
getInboundAddresses() : RepeatedField<string|int, string>
Generated from protobuf field repeated string inbound_addresses = 2;
Return values
RepeatedField<string|int, string>getInboundNumbers()
Accepted `To` values. This Trunk will only accept a call made to these numbers. This allows you to have distinct Trunks for different phone numbers at the same provider.
public
getInboundNumbers() : RepeatedField<string|int, string>
Generated from protobuf field repeated string inbound_numbers = 10;
Return values
RepeatedField<string|int, string>getInboundNumbersRegex()
Generated from protobuf field <code>repeated string inbound_numbers_regex = 5 [deprecated = true];</code>
public
getInboundNumbersRegex() : RepeatedField<string|int, string>
Return values
RepeatedField<string|int, string>getInboundPassword()
Generated from protobuf field <code>string inbound_password = 7 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];</code>
public
getInboundPassword() : string
Return values
stringgetInboundUsername()
Username and password used to authenticate inbound and outbound SIP invites May be empty to have no Authentication
public
getInboundUsername() : string
Generated from protobuf field string inbound_username = 6 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];
Return values
stringgetKind()
Generated from protobuf field <code>.livekit.SIPTrunkInfo.TrunkKind kind = 14;</code>
public
getKind() : int
Return values
intgetMetadata()
User-defined metadata for the Trunk.
public
getMetadata() : string
Generated from protobuf field string metadata = 12 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];
Return values
stringgetName()
Human-readable name for the Trunk.
public
getName() : string
Generated from protobuf field string name = 11;
Return values
stringgetOutboundAddress()
IP that SIP INVITE is sent too
public
getOutboundAddress() : string
Generated from protobuf field string outbound_address = 3;
Return values
stringgetOutboundNumber()
Number used to make outbound calls
public
getOutboundNumber() : string
Generated from protobuf field string outbound_number = 4;
Return values
stringgetOutboundPassword()
Generated from protobuf field <code>string outbound_password = 9 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];</code>
public
getOutboundPassword() : string
Return values
stringgetOutboundUsername()
Generated from protobuf field <code>string outbound_username = 8 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];</code>
public
getOutboundUsername() : string
Return values
stringgetSipTrunkId()
Generated from protobuf field <code>string sip_trunk_id = 1;</code>
public
getSipTrunkId() : string
Return values
stringgetTransport()
Transport used for inbound and outbound calls.
public
getTransport() : int
Generated from protobuf field .livekit.SIPTransport transport = 13;
Return values
intsetInboundAddresses()
CIDR or IPs that traffic is accepted from An empty list means all inbound traffic is accepted.
public
setInboundAddresses(array<string|int, string> $var) : $this
Generated from protobuf field repeated string inbound_addresses = 2;
Parameters
- $var : array<string|int, string>
Return values
$thissetInboundNumbers()
Accepted `To` values. This Trunk will only accept a call made to these numbers. This allows you to have distinct Trunks for different phone numbers at the same provider.
public
setInboundNumbers(array<string|int, string> $var) : $this
Generated from protobuf field repeated string inbound_numbers = 10;
Parameters
- $var : array<string|int, string>
Return values
$thissetInboundNumbersRegex()
Generated from protobuf field <code>repeated string inbound_numbers_regex = 5 [deprecated = true];</code>
public
setInboundNumbersRegex(array<string|int, string> $var) : $this
Parameters
- $var : array<string|int, string>
Return values
$thissetInboundPassword()
Generated from protobuf field <code>string inbound_password = 7 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];</code>
public
setInboundPassword(string $var) : $this
Parameters
- $var : string
Return values
$thissetInboundUsername()
Username and password used to authenticate inbound and outbound SIP invites May be empty to have no Authentication
public
setInboundUsername(string $var) : $this
Generated from protobuf field string inbound_username = 6 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];
Parameters
- $var : string
Return values
$thissetKind()
Generated from protobuf field <code>.livekit.SIPTrunkInfo.TrunkKind kind = 14;</code>
public
setKind(int $var) : $this
Parameters
- $var : int
Return values
$thissetMetadata()
User-defined metadata for the Trunk.
public
setMetadata(string $var) : $this
Generated from protobuf field string metadata = 12 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];
Parameters
- $var : string
Return values
$thissetName()
Human-readable name for the Trunk.
public
setName(string $var) : $this
Generated from protobuf field string name = 11;
Parameters
- $var : string
Return values
$thissetOutboundAddress()
IP that SIP INVITE is sent too
public
setOutboundAddress(string $var) : $this
Generated from protobuf field string outbound_address = 3;
Parameters
- $var : string
Return values
$thissetOutboundNumber()
Number used to make outbound calls
public
setOutboundNumber(string $var) : $this
Generated from protobuf field string outbound_number = 4;
Parameters
- $var : string
Return values
$thissetOutboundPassword()
Generated from protobuf field <code>string outbound_password = 9 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];</code>
public
setOutboundPassword(string $var) : $this
Parameters
- $var : string
Return values
$thissetOutboundUsername()
Generated from protobuf field <code>string outbound_username = 8 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];</code>
public
setOutboundUsername(string $var) : $this
Parameters
- $var : string
Return values
$thissetSipTrunkId()
Generated from protobuf field <code>string sip_trunk_id = 1;</code>
public
setSipTrunkId(string $var) : $this
Parameters
- $var : string
Return values
$thissetTransport()
Transport used for inbound and outbound calls.
public
setTransport(int $var) : $this
Generated from protobuf field .livekit.SIPTransport transport = 13;
Parameters
- $var : int