trunk_id string |
unique id of the trunk. |
trunk_domain string |
unique domain of the trunk which is used for making calls. |
name string |
Name of the trunk defined by the user. |
type string |
Either inbound or outbound (Based on Trunk) |
enabled boolean |
If true trunk is enabled , if false trunk is disabled |
secure boolean |
If true, Secure Real-Time Protocol (SRTP) will be used to encrypt the media leg of the call, and Transport Layer Security (TLS) will be used to encrypt SIP signaling leg of the call. else it will be used RTP and UDP |
uri_uuid optional |
Unique id of the primary uri |
fallback_uri_uuid string |
Unique id of the secondary/fall back uri |
credential uuid string |
Unique id of the credential name . |
ip_addresses_uuidstring |
Unique id of the ipaddress name. |
{
"data": [
{
"trunk_id": "16374544154720650",
"trunk_domain": "16374544154720650.zt.plivo.com",
"name": "Trunk-1",
"type":"inbound",
"enabled": true / false,
"secure": true / false,
"uri_uuid": "1234567xxx",
"fallback_uri_uuid": "1234567xxx",
"credential_uuid" :"",
"ip_addresses_uuid": ""
},
{
"trunk_id": "16374544154720650",
"trunk_domain": "16374544154720650.zt.plivo.com",
"name": "Trunk-2",
"type":"outbound",
"enabled": true / false,
"secure": true / false,
"credential_uuid": "1234567xxx",
"ip_addresses_uuid": "1234567xxx",
"uri_uuid": "",
"fallback_uri_uuid": "9869697xxxx"
},
]
}