Skip to main content

band sip trunk create

Opt the account in to SIP trunks

Synopsis​

Starts provisioning SIP trunks for the account. This is an opt-in because SIP Auth uses a limited number of ports.

--transport udp provisions a UDP trunk. --transport tls provisions a UDP trunk and a TLS trunk. An account can have one trunk per transport, so a UDP-only account can still request tls later.

The request is asynchronous: success means it was accepted (state PROVISIONING), not that the trunks are ready, and there is no status command yet. A 409 means the account already has a trunk of that transport, a request is already in progress, or account provisioning has not finished (exit 4).

band sip trunk create [flags]

Examples​

band sip trunk create --transport udp
band sip trunk create --transport tls --plain

Options​

-h, --help help for create
--transport string SIP trunk transport: udp or tls (required; tls also provisions a udp trunk)

Options inherited from parent commands​

--account-id string Bandwidth account ID (overrides config)
--environment string API environment: prod, test (overrides config)
--format string Output format: json or table (default "json")
--plain Simplified flat JSON output (recommended for scripts and agents)

SEE ALSO​