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
|
|
@ -215,8 +215,7 @@ int main() {
|
|||
{
|
||||
// P-Access-Network-Info from `mmcli --location-get` (real-device
|
||||
// output shape; TAC/CI zero-padded wider than the 4/7 hex digits
|
||||
// PANI uses). The mcc+mnc+TAC+ECI concatenation was validated
|
||||
// against a stock modem's on-wire PANI; values here are synthetic.
|
||||
// PANI uses). Values here are synthetic.
|
||||
constexpr std::string_view Loc =
|
||||
" --------------------------\n"
|
||||
" 3GPP | operator mcc: 001\n"
|
||||
|
|
|
|||
Loading…
Reference in a new issue