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/how-tos/call-automation/includes/recognize-action-quickstart-csharp.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,6 @@ ms.author: kpunjabi
16
16
- Azure Communication Services resource. See [Create an Azure Communication Services resource](../../../quickstarts/create-communication-resource.md?tabs=windows&pivots=platform-azp). Note the connection string for this resource.
17
17
- Create a new web service application using the [Call Automation SDK](../../../quickstarts/call-automation/callflows-for-customer-interactions.md).
18
18
- The latest [.NET library](https://dotnet.microsoft.com/download/dotnet-core) for your operating system.
| Prompt <br/><br/> *(for details on Play action, refer to [this how-to guide](../play-action.md))*| FileSource | Not set |This will be the message you wish to play before recognizing input. | Optional |
29
28
| InterToneTimeout | TimeSpan | 2 seconds <br/><br/>**Min:** 1 second <br/>**Max:** 60 seconds | Limit in seconds that ACS will wait for the caller to press another digit (inter-digit timeout). | Optional |
30
-
| InitialSilenceTimeout | TimeSpan |5seconds<br/><br/>**Min:** 0 seconds <br/>**Max:** 300 seconds | How long recognize action will wait for input before considering it a timeout. | Optional |
29
+
| InitialSilenceTimeout | TimeSpan |5 seconds<br/><br/>**Min:** 0 seconds <br/>**Max:** 300 seconds | How long recognize action will wait for input before considering it a timeout. | Optional |
31
30
| MaxTonesToCollect | Integer | No default<br/><br/>**Min:** 1|Number of digits a developer expects as input from the participant.| Required |
32
31
| StopTones |IEnumeration\<DtmfTone\>| Not set | The digit participants can press to escape out of a batch DTMF event. | Optional |
33
32
| InterruptPrompt | Bool | True | If the participant has the ability to interrupt the playMessage by pressing a digit. | Optional |
34
-
| InterruptCallMediaOperation | Bool | True | If this flag is set it will interrupt the current call media operationif any (for example if play is going on) and initiate recognize. | Optional |
33
+
| InterruptCallMediaOperation | Bool | True | If this flag is set it will interrupt the current call media operation. For example if any audio is being played it will interrupt that operation and initiate recognize. | Optional |
35
34
| OperationContext | String | Not set | String that developers can pass mid action, useful for allowing developers to store context about the events they receive. | Optional |
36
35
37
36
## Create a new C# application
@@ -73,7 +72,7 @@ var targetParticipant = new PhoneNumberIdentifier("+1XXXXXXXXXXX");
73
72
74
73
## Receiving recognize event updates
75
74
76
-
Developers can subscribe to the *RecognizeCompleted* and *RecognizeFailed* events on the webhook callback they registered for the call to create business logic in their application for determining next steps when one of the aforementioned events occurs.
75
+
Developers can subscribe to the *RecognizeCompleted* and *RecognizeFailed* events on the webhook callback they registered for the call to create business logic in their application for determining next steps when one of the previously mentioned events occurs.
This Azure Communication Services Call Automation - Appointment Reminder sample demonstrates how your application can use the Call Automation SDK to build automated workflows that create outbound calls to proactively reach out to your customers.
22
22
23
-
> [Note]
24
23
> This sample is available **on GitHub** for [C#](https://github.com/Azure-Samples/communication-services-dotnet-quickstarts/tree/main/CallAutomation_AppointmentReminder) and [Java](https://github.com/Azure-Samples/communication-services-java-quickstarts/tree/main/CallAutomation_AppointmentReminder)
25
24
26
25
## Overview
27
26
28
-
This sample application makes an outbound call to a phone number then performs dtmf recognition and then plays the next audio file based on the key pressed by the callee. This sample application accepts tone 1 (tone1) and 2 (tone2). If the callee presses any key other than what it is expecting, an invalid audio tone will be played and then the call will be disconnected.
27
+
This sample application makes an outbound call to a phone number then performs dtmf recognition and then plays the next audio file based on the key pressed by the callee. This sample application accepts tone 1 (tone1) and 2 (tone2). If the callee presses any key other than what it's expecting, an invalid audio tone will be played and then the call will be disconnected.
29
28
30
29
This sample application is also capable of making multiple concurrent outbound calls.
Copy file name to clipboardExpand all lines: articles/communication-services/samples/includes/ca-appointment-reminder-csharp.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,14 +38,14 @@ ms.author: kpunjabi
38
38
Open the appsetting.json file to configure the following settings
39
39
40
40
1.`ConnectionString`: Azure Communication Service resource's connection string.
41
-
2.`SourcePhone`: Phone number associated with the Azure Communication Service resource. For example "+1425XXXAAAA"
42
-
3.`TargetPhoneNumber`: Target phone number to add in the call. For example "+1425XXXAAAA"
41
+
2.`SourcePhone`: Phone number associated with the Azure Communication Service resource. For example, "+1425XXXAAAA"
42
+
3.`TargetPhoneNumber`: Target phone number to add in the call. For example, "+1425XXXAAAA"
43
43
4.`AppBaseUri`: Base url of the app. (For local development replace the dev tunnel url)
44
44
45
45
### Run app locally
46
46
47
47
1. Run the `CallAutomation_AppointmentReminder` project in debug mode
48
-
2. Browser should pop up with swagger UI. If using Visual studio dev tunnels note the app base url and update it in the appsetting.json file `(AppBaseUri)`
48
+
2. Browser should pop up with swagger UI. If you're using Visual Studio dev tunnels note the app base url and update it in the appsetting.json file `(AppBaseUri)`
49
49
3. To initiate the call, from the swagger ui execute the `/api/call` endpoint or make an Http post request to `https://<AppBaseUri>/api/call`
50
50
51
51
### Publish the Call Automation Appointment Reminder to Azure WebApp
@@ -54,7 +54,7 @@ Open the appsetting.json file to configure the following settings
54
54
2. Create a new publish profile and select your app name, Azure subscription, resource group etc. (choose any unique name, as this URL needed for `AppBaseUri` configuration settings)
55
55
3. After publishing, add the following configurations on Azure portal (under app service's configuration section)
56
56
1. `ConnectionString`: Azure Communication Service resource's connection string.
57
-
2. `SourcePhone`: Phone number associated with the Azure Communication Service resource. For example "+1425XXXAAAA"
58
-
3. `TargetPhoneNumber`: Target phone number to add in the call. For example "+1425XXXAAAA"
57
+
2. `SourcePhone`: Phone number associated with the Azure Communication Service resource. For example, "+1425XXXAAAA"
58
+
3. `TargetPhoneNumber`: Target phone number to add in the call. For example, "+1425XXXAAAA"
59
59
4. `AppBaseUri`: URI of the deployed app service.
60
60
4. Detailed instructions on publishing the app to Azure are available at [Publish a Web app](/visualstudio/deployment/quickstart-deploy-aspnet-web-app?view=vs-2019&tabs=azure&preserve-view=true)
0 commit comments