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