ODBC Driver for Twilio

Build 26.0.9770

ByocTrunk

A ByocTrunk resource describes a trunk that can be configured to send and receive voice traffic to and from a PSTN Carrier via Bring Your Own Carrier (BYOC).

Table-Specific Information

SELECT

The driver uses the Twilio API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client-side within the driver.

ColumnSupported Operators
Sid=

For example:

SELECT * FROM ByocTrunk WHERE Sid = 'BYabc123def456'

INSERT


INSERT INTO ByocTrunk(FriendlyName) VALUES ('MyTrunk')

UPDATE


UPDATE ByocTrunk SET FriendlyName = 'UpdatedTrunk' WHERE Sid = 'BYabc123def456'

DELETE


DELETE FROM ByocTrunk WHERE Sid = 'BYabc123def456'

Columns

Name Type ReadOnly References Description
Sid [KEY] String True

The unique string that identifies the BYOC Trunk resource.

AccountSid String True

Accounts.Sid

The SID of the Account that created the BYOC Trunk resource.

FriendlyName String False

A descriptive string that you create to describe the resource. It is not unique and can be up to 255 characters long.

VoiceUrl String False

The URL Twilio calls using the voice_method when the BYOC Trunk receives a call.

VoiceMethod String False

The HTTP method used to call voice_url. Can be GET or POST.

The allowed values are GET, POST.

VoiceFallbackUrl String False

The URL Twilio calls when an error occurs while retrieving or executing the TwiML requested from voice_url.

VoiceFallbackMethod String False

The HTTP method used to call voice_fallback_url. Can be GET or POST.

The allowed values are GET, POST.

StatusCallbackUrl String False

The URL Twilio calls to pass status parameters such as call ended to your application.

StatusCallbackMethod String False

The HTTP method used to call status_callback_url. Can be GET or POST.

The allowed values are GET, POST.

CnamLookupEnabled Boolean False

Whether Caller ID Name (CNAM) lookup is enabled for the trunk. If enabled, inbound calls from the US and Canada automatically perform a CNAM Lookup.

ConnectionPolicySid String False

ConnectionPolicy.Sid

The SID of the Connection Policy that Twilio will use when routing traffic to your communications infrastructure.

FromDomainSid String False

SIPDomain.Sid

The SID of the SIP Domain to use in the From header of originating calls sent to your SIP infrastructure.

DateCreated Datetime True

The date and time in GMT that the resource was created specified in RFC 2822 format.

DateUpdated Datetime True

The date and time in GMT that the resource was last updated specified in RFC 2822 format.

Url String True

The absolute URL of the resource.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9770