774056846 4 months ago
parent
commit
6189a27182
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/callcenter/esl/client.py

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

@@ -521,7 +521,7 @@ class OutboundClient:
                     destination = self.server.agent.register(**kwargs)
                     self.server.logger.info("device_id=%s, destination=%s, kwargs=%s", device_id, destination, json.dumps(kwargs))
 
-                    self.build_call_info(call_id, device_id, new_device_id, destination, **kwargs)
+                    self.build_call_info(call_id, device_id, new_device_id, str(destination), **kwargs)
                     Cache.add_device_user_part(device_id, destination)
                     con.execute("bridge", "{sip_h_P-LIBRA-CallId=%s,sip_h_P-LIBRA-DeviceId=%s,origination_uuid=%s}user/%s"%(call_id, new_device_id, new_device_id, destination), device_id)