Create a trunk
Creates a new trunk.
API Endpoint
Arguments
name string | Name of the trunk. |
trunk_status string | Status of the trunk. |
secureboolean | Indicates whether the trunk is secured. Plivo uses SRTP to encrypt the call media and TLS to encrypt the SIP signaling. |
trunk_direction string | Indicates the direction of the trunk. |
ipacl_uuid string</span><span id="or">conditional | Unique identifier of an IP access control list. Specified for outbound trunk creation |
credential_uuidstring</span><span id="or">conditional | Unique identifier of a credentials list. Specified for outbound trunk creation. |
primary_uri_uuid string</span><span id="or">conditional | Unique identifier of the origination URI used as a primary URI. Specified for inbound trunk creation. |
fallback_uri_uuidstring | Unique identifier of the origination URI used as a fallback URI. |
Returns
If successful, returns “Trunk created successfully.” in the message field along with a unique trunk_id.