imsd/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf 0717c3008a
messages: the SIP MESSAGE of SMS over IP, +g.3gpp.smsip behind a context flag
TS 24.341 5.3.1.2 has a submission travel as a SIP MESSAGE to the
service centre's PSI with the RP-DATA as an application/vnd.3gpp.sms
body, and 5.3.2.4 the delivery report as one to the IP-SM-GW with
In-Reply-To naming the delivered MESSAGE: BuildMessageSms builds both,
out of dialog over the registration's Route with the same
P-Preferred-Identity, P-Access-Network-Info and sec-agree headers as the
INVITE and the reg-event SUBSCRIBE, and no Contact (RFC 3428 4). The REGISTER Contact carries +g.3gpp.smsip only
when Context::smsOverIp says so — the tag routes terminating short
messages to imsd (the 2026-10-17 bench's mt-last-message-in.raw), which
at this commit still answers them 200 and logs them — after the ICSI.
BuildResponse builds a final for an inbound request outside a call (the
488 of 5.3.1.2 for a report that is not ours, or a 200); the shell does
not call it in this commit — it still answers a MESSAGE with
BuildResponse200.

tests/Messages pins the Contact with the tag, the MESSAGE's headers and
body bytes both ways, the absence of Contact, and the 488.

BuildResponse echoes each Via: line and the To, with a tag added unless
the To already holds `tag=` (RFC 3261 8.2.6.2 has a UAS add a tag to a
To that carries none); tests/Messages pins the 488 and a 200.

ScPsi gives the service centre's PSI from its international number
(5.3.1.2 NOTE 1: the SC's E.164 number as a SIP URI with user=phone, or
a tel URI; the home domain is imsd's choice); RuriFor's dialled-number guess, whose trunk 0 is Dutch, has no
place there. Pinned in tests/Messages.
2026-11-19 16:43:15 +01:00
..
Aka imsd 0.2.7 — initial public snapshot 2026-07-22 23:04:21 +02:00
Engine sdp, engine, imsd, media: the far end's telephone-event packets are played as the tones they stand for 2026-10-16 22:25:49 +02:00
Ipsec ipsec, engine, imsd: the state file records the P-CSCF and a resume follows the kernel's SA peer 2026-10-13 22:28:02 +02:00
Messages messages: the SIP MESSAGE of SMS over IP, +g.3gpp.smsip behind a context flag 2026-11-19 16:43:15 +01:00
Qmi qmi, imsd-pcscf: read the ims PDN's P-CSCF list from the modem's runtime settings 2026-10-13 22:28:02 +02:00
Sdp sdp, engine, imsd, media: the far end's telephone-event packets are played as the tones they stand for 2026-10-16 22:25:49 +02:00
Sip sip: a header is read from the header section only 2026-11-19 16:43:15 +01:00
Sms sms: the short message codecs of TS 23.038, 23.040 and 24.011, and EF_SMSP 2026-11-19 16:43:15 +01:00
Util util: canonical IPv6 text (RFC 5952 §4) and an address-list parser 2026-10-13 22:28:02 +02:00