To make VOIP work properly the following has to be set:
AUDIO_FEATURE_ENABLED_COMPRESS_VOIP := false in BoardConfig.mk
vendor.audio.feature.compr_voip.enable=true in vendor.prop
I have no idea why this is but setting either one of them differently results in the mic not working as it should.
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>