余尚辉 5 сар өмнө
parent
commit
5d8926cd32

+ 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)