pub struct BackOrderDIDCANParams {Show 15 fields
pub quantity: Option<i64>,
pub province: Option<String>,
pub ratecenter: Option<String>,
pub routing: Option<Routing>,
pub failover_busy: Option<Routing>,
pub failover_unreachable: Option<Routing>,
pub failover_noanswer: Option<Routing>,
pub voicemail: Option<String>,
pub pop: Option<i64>,
pub dialtime: Option<i64>,
pub cnam: Option<i64>,
pub callerid_prefix: Option<String>,
pub note: Option<String>,
pub billing_type: Option<DidBillingType>,
pub test: bool,
}Expand description
- Backorder DID (CANADA) from a specific ratecenter and province.
Parameters for Client::back_order_did_can (wire method backOrderDIDCAN).
Fields§
§quantity: Option<i64>Number of DIDs to be Ordered (Example: 3) (required)
province: Option<String>Canadian Province (values from getProvinces) (required)
ratecenter: Option<String>USA Ratecenter (Values from getRateCentersUSA) (required)
routing: Option<Routing>Main Routing for the DID (required)
failover_busy: Option<Routing>Busy Routing for the DID
failover_unreachable: Option<Routing>Unreachable Routing for the DID
failover_noanswer: Option<Routing>NoAnswer Routing for the DID
voicemail: Option<String>Voicemail for the DID (Example: 101)
pop: Option<i64>Point of Presence for the DID (Example: 5) (required)
dialtime: Option<i64>Dial Time Out for the DID (Example: 60 -> in seconds) (required)
cnam: Option<i64>CNAM for the DID (Boolean: 1/0) (required)
callerid_prefix: Option<String>Caller ID Prefix for the DID
note: Option<String>Note for the DID
billing_type: Option<DidBillingType>Billing type for the DID (1 = Per Minute, 2 = Flat) (required)
test: boolSet to true if testing how Orders work - Orders can not be undone - When testing, no Orders are made routing, failover_busy, failover_unreachable and failover_noanswer can receive values in the following format => header:record_id Where header could be: account, fwd, vm, sip, grp, ivr, sys, recording, queue, cb, tc, disa, none. Examples: account Used for routing calls to Sub Accounts You can get all sub accounts using the getSubAccounts function fwd Used for routing calls to Forwarding entries. You can get the ID right after creating a Forwarding with setForwarding or by requesting all forwardings entries with getForwardings. vm Used for routing calls to a Voicemail. You can get all voicemails and their IDs using the getVoicemails function sys System Options: hangup = Hangup the Call busy = Busy tone noservice = System Recording: Number not in service disconnected = System Recording: Number has been disconnected dtmf = DTMF Test echo = Sound Quality Test none Used to route calls to no action Examples: ‘account:100001_VoIP’ ‘fwd:1026’ ‘vm:101’ ‘none:’ ‘sys:echo’
Trait Implementations§
Source§impl Clone for BackOrderDIDCANParams
impl Clone for BackOrderDIDCANParams
Source§fn clone(&self) -> BackOrderDIDCANParams
fn clone(&self) -> BackOrderDIDCANParams
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more