Hi Mian Omair,
Right now, Azure doesn’t have one complete example that shows everything you’re trying to do all in one place. But it’s still possible to build what you need by connecting the right services together.
For making outbound phone calls, the CallAutomationClient
lets you control the call and listen for events like when someone answers or a message finish playing. You can handle these events using webhooks with something like Azure Functions or FastAPI, just like you're doing now.
To speak to the caller, you can use Text-to-Speech (TTS) to turn messages into audio. If you want to understand what the caller says, you’ll need to use ACS Media Streaming. This lets you stream the audio and send it to Speech-to-Text (STT) for live transcription.
To manage the full flow like playing a message, waiting for input, then responding you can use Azure Durable Functions or Logic Apps. These help you organize and control what happens step-by-step.
Even though there isn’t a single GitHub repo with all of this combined, Microsoft does have a helpful sample that shows how to connect ACS with Azure OpenAI for dynamic voice calls - Call Automation + Azure OpenAI Sample (JavaScript)
And here’s a good reference on how call automation works in general - ACS Call Automation Concepts
Hope it helps!
Please do not forget to click "Accept the answer” and Yes
wherever the information provided helps you, this can be beneficial to other community members.
If you have any other questions or still running into more issues, let me know in the "comments" and I would be happy to help you.