Repository navigation
feat: add Destination Caller ID column to SMS artifact - #1983
Conversation
message.destination_caller_id records the local phone number or Apple ID email the device used for a given message transaction, which is more precise than the existing Account/Account Login fields (e.g. useful on dual-SIM or multi-identity devices). Also use it to label sent messages in the threaded conversation view, replacing the prefixed message.account value. Co-Authored-By: Claude Opus 5 <[email protected]>
|
Thanks for the contribution! The changed artifact modules cite public research images in their
|
|
Thanks for adding this, the destination caller ID is a good column to surface. Two things before this can merge. The DataFrame column list in the chat-view block got reordered when the new column went in, but the data_list tuples kept their original order, so 20 of the 22 positions now carry the wrong label. Running the module against the committed sms test case (josh_ios15_ffs) crashes with KeyError: 'image.000000.jpg' in chat_rendering.py, because the tuple's attachment filename lands under content-type. The report table itself is fine, data_headers and the tuple still agree. The fix is one list: keep the original column order and insert 'Destination Caller ID' at position 15, right after 'Account Login', which is where record[22] sits in the tuple. Second, the new column changes the recorded output shape, so the sms baseline needs re-recording in the same PR once the fix is in: run python admin/test/scripts/test_module.py sms -a all -c all, commit the new snapshot in admin/test/results/sms/ and delete the superseded one. The test case data is already in the repo, so the crash reproduces with the command above. |
|
Thanks for your reply! I haven´t had a chance to look into this yet, but I will start today, and hopefully fix the issues:) |
The DataFrame column list feeding the threaded chat view still reflected a pre-column-reorder layout, so 20 of 22 positions carried the wrong label and the attachment content-type landed under the wrong key, crashing chat_rendering.py with KeyError on any SMS attachment. Rebuild the column list to match the current data_list tuple order, inserting 'Destination Caller ID' at position 15 where record[22] sits. Re-recorded the sms baseline (josh_ios15_ffs) since the new column changes the output shape. Co-Authored-By: Claude Sonnet 5 <[email protected]>
|
The DataFrame is now the correct length and order, and Claude ran the test again so the test result is updated also. This included some changes from a previous PR as well, which reordered the data_headers and data_list as well. Hopefully things look good now! Glad to hear that you also found Destination Caller ID a good column to surface! :) |
Rebuilds the Destination Caller ID column on top of main, so Sender, Chat Name and Chat Participants stay in the query and the row tuple indices line up again. Headers, row tuple and the chat-view DataFrame are all 25 columns. The conversation view takes its sent-message label from Destination Caller ID, which holds the bare local number where Account carries the service-prefixed form. senderColumn stays on Sender. Baseline regenerated from the committed josh_ios15_ffs case: 48 rows, Destination Caller ID on 44 of them and on all 15 sent rows. Co-Authored-By: Claude Opus 5 <[email protected]>
|
Thanks Viktoria, the destination caller ID is a good column to have. I pushed a commit to the branch that rebuilds it on top of main, so Sender, Chat Name and Chat Participants stay in the query and the row indices line up. Baseline regenerated from the josh_ios15_ffs case: 48 rows, with Destination Caller ID on 44 of them and on all 15 sent rows. The conversation view now takes its sent message label from it, since it holds the bare number where Account carries the |
Adds a notes entry for the new column: destination_caller_id as stored, the number of the account used to send or receive the message, cited to Josh Hickman's dual SIM write-up. Records what was measured across the tested images: filled on all 737 sent rows and 1,257 of 1,281 received rows, more than one identity on 7 of the 18 that hold messages, values that are not always phone numbers, and one line stored in more than one spelling. The blank Sender sentence named group participant and title changes as the example. Measured across the tested images, a shared location start or stop is the commoner cause, so the sentence now says that and cites the group action mapping it comes from. Co-Authored-By: Claude Opus 5 <[email protected]>
message.destination_caller_id records the local phone number the device used for a given message transaction (e.g. useful on dual-SIM or multi-identity devices). Account/Account Login fields is still kept. Uses destination_caller_id to label sent messages in the threaded conversation view, replacing the existing message.account value.
For reference to destination_caller_id see thebinaryhick