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.
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.
Track port-s open/close and peer RST, switch P-CSCF with a full security
agreement teardown after Vodafone UK early resets, and keep only one
native VoLTE start in flight per device.
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.
When a Lebara UK eSIM flips to 20404, reset the same ICCID with Disable/Enable or a parking profile, wait for a stable 23487 IMSI, then start VoWiFi. Keep the RF lock. Do not start VoWiFi during recover or on classify-failure for unrelated cards.
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.
Why: Ut is HTTPS to an operator-internal IPv4 XCAP host, not SIP. IMS IPv6-only could not reach it, and CS-only devices still opened the page and waited on 502.
Why this works: Vodafone UK starts a second SWu session with APN xcap and omits INITIAL_CONTACT. Errors no longer leak the XCAP URL. The sidebar drops 呼叫设置; /ut redirects home.
Remaining: the xcap PDN gets IPv4, but TCP to the XCAP address still times out.
Why: DEV-20/21 still left StartAdditionalPDNs uncalled and Server.utClient unset, so the second SWu and Ut HTTP never ran on the production path.
Why this works: RunSession starts the xcap slot after IMS is up and waits for it without tearing down IMS on failure. Ut HTTP dials that PDN; a requested XCAP APN does not fall back to the IMS inner network. The API looks up the live runtime instance when utClient is not injected.
Remaining: live operator XCAP is untested; in-app browser MCP is still unavailable.
Why: conference and ECT need more than activeCall plus a ring-only waitingCall; a second answered call was rejected as busy.
Why this works: occupancy is the live call map, capped at two, and a second call is allowed only after the first is connected. SwitchCall changes focus; hangup promotes the remaining call.
Remaining: inbound Replaces, conference, and ECT are still separate rows.
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.
Hold that is not aligned returns 503 with a Chinese message. A second
inbound CallWaiting stays in the active list and is shown on the phone
page and call bar.
/send, automatic tasks, and the balance gateway now use SendRoutedSMS.
A VoWiFi failure falls back to CS once; it does not also send on IMS.
Notify /status shows MWI, and vocall hold from notify stays skipped.
Keep the latest RFC 3842 snapshot on the pool, attach it to device
runtime JSON, and clear it when VoWiFi is disabled. Call-waiting
notify is forwarded from the same dispatcher.
Register now advertises outbound, prefers Service-Route then Path, and
tears down RFC 3680 subscriptions in-dialog. Voice adds hold/resume and
RFC 4028 timers; SWu sends AKA' bidding, IKE fragmentation, redirect
limits, and a correctly coded AUTS. Host SMS gets SMMA backpressure and
CS fallback without double-send.
Co-authored-by: Cursor <cursoragent@cursor.com>
Prefer LPA payloads over labeled SM-DP+ text, fall back to the form
host when an activation blob does not parse, and accept QR screenshots
via drag-and-drop or clipboard paste.
Accept GSMA LPA:1$ payloads, Apple-wrapped URLs, host$token strings,
and labeled SM-DP+/activation-code emails so VOXI, Giffgaff, Airalo
and similar cards can be added from the QR rather than a bare host.
Hangup could return 204 while native VoLTE never emitted CallEnded, so
the page stayed on 挂断中. Finish the phone-layer call after a successful
hangup or reject, replay events when after_id is from a previous process,
and apply restarted SSE ids instead of dropping them.
Card policy already stored phone_mode=volte with airplane off, but the
embedded UI still classified any non-cellular mode as WiFi calling and
locked flight. Device list also dropped PhoneMode when merging yaml.
Why: live Enable on 179 failed twice: volte PATCH left CFUN=4 so CEREG stayed 0; CU-VoLTE MBN returns ERROR for AT+QCFG usbcfg and aborted identity.
Why this works: enabling native VoLTE now applies card policy so camped modes leave airplane. Provision continues IMS when usbcfg is unsupported and does not demand UAC bits.
Remaining: redeploy to 179 to register Unicom IMSA; no real call yet.
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.
First Feishu private chat now binds the sender, later group messages
require that user, and QR apply records the scanner Open ID. Settings
polling merges bound IDs without wiping in-progress form edits.
Plain messages were dropped because only slash commands were handled.
First chat now sends help, later text asks for /help, and group @mentions
are stripped. Chat IDs persist like WeCom so settings and outbound
notifications fill in after the first message.
Recordings stay file cards unless the file is already opus. The lame/AMR
stack cannot encode Feishu voice bubbles, so ffmpeg is not added.
Clear the iLink cursor when the bot token changes, wait for a real chat token before sending, and align the long-poll client version so replies can be delivered again.
Show the post-scan send-a-message hint without remounting settings, merge runtime Weixin/WeCom bindings into the form, treat WeCom QR init as waiting, and accept numeric iLink message IDs so personal Weixin can receive again.
Save the Weixin scanner as the default notify target and remind
users to message Weixin, WeCom, and Telegram bots after connect.
Add Feishu QR onboarding using the accounts registration flow
Hermes uses, then persist App ID and App Secret.
Retry SWu once after ePDG wait timeout so a cold SOCKS5 UDP
associate does not require a manual reconnect. Keep REGISTER
after SUBSCRIBE(reg) 489, and log REGISTER, SUBSCRIBE, and
interrupt reasons so IMS drop causes are visible.
udev no longer resets a 3s timer on every ttyUSB event. USB
rescan/rebuild sends RFOff before NAS search, then applies the
existing card policy. Process restart does not flight-cycle
already camped SIMs.
Subscribe to kernel uevents and rematch IMEI-only configs after unplug.
Abandon in-flight recovery on delete so the same ID can be added again.
Keep the add dialog on theme tokens and prefill the device ID.