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.
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.
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.
Compare previous phone_mode/data_strategy before RestartVoWiFi so a
repeat enable does not bounce an already-running stack. Cellular enable
no longer claims the device entered airplane mode.
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.
Align the Hub Dockerfile with Dockerfile.github so recordings keep
AMR/MP3 codecs and healthcheck. Send PushPlus over HTTPS with a timeout.
Log traffic rollup, SMS persist, and device IP update failures without
changing call/SMS success semantics.
Bump image to 2.0.3.
- Add Pool.SimulateCallWithCellularData: connects data before call and
disconnects after for on_demand cellular mode, passes through for others.
- /cellcall and /vocall and POST /devices/:id/vowifi/calls now route
through this wrapper.
- Confirm mechanism: supported channels (Telegram/QQ/WeChat/WeCom) block
via confirmRegistry waiting for /y or /n; unsupported channels (Feishu)
return false to cancel execution.