DavidLiu 3 сар өмнө
parent
commit
27cbdb8b0a

+ 2 - 0
src/core/callcenter/cache.py

@@ -93,6 +93,8 @@ class Cache:
 
     # 获取callInfo
     def get_call_info(self, call_id):
+        if not call_id:
+            return None
         call_info = self.cacheman['call'].get(call_id)
         if call_info:
             return call_info