From 874b37ef35104fa8067e869ddf5458053146b519 Mon Sep 17 00:00:00 2001
From: 648540858 <456PANlinlin>
Date: 星期二, 16 十一月 2021 23:22:57 +0800
Subject: [PATCH] 修复级联注册消息回复的空指针异常

---
 src/main/java/com/genersoft/iot/vmp/gb28181/transmit/SIPProcessorObserver.java |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/SIPProcessorObserver.java b/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/SIPProcessorObserver.java
index e385e0b..cac1a01 100644
--- a/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/SIPProcessorObserver.java
+++ b/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/SIPProcessorObserver.java
@@ -71,7 +71,7 @@
             logger.warn("涓嶆敮鎸佹柟娉晎}鐨剅equest", method);
             return;
         }
-        requestProcessorMap.get(requestEvent.getRequest().getMethod()).process(requestEvent);
+        requestProcessorMap.get(method).process(requestEvent);
     }
 
     /**
@@ -143,17 +143,15 @@
 
     @Override
     public void processIOException(IOExceptionEvent exceptionEvent) {
-
     }
 
     @Override
     public void processTransactionTerminated(TransactionTerminatedEvent transactionTerminatedEvent) {
-
     }
 
     @Override
     public void processDialogTerminated(DialogTerminatedEvent dialogTerminatedEvent) {
-
+        CallIdHeader callId = dialogTerminatedEvent.getDialog().getCallId();
     }
 
 

--
Gitblit v1.8.0