A registered contact. Equivalent to NkSIP's #reg_contact{}.
index: identifies the contact for updates (scheme, transport, user, host and port).contact: the Contact URI, with itsexpiresparameter.updated: time of the last update (microseconds),expire: expiration time (seconds).call_idandcseqof the last REGISTER, to reject old ones.origin:{transport, ip, port}the REGISTER came from.path: the Path of the REGISTER (RFC 3327).
Summary
Types
@type origin() :: {atom(), :inet.ip_address(), :inet.port_number()}
Where a contact was registered from: transport, IP and port.
@type t() :: %Caracola.Registrar.Contact{ call_id: String.t(), contact: Caracola.URI.t(), cseq: non_neg_integer(), expire: integer(), index: term(), meta: map(), origin: origin() | nil, path: [Caracola.URI.t()], q: float(), updated: integer() }
A registered contact: its URI, expiration, priority (q), Call-ID, CSeq and origin.