panlinlin
2021-02-26 d0f5d684a93db3a0c9a6f2373657b8f596cc47ca
src/main/java/com/genersoft/iot/vmp/gb28181/SipLayer.java
@@ -132,7 +132,7 @@
      Response response = evt.getResponse();
      logger.debug(evt.getResponse().toString());
      int status = response.getStatusCode();
      if ((status >= 200) && (status < 300)) { // Success!
      if (((status >= 200) && (status < 300)) || status == 401) { // Success!
         ISIPResponseProcessor processor = processorFactory.createResponseProcessor(evt);
         try {
            processor.process(evt, this, sipConfig);
@@ -149,8 +149,6 @@
               }
            }
         }
      // } else if (status == Response.TRYING) {
         // trying不会回复
      } else if ((status >= 100) && (status < 200)) {
         // 增加其它无需回复的响应,如101、180等
      } else {