Map QMI disconnecting and early CANCEL/BYE to a missed call, and use standalone titles so WeCom, QQ, Feishu, and other channels no longer stack 通话结束.
Co-authored-by: Cursor <cursoragent@cursor.com>
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: a transient AT/QMI timeout aborted native IMS provision, and QMI LTE placeholder RSSI made the overview look like there was no signal.
Why this works: native VoLTE start retries timeout-class errors, serializes AT on one port, and the overview uses RSRP when RSSI is a sentinel. Shutdown now takes the stop context so IMS can finish Contact Expires=0.
Remaining: Lebara UK RF-lock and unique-MBN failures stay non-retryable.
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: 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.
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.
The keypad button only routed to /phone, so it did nothing when the
phone page was already open. Toggle an in-bar dial pad after the call
is connected and send DTMF from there.
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.
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.
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.
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.
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.
Airplane plus cellular always was still scheduled for VoWiFi recover,
so EnableVoWiFi could start PDP after flight mode was cleared even
when Network stayed off. Hold recover in that state, refuse dial/data
until RF is back, and restore Network for always when leaving airplane.
Camp and airplane stay mutually exclusive. Opening network exits
airplane; WiFi calling locks airplane and data; cellular can keep the
software phone while RF is off. Policy screens use a flight switch
instead of a camp/airplane radio pair.
驻网 was only buried in the card-policy footer, so add an explicit status row on the policy page, eSIM strip, and device overview. Spell out that airplane is available in cellular mode.
Airplane still turns the radio off. Network only starts a data session, so an idle card can stay registered with no traffic. Device list, card policy, overview, and the dialer now describe that split, including that a cellular call temporarily brings data up.
The dialer no longer labels an unnetworked cellular device as waiting to connect on call. API replies also tell the user to turn Network on before on_demand or always can camp.
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.
Skip desired-state recover for cellular on_demand so idle devices
do not start SWu. Probe the cellular path before IMS and fall back
to the country proxy when the bearer cannot reach the internet.
Allow the network switch to stay on with cellular software phone.
Bump Docker image to 2.0.4.
Clicking cellular mode no longer tries IKE_SA_INIT on a down bearer.
on_demand only arms the policy; data and IMS start at dial time.
always still brings data up before the tunnel.
Expose phone_mode and data_strategy on the phone page and card policy
panels. Switching mode while software phone is already on restarts the
stack so the new path takes effect.