chenxiaolong / BCR

A Basic Call Recorder for rooted Android devices
GNU General Public License v3.0
1.67k stars 109 forks source link

Support for Default Call Redirection App #443

Closed Xeboc closed 11 months ago

Xeboc commented 11 months ago

When using a call redirecting app such as Google Voice, BCR is using the initially dialed phone number for filenames/metadata and not actual number being called. Incoming calls work correctly, but all outgoing calls that are redirected have the same incorrect phone number (the proxy phone number). This redirecting happens when Google Voice is configured:

Making and receiving calls - Use carrier only Calls started from this device's phone app - Use your Google Voice number

Can support for Call Redirection Apps be added to BCR, so that it saves the number being called, and not the proxy number?

chenxiaolong commented 11 months ago

I've added support for this in #444. Unfortunately, due to Android's APIs work, there are several limitations:

For the last 4 limitations, the reason is that only the dialer app knows the original phone number. The Android telephony system itself is completely unaware of it--it only ever sees the proxy number. BCR can only find the original phone number by searching the call log after the dialer inserts the call log entry at the end of the call.