imsd/interfaces
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf 7978b94502 messages: sign our requests with the public identity, not the IMSI IMPU
Every request we originated — INVITE, CANCEL, both ACKs, in-dialog BYE and
friends — put the IMSI-derived temporary IMPU in From. 3GPP allows that
identity in REGISTER only; the same lesson was learned for the reg-event
SUBSCRIBE (480) and never carried to calls. Most P-CSCFs overwrite From
and hid it; a Telia node did not, and a reporter's IMSI appeared on the
callee's screen (field report 2026-09-01). A strict P-CSCF may reject the
INVITE outright.

CallerId(): the registered sip: public identity (P-Associated-URI), else
the tel: one, and the temporary IMPU only before either is learned. One
helper feeds all five builders, so a dialog's From never drifts. As UAS the
dialog's local URI is the INVITE's To (RFC 3261 12.2.1.1), stored on the
Dialog, so an incoming call's BYE is signed the way the network addressed
us. The identity is persisted in the state file and restored on warm
resume, so a call placed before the refresh 200 re-learns it cannot fall
back. DUMP_SIP now also writes the last outgoing INVITE
(imsd-invite-out.raw): the one request a field log could never show.

The byte-pinned INVITE fixture moves to the tel: identity its test context
knows; new scenarios cover the sip: identity, the tel: fallback, the
pre-learning case and the UAS BYE.

Bench-verified on KPN 2026-09-08: outgoing INVITE From is the registered
sip: identity, call accepted and carried; caller ID at the far end
unchanged.
2026-09-08 20:37:47 +02:00
..
Imsd-Aka.cppm imsd 0.2.7 — initial public snapshot 2026-07-22 23:04:21 +02:00
Imsd-Engine.cppm messages: sign our requests with the public identity, not the IMSI IMPU 2026-09-08 20:37:47 +02:00
Imsd-Ipsec.cppm imsd 0.2.7 — initial public snapshot 2026-07-22 23:04:21 +02:00
Imsd-Messages.cppm messages: sign our requests with the public identity, not the IMSI IMPU 2026-09-08 20:37:47 +02:00
Imsd-Sdp.cppm engine/sdp: CODECS override for the codecs we offer and accept 2026-09-08 17:53:26 +02:00
Imsd-Sip.cppm imsd 0.2.7 — initial public snapshot 2026-07-22 23:04:21 +02:00
Imsd-Util.cppm imsd 0.2.7 — initial public snapshot 2026-07-22 23:04:21 +02:00
Imsd.cppm imsd 0.2.7 — initial public snapshot 2026-07-22 23:04:21 +02:00