pub struct CreateCustomerDto {
pub number_e164_check_enabled: Option<bool>,
pub extension: Option<String>,
pub assistant_overrides: Option<AssistantOverrides>,
pub number: Option<String>,
pub sip_uri: Option<String>,
pub name: Option<String>,
}
Fields§
§number_e164_check_enabled: Option<bool>
This is the flag to toggle the E164 check for the number
field. This is an advanced property which should be used if you know your use case requires it. Use cases: - false
: To allow non-E164 numbers like +001234567890
, 1234
, or abc
. This is useful for dialing out to non-E164 numbers on your SIP trunks. - true
(default): To allow only E164 numbers like +14155551234
. This is standard for PSTN calls. If false
, the number
is still required to only contain alphanumeric characters (regex: /^\\+?[a-zA-Z0-9]+$/
). @default true (E164 check is enabled)
extension: Option<String>
This is the extension that will be dialed after the call is answered.
assistant_overrides: Option<AssistantOverrides>
These are the overrides for the assistant’s settings and template variables specific to this customer. This allows customization of the assistant’s behavior for individual customers in batch calls.
number: Option<String>
This is the number of the customer.
sip_uri: Option<String>
This is the SIP URI of the customer.
name: Option<String>
This is the name of the customer. This is just for your own reference. For SIP inbound calls, this is extracted from the From
SIP header with format \"Display Name\" <sip:username@domain>
.
Implementations§
Source§impl CreateCustomerDto
impl CreateCustomerDto
pub fn new() -> CreateCustomerDto
Trait Implementations§
Source§impl Clone for CreateCustomerDto
impl Clone for CreateCustomerDto
Source§fn clone(&self) -> CreateCustomerDto
fn clone(&self) -> CreateCustomerDto
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read more