Latest

The Trunk object

Attributes

trunk_id string

Unique identifier used to identify the inbound or outbound trunk.

trunk_domain string

Unique address you reserve on Plivo to which you route your SIP traffic.

name string

Friendly name you assign to the trunk.

trunk_status string

Status of the trunk.

Allowed values: enabled, disabled

secure boolean

Indicates whether the trunk is secured with SRTP to encrypt the media of the call and TLS to encrypt SIP signaling.

Allowed values: true, false

trunk_directionstring

Direction of the trunk.

Allowed values: outbound, inbound

ipacl_uuid string

Unique identifier of IP access control list.

credential_uuidstring

Unique identifier of credentials list.

primary_uri_uuidstring

Unique identifier of origination URI used as a primary URI.

fallback_uri_uuidstring

Unique identifier of origination URI used as a fallback URI.

Response

{
  "name": "trunk_name_1",
  "trunk_id": "21784177241578",
  "trunk_domain": "21784177241578.zt.plivo.com"
  "trunk_status": "enabled",
  "secure": true,
  "trunk_direction": "outbound",
  "ipacl_uuid": "90b6eb07-796c-4d86-a4fd-44ed11667ddb",
  "credential_uuid": "eb07-796c-4d86-a4fd-44ed11667ddb",
  "primary_uri_uuid": null,
  "fallback_uri_uuid": null
}