774056846 4 months ago
parent
commit
0c32b74330
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/core/callcenter/esl/utils/esl_event_util.py

+ 3 - 1
src/core/callcenter/esl/utils/esl_event_util.py

@@ -401,7 +401,9 @@ def getOriginationUuid(e):
 def getDeviceId(e):
     device_id = e.getHeader(VARIABLE_SIP_LIBRA_DEVICE_ID)
     if not device_id:
-        device_id = getApplicationData(e).get(SIP_H_P_LIBRA_DeviceId)
+        device_id = getUniqueId(e)
+    # if not device_id:
+    #     device_id = getApplicationData(e).get(SIP_H_P_LIBRA_DeviceId)
     return device_id