Fix USSD D-Bus property extraction and session status parsing

This commit is contained in:
Luxferre
2026-10-25 18:33:19 +02:00
parent f4fe5ce8e9
commit 21dfb187be
7 changed files with 38 additions and 13 deletions
+1 -1
View File
@@ -1733,7 +1733,7 @@ inline std::string sendModemUssd(const std::string& input,
if (outSessionActive) {
std::string stOut = runCaptureCmd(
"mmcli -m any -K 2>/dev/null | grep -E 'modem\\.3gpp\\.ussd\\.(status|state)'");
"mmcli -m any --3gpp-ussd-status -K 2>/dev/null | grep -E 'modem\\.3gpp\\.ussd\\.(status|state)'");
if (stOut.find("user-response") != std::string::npos) {
*outSessionActive = true;
}