Latest

The Trunk object

Attributes

trunk_id string

Unique identifier used to identify the inbound or outbound trunk.

trunk_domain string

The 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

This indicates the status of the trunk.
Possible values are enabled and disabled

secure boolean

Indicates if the trunk is secured with SRTP to encrypt the media of the call and TLS to encrypt the SIP signalling of the call.
Possible values: true and false

trunk_directionstring

Identicates the direction of the trunk.
Possible values are outbound and 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
}