imsd/packaging
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf 1d28063700
ims-pdn-up: discover the P-CSCF list once the PDN is up and hand it to imsd
With the netdev configured, the script runs imsd-pcscf against the
netdev's rmnet mux id (and the ims profile index when it knows one) and
hands the IPv6 addresses it prints to imsd as PCSCF_DISCOVERED= in
/run/imsd.env and gives the first — the daemon's fresh target — a host
route (the SA peer of a registration imsd resumes is routed by imsd itself,
as the configured address's arm already left it); IPv4 addresses and names
are logged and dropped (the PDN is IPv6-only), at most eight are handed
over, and nothing usable is logged with its cause and is not the
script's failure: imsd resumes a registration of its own when it can, else
says so and exits, and the restart runs discovery again. PCSCF= still wins and skips discovery; a list in it is refused.
The script does not read the variable from its environment: the unit
hands it the previous run's file, and a stale discovered value must not
pass for the admin's setting. The reader's path is the IMSD_PCSCF seam
the mock bench uses.

Tested: on the mock bench against this commit's script (the twelve 0.3.10
scenarios; this step's discovery arms S13–S17 and S19–S22, with S18 the
pre-existing non-IPv6 refusal; S55, the reader's rc-0 answer without an
address), and in builds of this series on the dev phone (KPN), whose PCO —
two IPv6 addresses, nothing else — reaches the plain found arm; the
configured skip, the bracketed refusal and, through the IMSD_PCSCF seam, the
reader's failure and its exit 2 ran on the phone too; the v4/FQDN line, the
eight-address cap, the IPv4-only and no-mux-id skips, the comma-list refusal
and the rc-0 arm on the mock only. On a tip build of this series (daemon
2ec1a02f62831edb; bench 40, 2026-10-13) a fresh registration reached a target
this script had not routed — the reader stubbed through the IMSD_PCSCF seam to
find none, the address in /etc/imsd.env as PCSCF_DISCOVERED= — over imsd's own
route, and a resume stood with the peer's route removed first.
2026-10-13 22:28:03 +02:00
..
80-imsd-ofono.preset ofonod: keep VoiceCallManager published across imsd restarts; enable on install 2026-09-20 16:58:42 +02:00
80-imsd.preset packaging: drop the aport; fp6-img installs the published apk 2026-09-02 16:08:21 +02:00
90_imsd-ofono.gschema.override ofonod: GNOME Calls backend over org.ofono for Phosh and GNOME Mobile 2026-09-20 16:07:46 +02:00
APKBUILD.binary 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
build-package.sh 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
ims-pdn-up.sh ims-pdn-up: discover the P-CSCF list once the PDN is up and hand it to imsd 2026-10-13 22:28:03 +02:00
imsd-dialerd.desktop ofonod: keep VoiceCallManager published across imsd restarts; enable on install 2026-09-20 16:58:42 +02:00
imsd-handover.sh packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
imsd-ofono-restart-calls.sh README, AGENTS.md: a short README for people, the detail in AGENTS.md 2026-10-06 14:01:33 +02:00
imsd-ofono.post-install packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
imsd-ofono.post-upgrade packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
imsd-ofonod.service imsd, imsd-ofonod: let polkit decide call control, not the account name 2026-10-06 14:01:33 +02:00
imsd-systemd.post-install packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
imsd-systemd.post-upgrade packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
imsd.post-install packaging: restart imsd and imsd-ofonod on upgrade 2026-10-06 14:01:33 +02:00
imsd.post-upgrade ipsec, imsd, ims-pdn-up: the SA reader and the holds key compare in canonical form; LOCAL is canonicalised, PCSCF= accepted in RFC 5952 §4 form only 2026-10-13 22:28:02 +02:00
imsd.service ims-pdn-up: discover the P-CSCF list once the PDN is up and hand it to imsd 2026-10-13 22:28:03 +02:00
make-bin-tarball.sh 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
make-sysroot.sh 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
net.catcrafts.IMS1.conf imsd, imsd-ofonod: let polkit decide call control, not the account name 2026-10-06 14:01:33 +02:00
net.catcrafts.IMS1.policy imsd, imsd-ofonod: let polkit decide call control, not the account name 2026-10-06 14:01:33 +02:00
org.kde.modem.daemon.desktop packaging: drop the aport; fp6-img installs the published apk 2026-09-02 16:08:21 +02:00
org.ofono.conf imsd, imsd-ofonod: let polkit decide call control, not the account name 2026-10-06 14:01:33 +02:00