pub fn for_each_peer_uuid_with<F: FnMut(&str)>(
entry: &LogEntry,
extra_var: impl Fn(&str) -> bool,
f: F,
)Expand description
Call f with every peer-leg UUID entry mentions, treating a variable as
peer-bearing when it is in PEER_UUID_VARS or extra_var accepts its name.
Walks only structured variable assignments — CHANNEL_DATA fields, standalone
variable lines, set/export/bridge executions. Scanning the raw message
and attached text instead would harvest shared-context variables (a FusionPBX
domain_uuid, say) and pull in every unrelated call in the same tenant.