Hello,
Welcome to our Microsoft Q&A platform!
For this function, we need to write the logic on each native platform. However due to security & performance reasons, all active Audio sessions are put on halt when the call is active on iOS platform. It's not supprted to record the call on iPhone.
To record the phone call on Android, try using MediaRecorder to record the audio. Set OutputFormat to MPEG_4 and AudioEncoder to AAC to make play the sound file with a .mp3 extension.
You could refer to the following links to get the native function code:
https://stackoverflow.com/a/39723913/11083277
https://stackoverflow.com/a/33054794/11083277
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.