Create phone.systems™ Voice IN Trunk
create_phone_systems_trunkCreate a phone.systems™ (PBX) Voice IN Trunk for the authenticated customer, routing the assigned DIDs' inbound calls to the customer's phone.systems™ cloud PBX. Requires the phone.systems™ feature to be enabled on the account (otherwise an error is returned and nothing is created). No host or destination is needed. For a SIP trunk use create_sip_trunk; for a PSTN call-forwarding trunk use create_pstn_trunk. Returns the created trunk id and key attributes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pop | No | DIDWW Point of Presence the trunk is served from. Omit to let DIDWW pick. | |
| name | Yes | Friendly name of the Voice IN Trunk (must be unique for the customer). | |
| weight | No | Load-balancing weight among trunk-group members of the same priority; higher is preferred (default 65535). | |
| priority | No | Priority of this trunk; DIDWW contacts the lowest-numbered priority first. Range 0-65535. | |
| cli_format | No | Format of the caller ID sent to the customer equipment (default e164). | |
| cli_prefix | No | Prefix prepended to the caller ID. Letters, digits, "+" and "#" only, up to 7 characters. | |
| cnam_lookup | No | Optional. Enable CNAM lookup on the trunk (default false/disabled). | |
| description | No | Description of the Voice IN Trunk. | |
| capacity_limit | No | Maximum number of simultaneous calls for the Voice IN Trunk. | |
| trunk_group_id | No | Optional Voice IN Trunk Group UUID to assign the trunk to. | |
| ringing_timeout | No | Seconds to wait for a 200 OK after a 18x ringing response before ending the routing attempt with the "Ringing timeout" disconnect code. Omit to use the platform default. |