I am developing an app where user can make a call using a keypad which opens inside app but call will be made from primary sim of mobile. Here I want to record this call having voice of both caller and receiver. I have tried multiple libraries but nothing seems to work properly. Following libraries I have tried but didn't got needed results :
https://github.com/BeatriceFendt/android-call-recorder
https://github.com/AnthonyNahas/android-auto-call-recorder
https://github.com/aykuttasil/CallRecorder
https://github.com/ivanzotov/CallRecorder
I have also tried this library as well but it recorded my own voice but not of receiver.
https://github.com/synapticweb/CallRecorder
Any help or clarification will be appreciated. Just want to know if it is possible and if it is then how we can do that.
Thanks in advance.