From 7ecc86b33d37df8ecda167ca390e932df1442171 Mon Sep 17 00:00:00 2001 From: wym <421132955@qq.com> Date: 星期一, 08 八月 2022 08:31:12 +0800 Subject: [PATCH] zlm关闭一段时间后,重启后信令服务不重连zlm --- src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java b/src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java index 2d30792..bbc946b 100644 --- a/src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java +++ b/src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java @@ -27,7 +27,9 @@ Integer keepaliveTimeOut = 255; - Integer registerTimeInterval = 60; + Integer registerTimeInterval = 120; + + private boolean alarm; public void setIp(String ip) { this.ip = ip; @@ -104,4 +106,12 @@ public Integer getRegisterTimeInterval() { return registerTimeInterval; } + + public boolean isAlarm() { + return alarm; + } + + public void setAlarm(boolean alarm) { + this.alarm = alarm; + } } -- Gitblit v1.8.0