{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/TrunkPost", "title": "TrunkPost", "type": "object", "required": [ "name", "locationId", "password", "trunkType" ], "properties": { "name": { "type": "string", "example": "trunkName", "description": "A unique name for the trunk." }, "locationId": { "type": "string", "example": "Y2lzY29zcGFyazovL3VzL1JPVVRFX0dST1VQLzA1OWEyNzNlLWJiYjAtMTFlYy04NDIyLTAyNDJhYzEyMDAwMg", "description": "ID of location associated with the trunk." }, "password": { "type": "string", "example": "password", "description": "A password to use on the trunk." }, "dualIdentitySupportEnabled": { "type": "boolean", "example": true, "description": "Dual Identity Support setting impacts the handling of the From header and P-Asserted-Identity header when sending an initial SIP `INVITE` to the trunk for an outbound call." }, "trunkType": { "$ref": "#/components/schemas/TrunkType", "description": "Trunk Type associated with the trunk." }, "deviceType": { "type": "string", "example": "Cisco Unified Border Element", "description": "Device type assosiated with trunk." }, "address": { "type": "string", "example": "lgw1.london", "description": "FQDN or SRV address. Required to create a static certificate-based trunk." }, "domain": { "type": "string", "example": "acme.corp", "description": "Domain name. Required to create a static certificate based trunk." }, "port": { "type": "number", "example": 5000, "description": "FQDN port. Required to create a static certificate-based trunk." }, "maxConcurrentCalls": { "type": "number", "example": 1000, "description": "Max Concurrent call. Required to create a static certificate based trunk." }, "pChargeInfoSupportPolicy": { "$ref": "#/components/schemas/PChargeInfoSupportPolicyType" } } }