I dont know if its possible but as far as API goes
recorder.setAudioSource(MediaRecorder.AudioSource.VOICE_CALL);
this line compiles well in my code where recorder is an Object of MediaRecorder and I was once working on such project but later the project was dumped so not sure if it works or not