Commit fec69c714c632eaed01f77cb419d1d6a02e273ea

Authored by 648540858
1 parent f3069376

优化国标信令

src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/impl/SIPCommanderFroPlatform.java
... ... @@ -214,6 +214,7 @@ public class SIPCommanderFroPlatform implements ISIPCommanderForPlatform {
214 214 continue;
215 215 }else {
216 216 if (channel.getChannelId().length() != 20) {
  217 + catalogXml.append("</Item>\r\n");
217 218 continue;
218 219 }
219 220 switch (Integer.parseInt(channel.getChannelId().substring(10, 13))){
... ...
src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/response/impl/RegisterResponseProcessor.java
... ... @@ -102,7 +102,7 @@ public class RegisterResponseProcessor extends SIPResponseProcessorAbstract {
102 102 SipTransactionInfo sipTransactionInfo = new SipTransactionInfo(response);
103 103 platformService.online(parentPlatform, sipTransactionInfo);
104 104 }else {
105   - platformService.offline(parentPlatform, false);
  105 + platformService.offline(parentPlatform, true);
106 106 }
107 107  
108 108 // 注册/注销成功移除缓存的信息
... ...