@@ -139,7 +139,7 @@ def googlevoice_accounts(files_found, report_folder, seeker, wrap_text):
139139
140140@artifact_processor
141141def googlevoice_calls (files_found , report_folder , seeker , wrap_text ):
142- data_headers = ('Account Number' , ('Timestamp' , 'datetime' ), 'Direction' , 'Caller' , 'Recipient' , 'Call Status' , 'Voicemail Left' , 'Duration' , ('Call Recording' , 'media' ))
142+ data_headers = (('Timestamp' , 'datetime' ), 'Account Number' , 'Direction' , 'Caller' , 'Recipient' , 'Call Status' , 'Voicemail Left' , 'Duration' , ('Call Recording' , 'media' ))
143143 data_list = []
144144 source_path = ""
145145
@@ -243,16 +243,16 @@ def googlevoice_calls(files_found, report_folder, seeker, wrap_text):
243243 recording = check_in_media (artifact_info , report_folder , seeker , files_found , audio_file )
244244 break
245245
246- data_list .append ((account_number , timestamp ,direction ,from_num ,to_num ,call_status ,voicemail ,duration ,recording ))
246+ data_list .append ((timestamp , account_number ,direction ,from_num ,to_num ,call_status ,voicemail ,duration ,recording ))
247247
248248 else :
249- data_list .append ((account_number , timestamp ,direction ,from_num ,to_num ,call_status ,voicemail ,duration ,recording ))
249+ data_list .append ((timestamp , account_number ,direction ,from_num ,to_num ,call_status ,voicemail ,duration ,recording ))
250250
251251 return data_headers , data_list , source_path
252252
253253@artifact_processor
254254def googlevoice_voicemails (files_found , report_folder , seeker , wrap_text ):
255- data_headers = ('Account Number' , ('Timestamp' , 'datetime' ), 'Caller' , 'Recipient' , 'Duration' , 'Read Status' , 'Transcript' , ('Audio File' , 'media' ))
255+ data_headers = (('Timestamp' , 'datetime' ), 'Account Number' , 'Caller' , 'Recipient' , 'Duration' , 'Read Status' , 'Transcript' , ('Audio File' , 'media' ))
256256 data_list = []
257257 source_path = ""
258258
@@ -347,13 +347,13 @@ def googlevoice_voicemails(files_found, report_folder, seeker, wrap_text):
347347 break
348348
349349 if timestamp :
350- data_list .append ((account_number , timestamp ,from_num ,to_num ,duration ,read_status ,transcript ,audio ))
350+ data_list .append ((timestamp , account_number ,from_num ,to_num ,duration ,read_status ,transcript ,audio ))
351351
352352 return data_headers , data_list , source_path
353353
354354@artifact_processor
355355def googlevoice_messages (files_found , report_folder , seeker , wrap_text ):
356- data_headers = ('Account Number' , ('Timestamp' , 'datetime' ), 'Conversation ID' , 'Direction' , 'Sender' , 'Recipient(s)' , 'Read Status' , 'Message' , ('Image' , 'media' ))
356+ data_headers = (('Timestamp' , 'datetime' ), 'Account Number' , 'Conversation ID' , 'Direction' , 'Sender' , 'Recipient(s)' , 'Read Status' , 'Message' , ('Image' , 'media' ))
357357 data_list = []
358358 source_path = ""
359359
@@ -444,15 +444,15 @@ def googlevoice_messages(files_found, report_folder, seeker, wrap_text):
444444 # filename: message_id + "-14" + extension
445445 if "Photo MMS images" in image and message_id in image and "-14" in image :
446446 thumb = check_in_media (artifact_info , report_folder , seeker , files_found , image )
447- data_list .append ((account_number , timestamp ,conversation_id ,direction ,from_num ,to_nums ,read_status ,message_content ,thumb ))
447+ data_list .append ((timestamp , account_number ,conversation_id ,direction ,from_num ,to_nums ,read_status ,message_content ,thumb ))
448448 break
449449
450450 # if no image file is cached for the message
451451 if thumb == "" :
452- data_list .append ((account_number , timestamp ,conversation_id ,direction ,from_num ,to_nums ,read_status ,message_content ,"" ))
452+ data_list .append ((timestamp , account_number ,conversation_id ,direction ,from_num ,to_nums ,read_status ,message_content ,"" ))
453453
454454 else :
455- data_list .append ((account_number , timestamp ,conversation_id ,direction ,from_num ,to_nums ,read_status ,message_content ,"" ))
455+ data_list .append ((timestamp , account_number ,conversation_id ,direction ,from_num ,to_nums ,read_status ,message_content ,"" ))
456456
457457 # conversation_id starts with "g" for group chat messages
458458 elif row [1 ].startswith ("g" ):
@@ -513,14 +513,14 @@ def googlevoice_messages(files_found, report_folder, seeker, wrap_text):
513513 # filename: message_id + "-14" + extension
514514 if "Photo MMS images" in image and message_id in image and "-14" in image :
515515 thumb = check_in_media (artifact_info , report_folder , seeker , files_found , image )
516- data_list .append ((account_number , timestamp ,conversation_id ,direction ,from_num ,to_nums ,read_status ,message_content ,thumb ))
516+ data_list .append ((timestamp , account_number ,conversation_id ,direction ,from_num ,to_nums ,read_status ,message_content ,thumb ))
517517 break
518518
519519 # if no image file is cached for the message
520520 if thumb == "" :
521- data_list .append ((account_number , timestamp ,conversation_id ,direction ,from_num ,to_nums ,read_status ,message_content ,"" ))
521+ data_list .append ((timestamp , account_number ,conversation_id ,direction ,from_num ,to_nums ,read_status ,message_content ,"" ))
522522
523523 else :
524- data_list .append ((account_number , timestamp ,conversation_id ,direction ,from_num ,to_nums ,read_status ,message_content ,"" ))
524+ data_list .append ((timestamp , account_number ,conversation_id ,direction ,from_num ,to_nums ,read_status ,message_content ,"" ))
525525
526526 return data_headers , data_list , source_path
0 commit comments