You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/voice-video-calling/includes/call-automation/callflow-for-customer-interactions-csharp.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,20 +78,16 @@ From the Azure portal, locate your Communication Service resource and click on t
78
78
Using the minimal API feature in .NET 6, we can easily add an HTTP POST map and answer the call. A callback URI is required so the service knows how to contact your web server for subsequent calls state events such as `CallConnected` and `PlayCompleted`.
79
79
80
80
NOTE: The code sample also illustrates how you can control the callback URI by setting your own context/ID when you answer the call. All events generated by the call will be sent to the specific route you provide when answering an inbound call and the same applies to when you place an outbound call.
1. Place a call to the number you acquired in the Azure portal (see prerequisites above).
156
156
2. Your Event Grid subscription to the `IncomingCall` should execute and call your web server.
157
157
3. The call will be answered, and an asynchronous web hook callback will be sent to the NGROK callback URI.
158
-
4. When the call is connected, a `CallConnected` event will be sent to your web server, wrapped in a `CloudEvent` schema and can be easily deserialized using the Call Automation SDK parser. At this point, the application will request audio to be played in a loop to all participants on the call.
159
-
5. When the audio file has played, a `PlayCompleted` event is received, and the web server will make a request to add a participant to the call.
158
+
4. When the call is connected, a `CallConnected` event will be sent to your web server, wrapped in a `CloudEvent` schema and can be easily deserialized using the Call Automation SDK parser. At this point the application will request audio to be played and input from a targeted phone number.
159
+
5. When the input has been received and recognized, the web server will make a request to add a participant to the call.
0 commit comments