优化设备注册,支持到期续订,优化国标级联到期续订。

This commit is contained in:
648540858
2023-03-28 14:09:41 +08:00
parent 58d1f0ea16
commit 91bfbc36f1
19 changed files with 205 additions and 90 deletions

View File

@@ -63,7 +63,7 @@ public class SipRunner implements CommandLineRunner {
if (deviceService.expire(device)){
deviceService.offline(device.getDeviceId(), "注册已过期");
}else {
deviceService.online(device);
deviceService.online(device, null);
}
}
// 重置cseq计数