Azure Communication Service IVR

VermaShivanchal-2103 20 Reputation points
2024-06-26T05:38:48.2+00:00

Hi Team,

The MS learning portal https://learn.microsoft.com/en-us/azure/communication-services/samples/call-automation-ai?pivots=programming-language-java#download-code refers to the Github repo- https://github.com/Azure-Samples/communication-services-java-quickstarts/tree/main/CallAutomation_OpenAI_Sample

I have few questions in above example-

1- how to make IVR same application as Inbound calling application i.e. how to configure the app with a calling number? so request can land in the application post incoming call to application.

2- How will @PostMapping(path = "/api/incomingCall") or @PostMapping(path = "/api/callback/{contextId}") be mapped with incoming call and who will pass the request parameters to these web methods?

TIA.

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
891 questions
{count} votes

Accepted answer
  1. SnehaAgrawal-MSFT 21,686 Reputation points
    2024-07-09T08:10:40.4933333+00:00

    @VermaShivanchal-2103

    Update- Here is the 3 step which is missing in the doc for adding eventGrid, let us know if you have any other specific questions we can help with. 

     

    1. Register an EventGrid Webhook for the IncomingCall Event that points to your DevTunnel URI ex. https://<devtunnelurl>/api/incomingCall.
    2. Instructions https://learn.microsoft.com/en-us/azure/communication-services/concepts/call-automation/incoming-call-notification
    3. Once that's completed you should have a running application. The best way to test this is to place a call to your ACS phone number and talk to your intelligent agent.

    Hope this helps, Let us know.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.