pub struct CallInfo {Show 24 fields
pub id: u32,
pub system: u16,
pub short_name: String,
pub site: String,
pub talkgroup: u32,
pub talkgroup_ota: Option<u32>,
pub talkgroup_tag: String,
pub freq_hz: u64,
pub tdma_slot: Option<u8>,
pub analog: bool,
pub encrypted: bool,
pub algid: Option<u8>,
pub key_id: Option<u16>,
pub decrypted: bool,
pub emergency: bool,
pub duplex: bool,
pub packet: bool,
pub priority: u8,
pub recording: bool,
pub reason: Option<String>,
pub start_time: f64,
pub units: Vec<u32>,
pub sources: Vec<CallSource>,
pub patched_talkgroups: Vec<u32>,
}Expand description
A call as it starts or ends.
Fields§
§id: u32Unique while the recorder runs (Trunk Recorder’s call_num).
system: u16SystemInfo::index: for this run only; short_name is the system’s identity.
short_name: String§site: StringThe site it is on (its name; a system of one site’s is its short name; empty for a conventional system’s call). A call heard on several sites is told once, by the site that had it first.
talkgroup: u32§talkgroup_ota: Option<u32>Conventional P25 / DMR / NXDN: the talkgroup the air named (this
recorder’s addition, like site). talkgroup is what the call is
filed under, which a channel row may set to another number; none
for analog, trunked calls, or a call whose air named none.
talkgroup_tag: StringThe talkgroup’s alpha tag, when known.
freq_hz: u64§tdma_slot: Option<u8>The TDMA slot (0 / 1) of a call on a two-slot channel: P25 Phase 2 or DMR.
analog: bool§encrypted: bool§algid: Option<u8>P25: the cipher an encrypted call’s voice named, once heard: the algorithm ID (0x84 AES-256, 0xAA ADP, …) and key ID.
key_id: Option<u16>§decrypted: boolSome of its encrypted voice was decrypted (the system had the key).
emergency: bool§duplex: boolFull duplex, packet mode and priority (P25’s service options: 1 lowest, 4 the default, 7 highest; 0 not given), as the grant said.
packet: bool§priority: u8§recording: boolRecorded (false: only followed, or not recorded — see reason).
reason: Option<String>Why it isn’t recorded: “encrypted”, “unknown_tg”, “no_recorder”, “no_source”, …
start_time: f64Unix seconds.
units: Vec<u32>Radios heard on the call so far.
sources: Vec<CallSource>The same radios, in order, with what each one’s transmission said of itself.
patched_talkgroups: Vec<u32>Talkgroups patched with this one so far, its own included, ascending; empty when it isn’t patched.