Outbound Trunk Object
JSON:API object with type voice_out_trunks.
Authentication data is returned only inside data.attributes.authentication_method.
Request
URI Parameters
Name |
Type |
Is Required? |
Description |
|---|---|---|---|
id |
|
Yes |
Unique identifier of the outbound trunk. |
Data Attributes
Name |
Type |
Description |
|---|---|---|
name |
|
The outbound trunk name. |
external_reference_id |
|
Optional identifier for the outbound trunk in the customer’s external system. Maximum length is 100 characters. |
allowed_rtp_ips |
Array of |
Allowed RTP IP addresses for media traffic. |
on_cli_mismatch_action |
|
The action applied when the CLI does not match the allowed DID list. Possible values: |
capacity_limit |
|
The capacity limit of the outbound trunk. |
allow_any_did_as_cli |
|
When set to |
status |
|
The status of the outbound trunk. Possible values: |
threshold_reached |
|
Indicates whether the 24-hour threshold amount has been reached. |
threshold_amount |
|
The 24-hour threshold limit. |
default_dst_action |
|
The default destination action. Possible values: |
dst_prefixes |
Array of |
The destination prefixes allowed or rejected based on |
emergency_enable_all |
|
When set to |
media_encryption_mode |
|
Media encryption mode. Possible values: |
callback_url |
|
The callback URI. Can be |
force_symmetric_rtp |
|
Enables symmetric RTP / COMEDIA mode. |
rtp_ping |
|
When enabled, DIDWW sends an empty RTP packet after call establishment. |
rtp_timeout |
|
Disconnects the call if RTP packets do not arrive within the specified time. Supported values are from 30 to 600 seconds. |
created_at |
|
The date and time when the outbound trunk was created. |
authentication_method |
|
Authentication method object. See Authentication Method. |
Authentication Method
The outbound trunk authentication is returned in the authentication_method attribute.
Supported authentication method types:
credentials_and_ip- uses SIP credentials together with allowed IP addresses.ip_only- uses allowed IP addresses only.twilio- uses a Twilio Account SID for authentication.
Authentication Method Attributes by Type
The following attributes are part of the authentication_method object:
Name |
Type |
Description |
|---|---|---|
allowed_sip_ips |
Array of |
The allowed originating SIP IPs. |
tech_prefix |
|
An optional technical prefix added before the destination number. The maximum length is 8 characters and only digits and |
username |
|
The digest authentication username. |
password |
|
The digest authentication password. |
Name |
Type |
Description |
|---|---|---|
allowed_sip_ips |
Array of |
The allowed originating SIP IPs. |
tech_prefix |
|
An optional technical prefix added before the destination number. The maximum length is 8 characters and only digits and |
Name |
Type |
Description |
|---|---|---|
twilio_account_sid |
|
The Twilio Account SID. It is a 34-character identifier of the Twilio account. |
Object Relationships
Name |
Type |
Description |
|---|---|---|
dids |
to-many |
|
emergency_dids |
to-many |
DIDs assigned for emergency calling on the outbound trunk. |