pub struct SetCallerIDFilteringParams {
pub filter: Option<String>,
pub callerid: Option<String>,
pub did: Option<String>,
pub routing: Option<Routing>,
pub failover_unreachable: Option<Routing>,
pub failover_busy: Option<Routing>,
pub failover_noanswer: Option<Routing>,
pub note: Option<String>,
}Expand description
- Updates a specific Caller ID Filtering if a filtering code is provided. - Adds a new Caller ID Filtering if no filtering code is provided.
Parameters for Client::set_caller_id_filtering (wire method setCallerIDFiltering).
Fields§
§filter: Option<String>ID for a specific Caller ID Filtering (Example: 18915 / Leave empty to create a new one)
callerid: Option<String>Caller ID that triggers the Filter (i = Not North American format, 0 = Anonymous, NPANXXXXXX, s or sb or sc = STIR/SHAKEN Attestation Level, p = All Phone Book, p:XXXX = Specific Phone Book Group) (required)
did: Option<String>DIDs affected by the filter (all, NPANXXXXXX) (required)
routing: Option<Routing>Route the call follows when filter is triggered (required)
failover_unreachable: Option<Routing>Route the call follows when unreachable
failover_busy: Option<Routing>Route the call follows when busy
failover_noanswer: Option<Routing>Route the call follows when noanswer
note: Option<String>Note for the Caller ID Filtering
Trait Implementations§
Source§impl Clone for SetCallerIDFilteringParams
impl Clone for SetCallerIDFilteringParams
Source§fn clone(&self) -> SetCallerIDFilteringParams
fn clone(&self) -> SetCallerIDFilteringParams
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more