pub struct UpdateSipDomainParams {Show 15 fields
pub account_sid: String,
pub sid: String,
pub friendly_name: Option<String>,
pub voice_fallback_method: Option<String>,
pub voice_fallback_url: Option<String>,
pub voice_method: Option<String>,
pub voice_status_callback_method: Option<String>,
pub voice_status_callback_url: Option<String>,
pub voice_url: Option<String>,
pub sip_registration: Option<bool>,
pub domain_name: Option<String>,
pub emergency_calling_enabled: Option<bool>,
pub secure: Option<bool>,
pub byoc_trunk_sid: Option<String>,
pub emergency_caller_sid: Option<String>,
}
Expand description
struct for passing parameters to the method update_sip_domain
Fields§
§account_sid: String
The SID of the Account that created the SipDomain resource to update.
sid: String
The Twilio-provided string that uniquely identifies the SipDomain resource to update.
friendly_name: Option<String>
A descriptive string that you created to describe the resource. It can be up to 64 characters long.
voice_fallback_method: Option<String>
The HTTP method we should use to call voice_fallback_url
. Can be: GET
or POST
.
voice_fallback_url: Option<String>
The URL that we should call when an error occurs while retrieving or executing the TwiML requested by voice_url
.
voice_method: Option<String>
The HTTP method we should use to call voice_url
voice_status_callback_method: Option<String>
The HTTP method we should use to call voice_status_callback_url
. Can be: GET
or POST
.
voice_status_callback_url: Option<String>
The URL that we should call to pass status parameters (such as call ended) to your application.
voice_url: Option<String>
The URL we should call when the domain receives a call.
sip_registration: Option<bool>
Whether to allow SIP Endpoints to register with the domain to receive calls. Can be true
or false
. true
allows SIP Endpoints to register with the domain to receive calls, false
does not.
domain_name: Option<String>
The unique address you reserve on Twilio to which you route your SIP traffic. Domain names can contain letters, digits, and \"-\" and must end with sip.twilio.com
.
emergency_calling_enabled: Option<bool>
Whether emergency calling is enabled for the domain. If enabled, allows emergency calls on the domain from phone numbers with validated addresses.
secure: Option<bool>
Whether secure SIP is enabled for the domain. If enabled, TLS will be enforced and SRTP will be negotiated on all incoming calls to this sip domain.
byoc_trunk_sid: Option<String>
The SID of the BYOC Trunk(Bring Your Own Carrier) resource that the Sip Domain will be associated with.
emergency_caller_sid: Option<String>
Whether an emergency caller sid is configured for the domain. If present, this phone number will be used as the callback for the emergency call.
Trait Implementations§
Source§impl Clone for UpdateSipDomainParams
impl Clone for UpdateSipDomainParams
Source§fn clone(&self) -> UpdateSipDomainParams
fn clone(&self) -> UpdateSipDomainParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more