Fix USSD D-Bus property extraction and session status parsing
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user