SIPDomain
A SIP Domain resource describes a custom DNS hostname that can accept SIP traffic for your account. SIP requests to the domain are routed to Twilio and authenticated before TwiML is requested.
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.
| Column | Supported Operators |
| Sid | = |
For example:
SELECT * FROM SIPDomain WHERE Sid = 'SDabc123def456'
INSERT
DomainName is required for INSERT.
INSERT INTO SIPDomain(DomainName, Secure) VALUES ('example.sip.twilio.com', true)
UPDATE
UPDATE SIPDomain SET DomainName = 'updated.sip.twilio.com', Secure = false WHERE Sid = 'SDabc123def456'
DELETE
DELETE FROM SIPDomain WHERE Sid = 'SDabc123def456'
Columns
| Name | Type | ReadOnly | References | Description |
| Sid [KEY] | String | True |
A 34 character string that uniquely identifies this SIP Domain resource. | |
| AccountSid | String | True |
Accounts.Sid |
The unique ID of the Account responsible for this resource. |
| DomainName | String | False |
The unique address on Twilio to which SIP traffic is routed. Must contain letters, digits, and hyphens, and end with sip.twilio.com. | |
| FriendlyName | String | False |
A human-readable description of the SIP Domain, up to 64 characters. | |
| ApiVersion | String | True |
The API version used to process the call. | |
| AuthType | String | True |
The types of authentication mapped to the domain. Can be IP_ACL, CREDENTIAL_LIST, or both in a comma-delimited string. | |
| SipRegistration | Boolean | False |
Whether to allow SIP Endpoints to register with the domain to receive calls. | |
| Secure | Boolean | False |
Whether secure SIP is enabled for the domain. If enabled, TLS will be enforced and SRTP will be negotiated on all incoming calls. | |
| EmergencyCallingEnabled | Boolean | False |
Whether emergency calling is enabled for the domain. | |
| ByocTrunkSid | String | False |
ByocTrunk.Sid |
The SID of the BYOC Trunk resource associated with this SIP Domain. |
| EmergencyCallerSid | String | False |
The SID of the phone number used as the callback for emergency calls on the domain. | |
| VoiceUrl | String | False |
The URL Twilio calls when the domain receives a call. | |
| VoiceMethod | String | False |
The HTTP method used to call the VoiceUrl. Can be GET or POST. The allowed values are GET, POST. | |
| VoiceFallbackUrl | String | False |
The URL Twilio calls when an error occurs retrieving or executing the TwiML from the VoiceUrl. | |
| VoiceFallbackMethod | String | False |
The HTTP method used to call the VoiceFallbackUrl. Can be GET or POST. The allowed values are GET, POST. | |
| VoiceStatusCallbackUrl | String | False |
The URL Twilio calls to pass status parameters to your application when a call ends. | |
| VoiceStatusCallbackMethod | String | False |
The HTTP method used to call the VoiceStatusCallbackUrl. Can be GET or POST. The allowed values are GET, POST. | |
| 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. | |
| SubresourceUrisCredentialListMappings | String | True |
The URI of the CredentialListMappings subresource for this SIP Domain. | |
| SubresourceUrisIpAccessControlListMappings | String | True |
The URI of the IpAccessControlListMappings subresource for this SIP Domain. | |
| Uri | String | True |
The URI of this resource relative to https://api.twilio.com. |