774056846 4 місяців тому
батько
коміт
39cd1c36c2

+ 1 - 1
src/core/callcenter/esl/handler/channel_bridge_handler.py

@@ -19,7 +19,7 @@ class ChannelBridgeHandler(EslEventHandler):
         device_id = EslEventUtil.getDeviceId(event)
         call = self.cache.get_call_info(call_id)
         device = call.device_info_map.get(device_id)
-        self.logger.info('debugger::device_id is23232323232 ', device_id, device)
+        self.logger.info('debugger::device_id: %s, device:%s ', device_id, device)
         if device.device_type == DeviceType.AGENT.code: # 如果是坐席接听 变更坐席状态
             self.dataHandleServer.update_agent_monitor_service_state(device_id, AgentServiceState.IDLE.code)
         pass

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

@@ -31,13 +31,13 @@ class ChannelHangupHandler(EslEventHandler):
         self.logger.info(json.loads(event.serialize('json')))
         try:
             call_id = EslEventUtil.getCallId(event)
-            self.logger.info('debugger::call_id is ', call_id)
+            self.logger.info('debugger::call_id is %s', call_id)
             if not call_id:
                 self.release(event)
                 self.logger.info("call_id is null")
                 return
             call = self.cache.get_call_info(call_id)
-            self.logger.info('debugger::call_info is ', call)
+            self.logger.info('debugger::call_info is %s', call)
             if not call:
                 self.logger.info("call:%s is null", call_id)
                 return