级联问题修正

This commit is contained in:
zxb 2023-10-18 15:43:50 +08:00
parent e3d28ae139
commit 5a30f6cd86

View File

@ -86,7 +86,10 @@ public class MessageRequestProcessor extends SIPRequestProcessorParent implement
try {
rootElement = getRootElement(evt);
if (rootElement != null) {
deviceId = getText(rootElement, "DeviceID");
String cmdType = getText(rootElement, "CmdType");
if(cmdType.equalsIgnoreCase("MediaStatus")){
deviceId = getText(rootElement, "DeviceID");
}
}
} catch (Exception ignore) {}
}