Skip to content

Commit 803f3aa

Browse files
committed
record every call issues
1 parent 991ee9b commit 803f3aa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/communication-services/how-tos/call-automation/record-every-call.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Record a call when it starts
33
titleSuffix: An Azure Communication Services how-to document
4-
description: "In this how-to document, you can learn how to record a call through Azure Communication Services once it starts"
4+
description: In this how-to document, you can learn how to record a call through Azure Communication Services once it starts.
55
author: ddematheu2
66
manager: shahen
77
services: azure-communication-services
@@ -187,15 +187,15 @@ To run the function locally, you can press `F5` in Visual Studio Code. We use [n
187187

188188
Copy the ngrok link provided where your function is running.
189189

190-
2. Configure C`allStarted` events through Event Grid within your Azure Communication Services resource. We do this using the [Azure CLI](/cli/azure/install-azure-cli-windows?tabs=azure-cli). You need the resource ID for your Azure Communication Services resource found in the Azure portal. (The resource ID will look something like:  `/subscriptions/<<AZURE SUBSCRIPTION ID>>/resourceGroups/<<RESOURCE GROUP NAME>>/providers/Microsoft.Communication/CommunicationServices/<<RESOURCE NAME>>`)
190+
2. Configure C`allStarted` events through Event Grid within your Azure Communication Services resource. We do this using the [Azure CLI](/cli/azure/install-azure-cli-windows?tabs=azure-cli). You need the resource ID for your Azure Communication Services resource found in the Azure portal. (The resource ID looks something like:  `/subscriptions/<<AZURE SUBSCRIPTION ID>>/resourceGroups/<<RESOURCE GROUP NAME>>/providers/Microsoft.Communication/CommunicationServices/<<RESOURCE NAME>>`)
191191
192192
```bash
193193
194194
az eventgrid event-subscription create --name "<<EVENT_SUBSCRIPTION_NAME>>" --endpoint-type webhook --endpoint "<<NGROK URL>>/runtime/webhooks/EventGrid?functionName=<<FUNCTION NAME>> " --source-resource-id "<<RESOURCE_ID>>" --included-event-types Microsoft.Communication.CallStarted
195195
196196
```
197197
198-
3. Now that everything is hooked up, test the flow by sending an starting a call on your resource. You should see the console logs on your terminal where the function is running. You can check that the recording is starting by using the [call recording feature](../calling-sdk/record-calls.md?pivots=platform-web) on the calling SDK and check for the boolean to turn TRUE.
198+
3. Now that everything is hooked up, test the flow by starting a call on your resource. You should see the console logs on your terminal where the function is running. You can check that the recording is starting by using the [call recording feature](../calling-sdk/record-calls.md?pivots=platform-web) on the calling SDK and check for the boolean to turn TRUE.
199199
200200
### Deploy to Azure
201201
@@ -207,6 +207,6 @@ az eventgrid event-subscription update --name "<<EVENT_SUBSCRIPTION_NAME>>" --en
207207
208208
```
209209
210-
Since we are updating the event subscription we had created before, make sure to use the same event subscription name you used in the previous step.
210+
Since we're updating the event subscription we created, make sure to use the same event subscription name you used in the previous step.
211211
212212
You can test by starting a call in your resource, similar to the previous step.

0 commit comments

Comments
 (0)