Files
hideck/internal/api
miaoguoqiang fc3b54863b fix(volte): refuse VoLTE on a device without QMI and drop the idle session
Native VoLTE is driven over QMI: the IMS clients, the IMSA registration
subscription and VOICEDial all live there. An AT-only device (ECM mode, no QMI)
has none of that, but two paths still pretended otherwise.

Enabling VoLTE answered "VoLTE 已设置" with a 200, wrote the mode into the card
policy, and only then failed inside the enable pass, so the page showed a
success message and quietly kept the previous mode. Refuse the request up front
and say why, leaving the card policy untouched.

The handoff to modem voice always reconciled call state through QMI, so a
session left behind by the earlier enable attempt made the switch fail with
native_volte_stop_failed. That session never owned any QMI call state; drop it
instead of reporting a failure the operator cannot act on.
2026-11-18 12:51:39 +08:00
..