You save the end of call report in your own database like airtable or google sheets and add the identifier (like phone number) to the same row/record.
Then you call that information with every new call (before the call is made or picked up) and filtering for the phone number.