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/tutorials/calling-widget/calling-widget-tutorial.md
+29-2Lines changed: 29 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,6 @@ ms.subservice: calling
15
15
16
16
# Get started with Azure Communication Services UI library calling to Teams Voice Apps
17
17
18
-

19
-
20
18
This project aims to guide developers to initiate a call from the Azure Communication Services Calling Web SDK to Teams Call Queue and Auto Attendant using the Azure Communication UI Library.
21
19
22
20
As per your requirements, you might need to offer your customers an easy way to reach out to you without any complex setup.
@@ -30,6 +28,8 @@ Following this tutorial will:
30
28
- Allow you to control your customers audio and video experience depending on your customer scenario
31
29
- Teach you how to build a widget for starting calls on your webapp using the UI library.
32
30
31
+

32
+
33
33
## Prerequisites
34
34
These are **needed** in order to follow this tutorial. Please contact your Teams admin for the last two items to make sure you are set up appropriately.
Before we run the app go to `App.tsx` and replace the placeholder values there with your Azure Communication Services Identities and the identifier for your Teams Voice application. Here are input values for the `token`, `userId` and `teamsAppIdentifier`.
641
+
642
+
`./src/App.tsx`
643
+
```typescript
644
+
/**
645
+
* Token for local user.
646
+
*/
647
+
const token ="<Enter your ACS Token here>";
648
+
649
+
/**
650
+
* User identifier for local user.
651
+
*/
652
+
const userId:CommunicationIdentifier= {
653
+
communicationUserId: "Enter your ACS Id here",
654
+
};
655
+
656
+
/**
657
+
* Enter your Teams voice app identifier from the Teams admin center here
0 commit comments