Documentation

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
string

getInboundUsername()

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
string

getKind()

Generated from protobuf field <code>.livekit.SIPTrunkInfo.TrunkKind kind = 14;</code>

public getKind() : int
Return values
int

getMetadata()

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
string

getName()

Human-readable name for the Trunk.

public getName() : string

Generated from protobuf field string name = 11;

Return values
string

getOutboundAddress()

IP that SIP INVITE is sent too

public getOutboundAddress() : string

Generated from protobuf field string outbound_address = 3;

Return values
string

getOutboundNumber()

Number used to make outbound calls

public getOutboundNumber() : string

Generated from protobuf field string outbound_number = 4;

Return values
string

getOutboundPassword()

Generated from protobuf field <code>string outbound_password = 9 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];</code>

public getOutboundPassword() : string
Return values
string

getOutboundUsername()

Generated from protobuf field <code>string outbound_username = 8 [(.logger.redact) = true, (.logger.redact_format) = "<redacted ({{ .Size }} bytes)>"];</code>

public getOutboundUsername() : string
Return values
string

getSipTrunkId()

Generated from protobuf field <code>string sip_trunk_id = 1;</code>

public getSipTrunkId() : string
Return values
string

getTransport()

Transport used for inbound and outbound calls.

public getTransport() : int

Generated from protobuf field .livekit.SIPTransport transport = 13;

Return values
int

setInboundAddresses()

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
$this

setInboundNumbers()

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
$this

setInboundNumbersRegex()

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
$this

setInboundPassword()

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
$this

setInboundUsername()

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
$this

setKind()

Generated from protobuf field <code>.livekit.SIPTrunkInfo.TrunkKind kind = 14;</code>

public setKind(int $var) : $this
Parameters
$var : int
Return values
$this

setMetadata()

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
$this

setName()

Human-readable name for the Trunk.

public setName(string $var) : $this

Generated from protobuf field string name = 11;

Parameters
$var : string
Return values
$this

setOutboundAddress()

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
$this

setOutboundNumber()

Number used to make outbound calls

public setOutboundNumber(string $var) : $this

Generated from protobuf field string outbound_number = 4;

Parameters
$var : string
Return values
$this

setOutboundPassword()

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
$this

setOutboundUsername()

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
$this

setSipTrunkId()

Generated from protobuf field <code>string sip_trunk_id = 1;</code>

public setSipTrunkId(string $var) : $this
Parameters
$var : string
Return values
$this

setTransport()

Transport used for inbound and outbound calls.

public setTransport(int $var) : $this

Generated from protobuf field .livekit.SIPTransport transport = 13;

Parameters
$var : int
Return values
$this

        
On this page

Search results