the voice call volume can be set using this API
sound_manager_set_volume(SOUND_TYPE_VOICE, 0);
However, it does not mute it, instead puts the voice call volume to 1. It being the minimum volume. Is there a way to set this to 0 or basically mute the speaker volume during a phone call?
Mute Voice Call