774056846 4 месяцев назад
Родитель
Сommit
9e75cd449a
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      src/core/callcenter/esl/handler/channel_hangup_handler.py

+ 4 - 4
src/core/callcenter/esl/handler/channel_hangup_handler.py

@@ -26,22 +26,22 @@ class ChannelHangupHandler(EslEventHandler):
         self.dataHandleServer=DataHandleServer(inbound_client.app)
 
     def handle(self, address, event, coreUUID):
-        print(json.loads(event.serialize('json')), flush=True)
+        # print(json.loads(event.serialize('json')), flush=True)
         try:
             call_id = EslEventUtil.getCallId(event)
-            print('debugger::call_id is ', call_id, flush=True)
+            # print('debugger::call_id is ', call_id, flush=True)
             if not call_id:
                 self.release(event)
                 print("call_id is null", flush=True)
                 return
             call = self.cache.get_call_info(call_id)
-            print('debugger::call_info is ', call, flush=True)
+            # print('debugger::call_info is ', call, flush=True)
             if not call:
                 print("call:%s is null", call_id, flush=True)
                 return
             device_id = EslEventUtil.getDeviceId(event)
             device = call.device_info_map.get(device_id)
-            print('debugger::device_id is ', device_id, flush=True)
+            # print('debugger::device_id is ', device_id, flush=True)
             if not device:
                 print("device:%s is null", device_id, flush=True)
                 return