Play an audio file in a call

Is it possible to access the in and out audio stream in a call? the C api has functions under Telephony to detect keytones: vm_gsm_tel_keytone_start_detect, so i was curious to know if there are ways to access the audio stream from the application

Hi, did you mean record the voice when call incoming and taking?

yes, recording a call and playing an audio stream. basically, to create an automated call menu