DavidLiu hace 3 meses
padre
commit
44e8044f84
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/core/callcenter/esl/client.py

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

@@ -602,7 +602,7 @@ class OutboundClient:
                                          agent_key=destination, cdr_type=CdrType.INBOUND.code,
                                          cti_flow_id=None, conference=None, agent_name=None, from_agent=None, caller=None, called=None, display=None, called_location=None, caller_location=None, ring_start_time=None, ring_end_time=None, answer_time=None, bridge_time=None, end_time=None, talk_time=None, sip_protocol=None, channel_name=None, hangup_cause=None, ring_cause=None, sip_status=None, record=None, record_time=None, record_start_time=None, state=None, apparent_number=None, caller_display=None)
                 call_info.device_list.append(new_device_id)
-                call_info.device_info_map = {new_device_id: device_bot}
+                call_info.device_info_map[new_device_id] = device_bot
 
             self.server.cache.add_call_info(call_info)
             return call_info