Hanging up the first call left the second one unusable in practice: the page
offered "恢复双向语音", restored audio, and the call was still not connected.
CLCC showed why — the waiting offer was withdrawn and the call alerted again
(state Incoming), but nothing told the application:
- the modem-voice host reported any non-active call of another line as
"waiting", so the transition back to alerting was published as a media
update and the browser never learned the call could be answered;
- the phone service ignored CallRinging for a call in "waiting", keeping that
status forever;
- the page only offered answer buttons while the call had no media, so once a
recovery had attached audio there was no way to answer it at all, and it
offered media recovery for a call that was not even connected;
- answering it then failed before the modem was asked at all: the AT backend
reports a line index, never an offer, so the waiting call had no SDP to
attach and the phone service refused the empty one with "SDP has no usable
RTP endpoint" — and rejected the call. Ask the backend first, which opens the
endpoint while answering, and attach the offer it hands back.
Mapping the state, accepting the ringing transition, offering 接听/仅听接听 for
ringing and waiting inbound calls and letting the backend negotiate their media
makes answering possible again (AT+CHLD=2 for a waiting call, ATA otherwise).
Enabling VoLTE on a device without QMI ran the AT provisioning pass first: it
wrote UAC/USB settings into the module and set reboot_required, so the page said
"restart the modem" while the actual blocker was the absent QMI. The settings
stayed written for nothing, and restarting never helped.
Refuse before provisioning when the host cannot carry voice over QMI, clearing
any stale reboot flag. On the web side a failed phase now wins over a leftover
reboot_required, so the real error is what the operator reads.
- Add mwi_mode to card policies with auto, on and off keyed by ICCID
- Add the ims_mwi_rejections table keyed by ICCID and IMS identity without expiry
- Implement the MWI policy store in the delivery store
- Accept mwi_mode in the card policy API and clear MWI rejections when it is set to on
- Restart WiFi calling after a clear or an explicit redetect so the live registration retries
- Keep mwi_mode edited during an automatic task when the task restores the card policy
- Add the voicemail indication select and redetect button to the card policy panel
- Handle every card_policy_saved_ error code like the restart failure
- Probe with a REGISTER after a Lebara UK port-s timeout and wait for the P-CSCF to reopen port-s once it succeeds
- Keep SMS readiness true with its own reasons while probing and waiting
- Bind the wait and the probe grace to the timed-out port-s generation and P-CSCF, and drop them on a new registration
- Send another probe REGISTER when port-s timed out while an earlier REGISTER was in flight
- End the wait when a REGISTER fails or a refresh negotiates an outbound flow, and the probe grace when recovery backs off
- Count a peer reopen during the wait as on-demand evidence only when no REGISTER is in flight
- Mirror sipOutbound into an atomic and clear the post-REGISTER wait flag on every port-s close
- Log entering, declining and ending the wait, each REGISTER during it and probe retries with the carrier preset and peer reconnect history
- Show in the web UI that SMS reception waits for the carrier to reopen port-s
- Add tests for the Lebara UK wait, probes, failures, stale states, outbound and carriers outside the list
- Report a registration whose port-s closed or timed out as awaiting the P-CSCF reconnect
- Report it as not ready again once Vodafone UK validation finds the downlink broken
- Keep reporting not ready after a failed RP report or on another P-CSCF
- Count an RP report failure on the registration flow even when port-s closed during its retries
- Show the awaiting state as pending with its own detail instead of failed in the web UI
- Test the close kinds, every prerequisite, failed validation, report failures, another P-CSCF and the web state
- Pass the receiving SIM's ICCID and IMSI from cellular and VoWiFi SMS to the notifier
- Add a local line with the stored number of that SIM, or its last four ICCID digits
- Show the device name next to its ID in SMS, call and IP change notifications
- Expose the local number as local_number in webhook meta and webhook and WeCom templates
- List the new placeholder in the notification settings
- Test the number, the ICCID fallback, device names and the webhook template
- New config notification_device_filters maps a channel to device IDs
- A channel with a list only receives SMS and call notifications from those devices
- Other notifications still go to every channel
- Log each notification a filter holds back
- Read and save the filters through the notification settings API and ignore them when a client omits the field
- Add a device selector under the notification channel tabs
- Document device_filters in the OpenAPI spec
- Test the filter, the settings API, config persistence and the channel name list
GET /api/devices now returns vowifi_active and vowifi_health from the
same sources as overview. Incoming SMS can be subscribed at
GET /api/sms/events with Last-Event-ID or after_id; payload matches
notifications latest.
Retain recent 20 ms PCM frames instead of replaying seconds of buffered speech after USB startup or network stalls. Pad missing input with silence, bound the playback pipe, and wait for the playback worker to exit during shutdown. Wait for WebRTC to connect before reporting prepared media, and add audio and call-end diagnostics with regression coverage.