Skip to content

Commit d907afe

Browse files
authored
Merge pull request #245073 from rzdor/ruslanz/click-to-call-startup
add quick start for acs to call queue connection
2 parents cd1d711 + 8fa803e commit d907afe

File tree

12 files changed

+1991
-0
lines changed

12 files changed

+1991
-0
lines changed
26.3 KB
Loading
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
title: Quickstart - Call to Teams user with Azure Communication Services
3+
titleSuffix: An Azure Communication Services quickstart
4+
description: In this quickstart, you learn how to make a call to Teams user with the Azure Communication Calling SDK.
5+
author: ruslanzdor
6+
ms.author: ruslanzdor
7+
ms.date: 07/19/2023
8+
ms.topic: quickstart
9+
ms.service: azure-communication-services
10+
ms.subservice: calling
11+
zone_pivot_groups: acs-plat-web-ios-android-windows
12+
ms.custom: mode-other, devx-track-js
13+
---
14+
15+
# Quickstart: How to make a call between your application and Teams user
16+
17+
In this quickstart, you're going to learn how to start a call from Azure Communication Services user to Teams user. You're going to achieve it with the following steps:
18+
19+
1. Enable federation of Azure Communication Services resource with Teams Tenant.
20+
2. Find Teams user ID.
21+
3. Start a call with Azure Communication Services Calling SDK.
22+
23+
## Get the Teams user Object ID
24+
25+
All Teams information could be found in [Microsoft Graph Explorer](https://developer.microsoft.com/en-us/graph/graph-explorer) using email in the search.
26+
27+
```console
28+
https://graph.microsoft.com/v1.0/users/[email protected]
29+
```
30+
31+
In results, we be able to find "ID" field
32+
33+
```json
34+
"userPrincipalName": "[email protected]",
35+
"id": "31a011c2-2672-4dd0-b6f9-9334ef4999db"
36+
```
37+
38+
Or the same ID could be found in [Azure portal](https://aka.ms/portal) in Users tab:
39+
![User Object ID in Azure Portal](./includes/teams-user/portal-user-id.png)
40+
41+
::: zone pivot="platform-web"
42+
[!INCLUDE [Calling with JavaScript](./includes/teams-user/teams-user-javascript.md)]
43+
::: zone-end
44+
45+
::: zone pivot="platform-windows"
46+
[!INCLUDE [Calling with Windows](./includes/teams-user/teams-user-windows.md)]
47+
::: zone-end
48+
49+
::: zone pivot="platform-android"
50+
[!INCLUDE [Calling with Android](./includes/teams-user/teams-user-android.md)]
51+
::: zone-end
52+
53+
::: zone pivot="platform-ios"
54+
[!INCLUDE [Calling with iOS](./includes/teams-user/teams-user-ios.md)]
55+
::: zone-end
56+
57+
58+
## Clean up resources
59+
60+
If you want to clean up and remove a Communication Services subscription, you can delete the resource or resource group. Deleting the resource group also deletes any other resources associated with it. Learn more about [cleaning up resources](../create-communication-resource.md#clean-up-resources).
61+
62+
## Next steps
63+
64+
For more information, see the following articles:
65+
66+
- Check out our [calling hero sample](../../samples/calling-hero-sample.md)
67+
- Get started with the [UI Library](../ui-library/get-started-composites.md)
68+
- Learn about [Calling SDK capabilities](./getting-started-with-calling.md)
69+
- Learn more about [how calling works](../../concepts/voice-video-calling/about-call-types.md)
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
title: Quickstart - Teams Auto Attendant on Azure Communication Services
3+
titleSuffix: An Azure Communication Services quickstart
4+
description: In this quickstart, you learn how to create and join a Teams Auto Attendant with the Azure Communication Calling SDK.
5+
author: ruslanzdor
6+
ms.author: ruslanzdor
7+
ms.date: 07/14/2023
8+
ms.topic: quickstart
9+
ms.service: azure-communication-services
10+
ms.subservice: calling
11+
ms.custom: mode-other, devx-track-js
12+
---
13+
14+
# Quickstart: Join your calling app to a Teams Auto Attendant
15+
16+
In this quickstart you are going to learn how to start a call from Azure Communication Services user to Teams Auto Attendant. You are going to achieve it with the following steps:
17+
18+
1. Enable federation of Azure Communication Services resource with Teams Tenant.
19+
2. Select or create Teams Auto Attendant via Teams Admin Center.
20+
3. Get email address of Auto Attendant via Teams Admin Center.
21+
4. Get Object ID of the Auto Attendant via Graph API.
22+
5. Start a call with Azure Communication Services Calling SDK.
23+
24+
If you'd like to skip ahead to the end, you can download this quickstart as a sample on [GitHub](https://github.com/Azure-Samples/communication-services-javascript-quickstarts/tree/main/add-1-on-1-cte-video-calling).
25+
26+
## Create or select Teams Auto Attendant
27+
28+
Teams Auto Attendant is system that provides an automated call handling system for incoming calls. It serves as a virtual receptionist, allowing callers to be automatically routed to the appropriate person or department without the need for a human operator. You can select existing or create new Auto Attendant via [Teams Admin Center](https://aka.ms/teamsadmincenter).
29+
30+
Learn more about how to create Auto Attendant using Teams Admin Center [here](/microsoftteams/create-a-phone-system-auto-attendant?tabs=general-info).
31+
32+
## Find Object ID for Auto Attendant
33+
34+
After Auto Attendant is created, we need to find correlated Object ID to use it later for calls. Object ID is connected to Resource Account that was attached to Auto Attendant - open [Resource Accounts tab](https://admin.teams.microsoft.com/company-wide-settings/resource-accounts) in Teams Admin and find email of account.
35+
:::image type="content" source="../media/teams-call-queue-resource-account.PNG" alt-text="Screenshot of Resource Accounts in Teams Admin Portal.":::
36+
All required information for Resource Account can be found in [Microsoft Graph Explorer](https://developer.microsoft.com/en-us/graph/graph-explorer) using this email in the search.
37+
38+
```console
39+
https://graph.microsoft.com/v1.0/users/[email protected]
40+
```
41+
42+
In results we'll are able to find "ID" field
43+
44+
```json
45+
"userPrincipalName": "[email protected]",
46+
"id": "31a011c2-2672-4dd0-b6f9-9334ef4999db"
47+
```
48+
49+
[!INCLUDE [Call Queue with JavaScript](./includes/teams-auto-attendant/teams-auto-attendant-javascript.md)]
50+
51+
## Clean up resources
52+
53+
If you want to clean up and remove a Communication Services subscription, you can delete the resource or resource group. Deleting the resource group also deletes any other resources associated with it. Learn more about [cleaning up resources](../create-communication-resource.md#clean-up-resources).
54+
55+
## Next steps
56+
57+
For more information, see the following articles:
58+
59+
- Check out our [calling hero sample](../../samples/calling-hero-sample.md)
60+
- Get started with the [UI Library](../ui-library/get-started-composites.md)
61+
- Learn about [Calling SDK capabilities](./getting-started-with-calling.md)
62+
- Learn more about [how calling works](../../concepts/voice-video-calling/about-call-types.md)
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
title: Quickstart - Teams Call Queue on Azure Communication Services
3+
titleSuffix: An Azure Communication Services quickstart
4+
description: In this quickstart, you learn how to create and join a Teams call queue with the Azure Communication Calling SDK.
5+
author: ruslanzdor
6+
ms.author: ruslanzdor
7+
ms.date: 07/14/2023
8+
ms.topic: quickstart
9+
ms.service: azure-communication-services
10+
ms.subservice: calling
11+
ms.custom: mode-other, devx-track-js
12+
---
13+
14+
# Quickstart: Join your calling app to a Teams call queue
15+
16+
In this quickstart you are going to learn how to start a call from Azure Communication Services user to Teams Call Queue. You are going to achieve it with the following steps:
17+
18+
1. Enable federation of Azure Communication Services resource with Teams Tenant.
19+
2. Select or create Teams Call Queue via Teams Admin Center.
20+
3. Get email address of Call Queue via Teams Admin Center.
21+
4. Get Object ID of the Call Queue via Graph API.
22+
5. Start a call with Azure Communication Services Calling SDK.
23+
24+
If you'd like to skip ahead to the end, you can download this quickstart as a sample on [GitHub](https://github.com/Azure-Samples/communication-services-javascript-quickstarts/tree/main/add-1-on-1-cte-video-calling).
25+
26+
## Create or select Teams Call Queue
27+
28+
Teams Call Queue is a feature in Microsoft Teams that efficiently distributes incoming calls among a group of designated users or agents. It's useful for customer support or call center scenarios. Calls are placed in a queue and assigned to the next available agent based on a predetermined routing method. Agents receive notifications and can handle calls using Teams' call controls. The feature offers reporting and analytics for performance tracking. It simplifies call handling, ensures a consistent customer experience, and optimizes agent productivity. You can select existing or create new Call Queue via [Teams Admin Center](https://aka.ms/teamsadmincenter).
29+
30+
Learn more about how to create Auto Attendant using Teams Admin Center [here](/microsoftteams/create-a-phone-system-auto-attendant?tabs=general-info).
31+
32+
## Find Object ID for Call Queue
33+
34+
After Call queue is created, we need to find correlated Object ID to use it later for calls. Object ID is connected to Resource Account that was attached to call queue - open [Resource Accounts tab](https://admin.teams.microsoft.com/company-wide-settings/resource-accounts) in Teams Admin and find email.
35+
:::image type="content" source="../media/teams-call-queue-resource-account.PNG" alt-text="Screenshot of Resource Accounts in Teams Admin Portal.":::
36+
All required information for Resource Account can be found in [Microsoft Graph Explorer](https://developer.microsoft.com/en-us/graph/graph-explorer) using this email in the search.
37+
38+
```console
39+
https://graph.microsoft.com/v1.0/users/[email protected]
40+
```
41+
42+
In results we'll are able to find "ID" field
43+
44+
```json
45+
"userPrincipalName": "[email protected]",
46+
"id": "31a011c2-2672-4dd0-b6f9-9334ef4999db"
47+
```
48+
49+
[!INCLUDE [Call Queue with JavaScript](./includes/teams-call-queue/teams-call-queue-javascript.md)]
50+
51+
## Clean up resources
52+
53+
If you want to clean up and remove a Communication Services subscription, you can delete the resource or resource group. Deleting the resource group also deletes any other resources associated with it. Learn more about [cleaning up resources](../create-communication-resource.md#clean-up-resources).
54+
55+
## Next steps
56+
57+
For more information, see the following articles:
58+
59+
- Check out our [calling hero sample](../../samples/calling-hero-sample.md)
60+
- Get started with the [UI Library](../ui-library/get-started-composites.md)
61+
- Learn about [Calling SDK capabilities](./getting-started-with-calling.md)
62+
- Learn more about [how calling works](../../concepts/voice-video-calling/about-call-types.md)

0 commit comments

Comments
 (0)