Commit Graph
42 Commits
Author SHA1 Message Date
yibaiba 518f0f87f1 docs: refresh README screenshots with live VoWiFi
Show Wi-Fi Calling connected on the dashboard and include device health plus identity on the devices page.
2026-09-08 12:43:59 +08:00
yibaiba 8979cd211a fix(vowifi): support protected UDP SMS downlink recovery 2026-09-08 11:47:55 +08:00
yibaiba 54afff1680 fix(vowifi): rotate SOCKS5 ePDG candidates after address rejection 2026-09-08 10:12:33 +08:00
yibaiba d58e055285 fix(vowifi): clean up address rejections and delay tunnel retries 2026-09-08 09:25:25 +08:00
yibaiba b43d49c211 fix(vowifi): scope recovery cleanup to the owning attempt 2026-09-08 08:00:27 +08:00
yibaiba d6a5fb9872 docs: refresh README screenshots for the navy-light theme
Use dummy proxy inventory data so live node addresses are not published.
2026-09-08 07:45:52 +08:00
yibaiba 21ec10b89f fix(vowifi): recover failed listeners and trace protected downlink 2026-09-08 00:14:51 +08:00
yibaiba 5f52588a3c fix(vowifi): preserve downlink recovery rounds across runtime rebuilds 2026-09-07 23:36:49 +08:00
yibaiba 1bebb8a7f0 fix(vowifi): recover stalled protected downlink paths 2026-09-07 16:24:28 +08:00
yibaiba 7bbb166d31 fix(vowifi): retire stale subscription attempts after termination 2026-09-07 11:44:07 +08:00
yibaiba c52c1fac15 fix(vowifi): process accepted NOTIFY updates in order 2026-09-07 11:14:26 +08:00
yibaiba 7b4dc79193 fix(vowifi): align subscription state and NOTIFY lifecycle 2026-09-07 10:55:28 +08:00
yibaiba 2d8f4ed04a fix(vowifi): preserve IMS subscription lifecycle across recovery 2026-09-07 10:09:10 +08:00
yibaiba 775c670ee8 fix(vowifi): retain recovery state until registration and downlink succeed 2026-09-07 03:31:55 +08:00
yibaiba 238a76bc7b fix(vowifi): separate P-CSCF preferences from retry deadlines 2026-09-07 00:14:24 +08:00
yibaiba 41a89764e4 fix(vowifi): scope port-s recovery grace by carrier and close reason 2026-09-06 20:46:19 +08:00
yibaiba 4b349b278e fix: align P-CSCF recovery backoff 2026-09-05 02:28:22 +08:00
yibaiba 7a1ca2e57e fix: harden VoWiFi flow recovery 2026-09-05 02:07:29 +08:00
yibaiba d8a94f6348 fix(ims): preserve Vodafone UK P-CSCF penalties 2026-09-04 19:35:33 +08:00
yibaibaandCursor f3d5aaf231 feat(vowifi): add Hotlink, AIS, Smart, Globe, KPN and MTN presets
Match home PLMN for travel eSIMs that publicly offer 3GPP Wi-Fi Calling, without guessing balance shortcodes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 15:46:07 +08:00
yibaibaandCursor c1ddcf1864 feat(vowifi): add common travel eSIM carrier presets
Match popular voice eSIMs by home PLMN, including EE, Lycamobile, Japan MNOs, CMHK, and Estonia Elisa for 乌龟卡.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 15:32:17 +08:00
yibaiba bf433ea45b fix(volte): skip unusable UAC and keep China SIMs on native IMS
DJI/Baiwang USB audio enumerates but opening PCM kills QMI on the
same composite. Skip QPCMV and ALSA there; QPCMV failure also skips
PCM open. Working UAC is unchanged. China MCC 460/461 force native
VoLTE. Rebuild QMI when the proxy socket dies during a native call.
2026-09-01 14:22:20 +08:00
yibaiba 5d8f878ae5 docs(vowifi): match alignment matrix to shipped conference and Replaces
Why: CHILD-08 closed while the matrix still said DEV-27, conference/ECT, and inbound Replaces were unfinished.
Why this works: the hold/multi-call row and the conference/ECT row now name the shipped functions and tests; CAPABILITIES.md moves those paths out of not-implemented.
Remaining: phone UI has switch but no merge/transfer endpoints; Ut page has no desktop/mobile browser evidence; emergency originating stays disabled.
2026-08-31 15:56:46 +08:00
yibaiba c01e6e5126 feat(ut): configure simservs through XCAP instead of USSI
Why: IR.92 2.3.2 requires Ut/XCAP for call forwarding, identity restriction, and barring; MMI codes are not Ut.
Why this works: GET/PUT simservs uses If-Match and one service per request; 404 retries an alternate XUI; missing XCAP PDN returns a visible error.
Remaining: production still needs the XCAP PDN transport wired to the second SWu; browser evidence was not collected in this session.
2026-08-31 14:12:18 +08:00
yibaiba d86a2448be fix(swu): overlap IKE reauth on a new SA
Why: RFC 7296 2.8.3 requires a new IKE_SA_INIT/IKE_AUTH while the old SA still forwards; the host was stopping the runtime first.
Why this works: OnReauthNeeded keeps the old SA; runUntilInterrupted starts a successor with FastReauthID and no INITIAL_CONTACT, then Deletes the old SA only after the new IKE and Child SA exist.
Remaining: cellular TunnelFactory/startCurrent still recycles the instance sequentially; second PDN is DEV-20.
2026-08-31 13:55:15 +08:00
yibaiba 40aa554fd3 docs(vowifi): record IR.51 v10 gaps and make Privacy configurable
Why: the alignment doc still overstated ePDG discovery, hold, emergency, and supplementary services, and INVITE always sent Privacy: none plus a fake History-Info.
Why this works: the matrix now splits construction vs production disable vs unimplemented; OIR can set Privacy: id; History-Info is omitted on ordinary originating INVITE.
Remaining: XCAP, conference, ECT, second SWu, and overlapping IKE reauth stay unimplemented.
2026-08-31 13:29:47 +08:00
yibaiba 3ca09e375d fix(ims): keep forked early dialogs until 199 or 2xx
Why: TS 24.229 5.1.3 requires independent early dialogs; latest-wins cannot apply 199 to one fork without killing the others.
Why this works: 18x with a new To-tag retains a second dialog, and 199 closes only that To-tag.
Remaining: 2xx still promotes the matching dialog; remaining forks are cleaned by existing final-response paths.
2026-08-31 13:17:16 +08:00
yibaiba 192fe688c8 docs(ims): keep 503 failover when Retry-After exceeds Timer B
Why: IR.92 2.2.1 only mandates a new initial registration when 503 has no Retry-After; waiting longer than Timer B would strand an originating INVITE.
Why this works: the existing five-branch decision is unchanged and now documented, including the extra long-Retry-After failover as deliberate tolerance.
Remaining: none for DEV-11.
2026-08-31 13:11:32 +08:00
yibaiba 7c6cdab3be fix(ims): omit synthetic CNI and document PANI BSSID deviation
Why: TS 24.229 R.3.1.1A forbids inventing a cell id, and 7.2A.4.3 NOTE 3 wants a real AP BSSID that this host does not have.
Why this works: default Cellular-Network-Info is now empty; FormatCellularNetworkInfo is only for a real TAC/CellID; PANI still uses a stable local MAC unless a BSSID is supplied, and the alignment doc records the deviation.
Remaining: none for DEV-06/DEV-07 unit scope.
2026-08-31 13:01:56 +08:00
yibaiba 09c7ef0bb4 fix(vowifi): align IMS precondition signaling 2026-08-31 10:25:29 +08:00
yibaiba f1a5994671 fix(device): ignore stale SIM snapshot and UIM IMSI errors
Why: after swapping CTE for a China SIM, QMI still reported inserted from the old snapshot, and GetIMSI failure blocked turning off airplane. Reboots could not enumerate the new card.

Why this works: IsSimInserted live-queries UIM when the snapshot has no IMSI/ICCID. Lebara RF lock still applies from cache or 23487 history; a UIM error without Lebara evidence no longer fail-closes flight-mode off. QSIMDET stays 0,0 and CFUN=1,1 is not automatic.

Remaining: physical SIM insert still has no UIM resample path; native VoLTE Enable is not on 179 yet.
2026-08-24 14:10:57 +08:00
yibaiba 74539c0994 refactor(volte): collapse phone policy and share G.711
Why: quality review found triplicate radio policy, untyped native_volte, duplicated mu-law, and IMS lifecycle buried in manager.go.

Why this works: camped modes share PhoneModeCampsOnCell and applyPhoneRadioPolicy; DeviceStatus.NativeVoLTE is volte.Status; PCM bridge calls phone G.711; IMS clients live in ims_clients.go. VoWiFiEnabled JSON/DB name is unchanged.

Remaining: live IMS/UAC still wait on a China VoLTE SIM; AudioRuntime stays unwired until helper audit; Enable half-applied rollback is not in this change.
2026-08-24 10:20:50 +08:00
yibaiba 0f93fb928a feat(volte): map China Broadnet 460-15 to a VoLTE MBN
Prefer a dedicated CBN profile when the module has one.
Otherwise use CMCC because CBN shares that radio.
2026-08-24 09:06:03 +08:00
yibaiba e403ec9599 feat(volte): implement native IMS bring-up and PCMU SDP
Map China PLMN to a unique MBN, wait for LTE and IMS PDN, and
give /phone a local PCMU endpoint. Unknown PLMNs fail closed.
2026-08-24 08:57:24 +08:00
yibaiba d22874111d feat: add Lebara UK NextGen WiFi calling and radio lock
Add the 234/87 preset and keep shared eSIMs off domestic cells so a dual-IMSI flip to 20404 cannot kill UK WFC.
2026-08-19 14:58:04 +08:00
yibaiba b145b65838 feat: add Vodafone UK / VOXI WiFi calling preset
Add 234/15 carrier profile so VOXI and Vodafone UK resolve to
vodafone_uk_23415 instead of the generic default. Record giffgaff
camp/SMS findings and the new UK preset in operator notes.
2026-08-18 09:37:20 +08:00
yibaiba 4dcbd27397 docs: replace README shots with current HiDeck console
Recapture login, dashboard, devices, phone, commands, and proxy
from the running console so the gallery matches the HiDeck UI.
2026-08-17 10:56:06 +08:00
yibaiba 1063a43d7f docs: add console screenshots to README
Show the login page, dashboard, devices, SMS, commands, and proxy
views so the project page has a visual overview of the console.
2026-08-17 10:46:11 +08:00
yibaiba 629c2b75a6 docs: streamline readme and extract modem guide 2026-08-14 23:57:23 +08:00
yibaiba 407658c43d docs: add dual-stack proxy deployment guide 2026-08-14 23:28:25 +08:00
yibaiba 0906a5b9e4 docs(web): classify browser preferences and caches
Complete the production storage inventory and distinguish browser-local preferences from server-owned MCC/MNC caching.
2026-08-14 13:24:39 +08:00
yibaiba db5ec8abeb docs(security): audit browser session storage
Classify authentication, tab-scoped phone control, redirects, and carrier websheet callback storage before any server-side migration.
2026-08-14 13:23:11 +08:00