소스 검색

fix: 修改els打印

余尚辉 4 달 전
부모
커밋
5d8926cd32
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/core/callcenter/esl/client.py

+ 1 - 2
src/core/callcenter/esl/client.py

@@ -496,9 +496,8 @@ class OutboundClient:
                     event_name = info.getHeader("Event-Name")
                     device_id = info.getHeader("unique-id")
                     kwargs = json.loads(info.serialize('json'))
-                    print("dsdsdsdsdsdsdsdsdsdsdsdssd", kwargs)
                     destination = self.server.agent.register(**kwargs)
-                    self.server.logger.info("device_id=%s, destination=%s", device_id, destination)
+                    self.server.logger.info("device_id=%s, destination=%s", device_id, destination, kwargs)
 
                     Cache.add_device_user_part(device_id, destination)
                     con.execute("bridge", f"user/{destination}", device_id)