Skip to content

Commit 483f162

Browse files
committed
edit pass: comm-services-samples-tutorials
1 parent 692cc9e commit 483f162

File tree

7 files changed

+26
-26
lines changed

7 files changed

+26
-26
lines changed

articles/communication-services/how-tos/call-automation/handle-events-with-event-processor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ With the event processor, you can easily wait for the `CallConnected` event unti
7373

7474
If a specific timeout wasn't given when you waited on the event processor, it waits until its default timeout happens. The default timeout is four minutes.
7575

76-
## Use the play request's response to wait for Play events
76+
## Use the Play request response to wait for Play events
7777

7878
Now that the call is established, try to play some audio in the call, and then wait until the media plays.
7979

articles/communication-services/how-tos/call-automation/includes/secure-webhook-endpoint-java.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ Each mid-call webhook callback sent by Call Automation uses a signed JSON Web To
1818
1. Obtain the OpenID configuration URL: <https://acscallautomation.communication.azure.com/calling/.well-known/acsopenidconfiguration>
1919
1. The following sample uses the Spring framework, which is created by using [spring initializr](https://start.spring.io/) with Maven as the project build tool.
2020
1. Add the following dependencies in your `pom.xml`:
21-
22-
```
23-
<dependency>
24-
<groupId>org.springframework.boot</groupId>
25-
<artifactId>spring-boot-starter-security</artifactId>
26-
</dependency>
27-
<dependency>
28-
<groupId>org.springframework.security</groupId>
29-
<artifactId>spring-security-oauth2-jose</artifactId>
30-
</dependency>
31-
<dependency>
32-
<groupId>org.springframework.security</groupId>
33-
<artifactId>spring-security-oauth2-resource-server</artifactId>
34-
</dependency>
35-
```
21+
22+
```
23+
<dependency>
24+
<groupId>org.springframework.boot</groupId>
25+
<artifactId>spring-boot-starter-security</artifactId>
26+
</dependency>
27+
<dependency>
28+
<groupId>org.springframework.security</groupId>
29+
<artifactId>spring-security-oauth2-jose</artifactId>
30+
</dependency>
31+
<dependency>
32+
<groupId>org.springframework.security</groupId>
33+
<artifactId>spring-security-oauth2-resource-server</artifactId>
34+
</dependency>
35+
```
3636
3737
1. Configure your application to validate the JWT and the configuration of your Azure Communication Services resource. You need the `audience` value as it appears in the JWT payload.
3838
1. Validate the issuer, the audience, and the JWT:

articles/communication-services/how-tos/call-automation/includes/secure-webhook-endpoint-javascript.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ Each mid-call webhook callback sent by Call Automation uses a signed JSON Web To
2020
- [express npm](https://www.npmjs.com/package/express)
2121
- [jwks-rsa npm](https://www.npmjs.com/package/jwks-rsa)
2222
- [jsonwebtoken npm](https://www.npmjs.com/package/jsonwebtoken)
23-
24-
```console
25-
npm install express jwks-rsa jsonwebtoken
26-
```
23+
24+
```console
25+
npm install express jwks-rsa jsonwebtoken
26+
```
2727

2828
1. Configure your application to validate the JWT and the configuration of your Azure Communication Services resource. You need the `audience` value as it appears in the JWT payload.
2929
1. Validate the issuer, the audience, and the JWT:

articles/communication-services/how-tos/call-automation/includes/secure-webhook-endpoint-python.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Each mid-call webhook callback sent by Call Automation uses a signed JSON Web To
2020
- [flask pypi](https://pypi.org/project/Flask/)
2121
- [PyJWT pypi](https://pypi.org/project/PyJWT/)
2222

23-
```console
24-
pip install flask pyjwt
25-
```
23+
```console
24+
pip install flask pyjwt
25+
```
2626

2727
1. Configure your application to validate the JWT and the configuration of your Azure Communication Services resource. You need the `audience` value as it appears in the JWT payload.
2828
1. Validate the issuer, the audience, and the JWT:

articles/communication-services/samples/includes/call-automation-ai-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ This Azure Communication Services Call Automation AI sample demonstrates how to
3535

3636
Before you run this sample, you need to set up the resources mentioned in the preceding section with the following configuration updates.
3737

38-
##### Step 1: Set up a Python environment
38+
#### Step 1: Set up a Python environment
3939

4040
Create and activate a Python virtual environment and install the required packages by using the following command:
4141

articles/communication-services/samples/includes/call-automation-azure-openai-csharp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This server-side application helps you create a virtual assistant that can handl
2323
- An Azure account with an active subscription. For more information, see [Create an account for free](https://azure.microsoft.com/free/).
2424
- An Azure Communication Services resource. For more information, see [Create an Azure Communication Services resource](../../quickstarts/create-communication-resource.md?tabs=windows&pivots=platform-azp). You need to record your resource *connection string* for this sample.
2525
- A calling-enabled telephone number. For more information, see [Get a phone number](../../quickstarts/telephony/get-phone-number.md).
26-
- A dev tunnel. For more information, see [Enable dev tunnels](/azure/developer/dev-tunnels/get-started).
26+
- An Azure dev tunnel. For more information, see [Enable dev tunnels](/azure/developer/dev-tunnels/get-started).
2727
- An Azure OpenAI resource and deployed model. For more information, see [Create an Azure OpenAI resource and deploy a model](/azure/ai-services/openai/how-to/create-resource?pivots=web-portal).
2828

2929
> [!NOTE]

articles/communication-services/samples/includes/call-automation-azure-openai-js.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This server-side application helps you create a virtual assistant that can handl
2525
- [Node.js](https://nodejs.org/en/download) installed.
2626
- An Azure Communication Services resource. For more information, see [Create an Azure Communication Services resource](../../quickstarts/create-communication-resource.md?tabs=windows&pivots=platform-azp). You need to record your resource *connection string* for this sample.
2727
- A phone number for your new Azure Communication Services resource. For more information, see [Get a phone number](../../quickstarts/telephony/get-phone-number.md).
28-
- A dev tunnel. For more information, see [Enable dev tunnels](/azure/developer/dev-tunnels/get-started).
28+
- An Azure dev tunnel. For more information, see [Enable dev tunnels](/azure/developer/dev-tunnels/get-started).
2929
- An Azure OpenAI resource and deployed model. For more information, see [Create an Azure OpenAI resource and deploy a model](/azure/ai-services/openai/how-to/create-resource?pivots=web-portal).
3030

3131
> [!NOTE]

0 commit comments

Comments
 (0)