648540858
2021-12-27 a4c93cf6138d2a92cea618a0b628364bc402adf7
src/main/java/com/genersoft/iot/vmp/service/impl/DeviceServiceImpl.java
@@ -47,10 +47,12 @@
        if (device == null || device.getSubscribeCycleForCatalog() < 0) {
            return false;
        }
        logger.info("移除目录订阅【{}】", device.getDeviceId());
        logger.info("移除目录订阅: {}", device.getDeviceId());
        dynamicTask.stopCron(device.getDeviceId());
        device.setSubscribeCycleForCatalog(0);
        sipCommander.catalogSubscribe(device, null, null);
        // 清空cseq计数
        return true;
    }
}