Create PSTN Voice IN Trunk
create_pstn_trunkCreate a PSTN / call-forwarding Voice IN Trunk for the authenticated customer: inbound calls to the assigned DIDs are forwarded to destination — a phone number in digits, e.g. "48452006332". Forwarding is billed per minute, so this tool is confirmation-gated: the preview shows the forwarding rate (amounts are in USD) — show the price to the user before confirming. If the destination has no rate, the trunk cannot be created. For a SIP trunk use create_sip_trunk; for a phone.systems™ trunk use create_phone_systems_trunk.
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. | |
| description | No | Description of the Voice IN Trunk. | |
| destination | Yes | Phone number to forward calls to, digits only (e.g. "48452006332"). | |
| 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. | |
| confirmation_token | No | Leave empty on the first call — it returns the per-minute rate preview + a confirmation_token and creates nothing; re-call with the token to create the trunk. | |
| src_number_list_id | No | Optional Voice IN Number List UUID (from list_voice_in_number_lists) to apply as the caller-ID (source number) filter on this trunk. |