I am working on a project to record VOIP calls in android, I didn't found any solution for that, there are lot of apps which support VOIP recordings on phones. I am unable to find any tutorial and help. Cube Call Recorder is one of the app which is giving this feature but I can't figure out how to do it. I was tested it by starting recording by using android MediaRecorder then initiated whatsapp call, so other person was unable to listen my voice. after call, I checked only my voice were saved in the recording.
As a research I reverse engineered some apks, I found they are using Accessibility permissions in the apk.
<uses-permission android:name="android.permission.BIND_ACCESSIBILITY_SERVICE" />
I don't know what things I need to understand how can I get to know that to VOIP call is coming and going just like a BroadcastReceiver.
Then, I will understand how can I record the calls.