DavidLiu vor 4 Monaten
Ursprung
Commit
a90c1e91b9
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/core/callcenter/constant.py

+ 1 - 1
src/core/callcenter/constant.py

@@ -122,7 +122,7 @@ def format_time_millis(time_millis, pattern='%Y%m%d'):
 
 def get_record_prefix(call):
     if CallType.BOT_CALL.code == call.call_type:
-        return BASE_RECORD_PATH + str(call.call_type) + '/' + str(call.saas_id) + '/' + str(call.called) + '/' + format_time_millis(call.call_time)
+        return BASE_RECORD_PATH + str(call.call_type) + '/' + str(call.saas_id) + '/' + str(call.caller) + '/' + format_time_millis(call.call_time)
     else:
         return BASE_RECORD_PATH + str(call.call_type) + '/' + str(call.saas_id) + '/' + str(call.caller) + '/' + format_time_millis(call.call_time)