title: Android Call Recording Incoming voice not getting recorded
body: <p>I'm working auto call recorder app, I'm able to record voice call on below android 6 using <code>MediaRecorder.AudioSource.VOICE_CALL</code>, 
  From android 6 not able to record voice call using <strong>VOICE_CALL</strong>. I managed to record using <code>MediaRecorder.AudioSource.MIC</code> but here incoming voice not getting recorded and I want to record voice call in normal mode not in speaker on mode. Please help me on this. (I had tried on Xiomi Redmi 4a(android 6),not working).</p>
  
  <pre><code> myRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
   myRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4);
   myRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC);
   myRecorder.setMaxDuration(60 * 60 * 1000);
   AudioManager audiomanager =
   (AudioManager)getSystemService(AUDIO_SERVICE);
   audiomanager.setMode(2);
  </code></pre>
  
  <p><strong>Edit : There is no issue with permissions.</strong> </p>
  
  <p><strong>Update : Anyone knows how to forcing another stream to MIC audio source. This requires native android code. Please help me on this</strong> 
  <a href="https://stackoverflow.com/questions/37080374/android-audiorecord-forcing-another-stream-to-mic-audio-source">Refer this question for more details on routing audio</a></p>