44 Commits
Author SHA1 Message Date
yibaiba 73d5c460cc fix: harden PCSC identity and SIP URN handling 2026-09-09 22:18:34 +08:00
yibaiba e5ca0f25cb fix: avoid persisting self-routed IMS subscription rejection 2026-09-08 18:56:20 +08:00
yibaiba 28ed2bafa7 fix: persist unsupported IMS subscriptions 2026-09-08 17:01:51 +08:00
yibaiba 02c9d7a28d fix: preserve historical SMS unread state and IMS recovery attempts
Mark historical SMS windows by exact message IDs while retaining the latest-thread watermark API. Validate message ownership and update persisted unread counts atomically.

Match IMS recovery completion to the registered path and failure generation so stale REGISTER/downlink success cannot erase replacement backoff or Retry-After.

Validation: 294 frontend tests, typecheck, targeted lint, SMS backend tests, and IMS/runtime race checks passed. Added regression coverage for both failures; live carrier integration was not run.
2026-09-07 10:45:12 +08:00
yibaiba c9a63731a9 fix(sms): locate notification messages outside inbox windows 2026-09-06 23:49:47 +08:00
yibaiba 1cfc0d3d95 feat(sms): add global inbox notifications and unread count 2026-09-06 23:27:22 +08:00
yibaiba 34e5bdf959 fix: harden VoWiFi proxy recovery handling 2026-09-05 17:25:45 +08:00
yibaiba a6f43a2ea9 feat(vowifi): let cards pin or randomly pick country proxy nodes
Allow multiple upstream proxies per country, card-level pin or
direct override, and restart WiFi calling when the route changes.
2026-09-05 16:32:58 +08:00
yibaiba 3585faf899 fix: keep contact groups consistent across pages 2026-09-04 21:00:20 +08:00
yibaiba 4fb699f446 fix: harden IMS recovery and contact updates 2026-09-04 20:13:35 +08:00
yibaiba eea9a22edd fix: preserve contact identities and VoWiFi health timing 2026-09-04 18:01:57 +08:00
yibaiba 6970335f50 feat(phone): page contacts and load more on scroll
Add limit/offset listing, keep search by loading remaining pages,
and leave a short drag-import hint in the contacts drawer.
2026-09-04 16:47:30 +08:00
yibaiba dede511355 feat(phone): import and export contacts from common phone books
Parse iOS, Google, Samsung, Xiaomi, Huawei, OPPO, and vivo vCard/CSV
exports, keep multiple numbers under one person, and add batch
import, export, delete, and drag-and-drop in the contacts drawer.
2026-09-04 15:53:34 +08:00
yibaiba 40eaeba7a7 fix(phone): harden IMS recovery and contact identity state 2026-09-04 13:26:21 +08:00
yibaiba 91b01d8621 feat(phone): show caller carrier/region and save contacts
Incoming calls and the call log resolve 10086/10010 and mobile
prefixes to 中国移动/中国联通, plus country for international
numbers. Names saved as contacts replace the raw number on screen.
2026-09-04 11:18:54 +08:00
yibaiba b442567b6d fix(ims): advertise MSISDN-less SMS, 488 unmatched reports, and emergency ePDG
TS 24.341 5.3.2.6.2: REGISTER Contact includes +g.3gpp.smsip-msisdn-less so
future SIMs can use MSISDN-less SMS over IP.

TS 24.341 5.3.1.4.2: 488 when In-Reply-To is present and does not match a
submitted SM. Late reports still match the delivery store. RP-MR is not used
to steal another message when In-Reply-To is set.

IR.51: carrier profile now carries sos.epdg.epc.mncXXX.mccYYY.pub.3gppnetwork.org.
Ordinary VoWiFi IKE still uses the standard/custom ePDG.
2026-08-28 08:32:38 +08:00
yibaiba e5a9466e8a test: replace a live caller number with a fictional one
Fixtures copied a real inbound MSISDN from the host. Use +1555550100.
2026-08-24 18:45:18 +08:00
yibaiba e79d2ee3c5 fix(phone): drop ghost ringing after QMI slot reuse
A just-ended native call can reappear on QMI call id 1 and be stored as
a new inbound ringing row. Ignore the same number on that slot for 3s,
close leftover in-progress records on process start, and refresh active
calls when the phone event stream drops.
2026-08-24 18:34:27 +08:00
yibaiba ae87b79e30 fix(volte): unique native call IDs and bounded ALSA open
QMI reuses call slot 1, so volte-{device}-{qmiID} overwrote history.
Identify live calls by QMI id and mint a unique persistent call_id.
Cap ALSA open at 800ms, refine hwparams before HW_PARAMS, and skip
later opens after a failure so dialing is not blocked by set_interface.
2026-08-24 18:21:32 +08:00
yibaiba e550d2edd5 feat(volte): add native VoLTE phone mode on QDC507
Keep wifi and cellular software IMS. VoLTE camps LTE, enables
modem IMS over AT, and routes /phone through QMI VOICE.
2026-08-23 21:55:46 +08:00
yibaiba 7a07c18b24 fix: enforce Lebara UK radio lock safely 2026-08-19 15:43:18 +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 db22458f35 fix: default new devices to airplane and gate cellular on network
New binds and new SIMs start in airplane so QMI does not camp immediately. Cellular on_demand without Network stays RF-off; on_demand/always only take effect after Network is on. The dialer and card policy now say this, and clicking WiFi calling starts the software phone even when it already looks selected.
2026-08-17 15:04:13 +08:00
yibaiba ed2d9bccc4 feat: add cellular phone mode with data strategy and /cellcall command 2026-08-16 16:34:19 +08:00
yibaiba 13f02620bf feat: complete bot command center integration 2026-08-14 19:51:27 +08:00
yibaiba 4f2b4bec64 chore(go): format existing sources 2026-08-14 18:10:20 +08:00
yibaiba 2b523ca434 fix(device): restore local phone lookup 2026-08-14 15:51:55 +08:00
yibaiba 037a461911 feat(web): persist disclaimer acceptance in database 2026-08-14 12:57:55 +08:00
yibaiba cf86a08a93 refactor(runtime): adopt HiDeck identifiers 2026-08-14 11:55:59 +08:00
yibaiba 045f455e46 refactor(go): move module to yibaiba/hideck 2026-08-14 11:48:09 +08:00
yibaiba 3bc24e00be fix(web): improve carrier rule tray controls
Expose built-in rule editing beside refresh, keep all effective rules reachable, and restore database overrides through the existing backend contract.
2026-08-14 07:44:14 +08:00
yibaiba f22c499173 fix(sms): persist unread state and target ICCID 2026-08-13 20:23:32 +08:00
yibaiba ce33da3ce7 feat(phone): add leased call session API
Manage one active call per device, browser control leases, recovery,
terminal classification, SSE replay, history, and authenticated controls.
2026-08-13 13:56:26 +08:00
yibaiba 11e3239d43 feat(automation): add scheduled device tasks 2026-08-13 08:16:39 +08:00
yibaiba 2640eccafd [command-center-03] implement balance query state machine 2026-08-11 23:57:14 +08:00
yibaiba 6707fb57f9 [command-center-01] add carrier query domain storage
Define immutable built-in balance query rules for all production carrier presets and persist command, event, balance, and custom-rule state in SQLite.

Validate custom rules with Go RE2 before storage and preserve unsupported/product-specific cases explicitly instead of guessing query codes.
2026-08-11 23:39:17 +08:00
yibaiba 4a748b1cf5 [fix-nine-regressions-04] bind modem SMS to explicit SIM identity 2026-08-11 13:53:01 +08:00
yibaiba e8be5383b5 [restore-vowifi-25.08] reconcile degraded SMS inbox 2026-08-10 15:10:52 +08:00
yibaiba 2f9b9f6316 [restore-vowifi-25.08] retain degraded SMS fragments 2026-08-10 14:23:30 +08:00
yibaiba adfac4b966 [restore-vowifi-25.08] preserve inbound SMS fragments 2026-08-10 13:16:13 +08:00
yibaiba 60c00f9aea [restore-vowifi-25.08] correct SMS delivery acceptance 2026-08-10 12:26:31 +08:00
yibaiba 9c7672d770 [rewrite-vowifi-sms-followup-20] restore registered IMS SMS signaling 2026-08-08 16:56:08 +08:00
yibaiba d69423ec69 [rewrite-vowifi-sms-06] restore SMS reports and multipart 2026-08-08 07:12:11 +08:00
windloom de689a554d Assemble source-integrated VoHive 2026-07-06 04:30:39 +08:00