{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/webex/main/json-schema/webex-trunk-post-schema.json", "title": "TrunkPost", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/webex-call-routing-api-openapi.yml#/components/schemas/TrunkPost", "type": "object", "required": [ "name", "locationId", "password", "trunkType" ], "properties": { "name": { "type": "string", "description": "A unique name for the trunk." }, "locationId": { "type": "string", "description": "ID of location associated with the trunk." }, "password": { "type": "string", "description": "A password to use on the trunk." }, "dualIdentitySupportEnabled": { "type": "boolean", "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": "#/$defs/TrunkType", "description": "Trunk Type associated with the trunk." }, "deviceType": { "type": "string", "description": "Device type assosiated with trunk." }, "address": { "type": "string", "description": "FQDN or SRV address. Required to create a static certificate-based trunk." }, "domain": { "type": "string", "description": "Domain name. Required to create a static certificate based trunk." }, "port": { "type": "number", "description": "FQDN port. Required to create a static certificate-based trunk." }, "maxConcurrentCalls": { "type": "number", "description": "Max Concurrent call. Required to create a static certificate based trunk." }, "pChargeInfoSupportPolicy": { "$ref": "#/$defs/PChargeInfoSupportPolicyType" } }, "$defs": { "PChargeInfoSupportPolicyType": { "type": "string", "enum": [ "DISABLED", "ASSERTED_IDENTITY", "CONFIGURABLE_CHARGE_NUMBER" ], "description": " * `DISABLED` - The P-Charge-Info header support policy is disabled.\n * `ASSERTED_IDENTITY` - The P-Charge-Info header is always included in outbound PSTN calls using Webex Calling primary number or location’s main number.\n * `CONFIGURABLE_CHARGE_NUMBER` - The P-Charge-Info header is included in outbound PSTN calls using the originating or redirecting Webex Calling entity's location charge number if set, else the entity's primary number if set and not toll-free, else the main number of the entity's location if set and not toll-free. If none of these are set or not toll-free, it uses the same number as the ASSERTED_IDENTITY option.\n" }, "TrunkType": { "type": "string", "enum": [ "REGISTERING", "CERTIFICATE_BASED" ], "description": " * `REGISTERING` - For Cisco CUBE Local Gateway.\n * `CERTIFICATE_BASED` - For Cisco Unified Border Element, Oracle ACME Session Border Controller, AudioCodes Session Border Controller, Ribbon Session Border Controller.\n" } } }