#[repr(C)]pub struct switch_caller_profile {Show 42 fields
pub username: *const c_char,
pub dialplan: *const c_char,
pub caller_id_name: *const c_char,
pub caller_id_number: *const c_char,
pub orig_caller_id_name: *const c_char,
pub orig_caller_id_number: *const c_char,
pub callee_id_name: *const c_char,
pub callee_id_number: *const c_char,
pub caller_ton: u8,
pub caller_numplan: u8,
pub network_addr: *const c_char,
pub ani: *const c_char,
pub ani_ton: u8,
pub ani_numplan: u8,
pub aniii: *const c_char,
pub rdnis: *const c_char,
pub rdnis_ton: u8,
pub rdnis_numplan: u8,
pub destination_number: *mut c_char,
pub destination_number_ton: u8,
pub destination_number_numplan: u8,
pub source: *const c_char,
pub chan_name: *mut c_char,
pub uuid: *mut c_char,
pub context: *const c_char,
pub profile_index: *const c_char,
pub flags: switch_caller_profile_flag_t,
pub originator_caller_profile: *mut switch_caller_profile,
pub originatee_caller_profile: *mut switch_caller_profile,
pub origination_caller_profile: *mut switch_caller_profile,
pub hunt_caller_profile: *mut switch_caller_profile,
pub times: *mut switch_channel_timetable,
pub old_times: *mut switch_channel_timetable,
pub caller_extension: *mut switch_caller_extension,
pub pool: *mut switch_memory_pool_t,
pub next: *mut switch_caller_profile,
pub direction: switch_call_direction_t,
pub logical_direction: switch_call_direction_t,
pub soft: *mut profile_node_t,
pub uuid_str: *mut c_char,
pub clone_of: *mut c_char,
pub transfer_source: *mut c_char,
}Expand description
\brief Call Specific Data
Fields§
§username: *const c_charThe Call’s User Name
dialplan: *const c_charThe name of the dialplan
caller_id_name: *const c_charCaller ID Name
caller_id_number: *const c_charCaller ID Number
orig_caller_id_name: *const c_charOriginal Caller ID Name
orig_caller_id_number: *const c_charOriginal Caller ID Number
callee_id_name: *const c_charCallee ID Name
callee_id_number: *const c_charCallee ID Number
caller_ton: u8§caller_numplan: u8§network_addr: *const c_charCaller Network Address (when applicable)
ani: *const c_charANI (when applicable)
ani_ton: u8§ani_numplan: u8§aniii: *const c_charANI II (when applicable)
rdnis: *const c_charRDNIS
rdnis_ton: u8§rdnis_numplan: u8§destination_number: *mut c_charDestination Number
destination_number_ton: u8§destination_number_numplan: u8§source: *const c_charchannel type
chan_name: *mut c_charchannel name
uuid: *mut c_charunique id
context: *const c_charcontext
profile_index: *const c_charprofile index
flags: switch_caller_profile_flag_tflags
originator_caller_profile: *mut switch_caller_profile§originatee_caller_profile: *mut switch_caller_profile§origination_caller_profile: *mut switch_caller_profile§hunt_caller_profile: *mut switch_caller_profile§times: *mut switch_channel_timetable§old_times: *mut switch_channel_timetable§caller_extension: *mut switch_caller_extension§pool: *mut switch_memory_pool_t§next: *mut switch_caller_profile§direction: switch_call_direction_t§logical_direction: switch_call_direction_t§soft: *mut profile_node_t§uuid_str: *mut c_char§clone_of: *mut c_char§transfer_source: *mut c_charTrait Implementations§
Source§impl Clone for switch_caller_profile
impl Clone for switch_caller_profile
Source§fn clone(&self) -> switch_caller_profile
fn clone(&self) -> switch_caller_profile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for switch_caller_profile
impl Debug for switch_caller_profile
impl Copy for switch_caller_profile
Auto Trait Implementations§
impl Freeze for switch_caller_profile
impl RefUnwindSafe for switch_caller_profile
impl !Send for switch_caller_profile
impl !Sync for switch_caller_profile
impl Unpin for switch_caller_profile
impl UnwindSafe for switch_caller_profile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more