Expand description
Learns the source addresses of peers we actually exchange call traffic
with, so OPTIONS keep-alive probes can be answered selectively (see
[options_response] in Config).
Only call-bearing traffic is learned — inbound INVITE requests and responses to our outbound INVITEs. Probes (OPTIONS) and registrations are deliberately ignored: learning them would let an arbitrary scanner teach the ACL to accept its own probes.
Structs§
- Peer
Address Learner - Transport-layer inspector recording call-traffic peer addresses.
- Shared
Learned Peers - Cloneable handle to the LRU table of learned peer addresses (peer IP -> instant of the last call traffic seen from it).
Constants§
- LEARNED_
PEERS_ CAPACITY - Default number of peer entries kept in the LRU table.