I want to use my RPI Zero W as a bluetooth headset (HFP) and take the audio (the voice of the caller) from a phone call and pass it to the cloud to do some TTS on it. The response from the cloud should then be passed back to the phone as a mic input.
Is this even possible? Does anyone have an idea of how to do this? I have managed to connect the RPI to my phone as a headset and that seems to be working.
The reason why i am doing this, is that i try to make a callable voice bot.
Any help is appreciated