messages, imsd: P-Access-Network-Info in responses and in requests within a dialog
imsd named the serving cell in its REGISTERs, the reg-event SUBSCRIBE, an INVITE and a MESSAGE. TS 24.229 5.1.2A.1.1 and 5.1.2A.2 have a UE insert the header into a request within a dialog as well, and into a response within a dialog, to a request for a dialog and to a standalone method: not into a CANCEL nor into a response to one, and into an ACK at its choice. A PRACK and a BYE carry it now, and every response imsd builds but a 100 Trying, the 200 to a CANCEL and the transport's 400 to a request cut short. The server ports (the protected ports' TCP listeners and UDP sockets) take a request from any source (AGENTS.md §12), and the header is the phone's cell. What they send in answer keeps it only on the two paths of the SA pair the shell has on record, and loses it anywhere else. Tested: the suites, and the daemon of this commit on the workstation against a stand-in network that asks it from both sides of those paths (the fp6 journal's 2026-12-04-pani-in-dialog capture, bench/), and on the dev phone on KPN, where its answers to a text's two requests and a call's 180 and 200 carried the header inside the SA pair (the journal's 2026-12-04-imsd-1.2.7-range-on-dev-phone capture).
This commit is contained in:
parent
6d05aaed0d
commit
a65724a252
11 changed files with 460 additions and 38 deletions
|
|
@ -283,8 +283,7 @@ export namespace imsd::aka {
|
|||
// "3GPP-E-UTRAN-FDD;utran-cell-id-3gpp=<mcc><mnc><tac:4hex><eci:7hex>"
|
||||
// (TS 24.229 7.2A.4: E-UTRAN cell id = MCC + MNC as broadcast + 16-bit
|
||||
// TAC + 28-bit ECI; mmcli prints both hex fields zero-padded wider, so
|
||||
// take the low digits). The stock modem sends exactly this shape in
|
||||
// every REGISTER/INVITE — the TAS reads it to see which access the UE
|
||||
// take the low digits). The TAS reads it to see which access the UE
|
||||
// is reachable on. FDD is a constant: every KPN LTE band in use is FDD
|
||||
// and MM does not expose the duplex mode. nullopt when the fields are
|
||||
// missing or zero (no serving cell) — callers then omit the header
|
||||
|
|
|
|||
Loading…
Reference in a new issue