Sign inGet started

bird voice trunks list

Usage

Codebeispiel
bird voice trunks list [flags]

Description

List the workspace's SIP trunks as a cursor page. Each carries the Bird-assigned domain the customer's equipment sends calls to. The ip_acls and allowed_api_key_ids fields control which calls are admitted; a trunk with both empty admits nothing. routing_configured is false until a carrier route is live for the workspace. Start here when diagnosing why calls are refused.
Returns a paginated JSON envelope; narrow with the filters below and page with --limit and --starting-after.

Examples

Codebeispiel
bird voice trunks list
bird voice trunks list | jq -r '.data[].id'
bird voice trunks list --limit 50 --starting-after <cursor>

Options

Pagination

NameDescription
--ending-beforeCursor from the prev_cursor or refresh_cursor field of a previous list response. Returns items immediately before the cursor position in the current sort order. prev_cursor returns the preceding page. refresh_cursor anchors at the first row of that response, which on a newest-first sort is how to fetch the items that have appeared since.
--limit <n>Maximum number of items to return per page.
--orderSort direction. Defaults to desc, which sorts from newest to oldest or largest to smallest, depending on the selected sort field. Possible values: asc, desc.
--sortField to sort by. Possible values: created_at.
--starting-afterCursor from the next_cursor field of a previous list response. Returns items immediately after the cursor position in the current sort order.

Filters

NameDescription
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird voice trunks createCreate a SIP trunk
bird voice trunks deleteDelete a SIP trunk
bird voice trunks getGet a SIP trunk
bird voice trunks updateUpdate a SIP trunk