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/communications-gateway/configure-test-customer-teams-direct-routing.md
+36-11Lines changed: 36 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: rcdun
5
5
ms.author: rdunstan
6
6
ms.service: communications-gateway
7
7
ms.topic: how-to
8
-
ms.date: 01/08/2024
8
+
ms.date: 03/22/2024
9
9
10
10
#CustomerIntent: As someone deploying Azure Communications Gateway, I want to test my deployment so that I can be sure that calls work.
11
11
---
@@ -19,6 +19,11 @@ Testing Microsoft Teams Direct Routing requires some test numbers in a Microsoft
19
19
>
20
20
> For more information about how Azure Communications Gateway and Microsoft Teams use tenant configuration to route calls, see [Support for multiple customers with the Microsoft Teams multitenant model](interoperability-teams-direct-routing.md#support-for-multiple-customers-with-the-microsoft-teams-multitenant-model).
21
21
22
+
This article provides detailed guidance equivalent to the following steps in the [Microsoft Teams documentation for configuring an SBC for multiple tenants](/microsoftteams/direct-routing-sbc-multiple-tenants).
23
+
24
+
- Registering a subdomain name in the customer tenant.
25
+
- Configuring derived trunks in the customer tenant (including failover).
26
+
22
27
## Prerequisites
23
28
24
29
You must have a Microsoft 365 tenant that you can use as a test customer. You must have at least one number that you can allocate to this test customer.
@@ -33,6 +38,11 @@ Your organization must [integrate with Azure Communications Gateway's Provisioni
33
38
34
39
You must be able to sign in to the Microsoft 365 admin center for your test customer tenant as a Global Administrator.
35
40
41
+
You must be able to configure the tenant with at least two user or resource accounts licensed for Microsoft Teams. For more information on suitable licenses, see the [Microsoft Teams documentation](/microsoftteams/direct-routing-sbc-multiple-tenants#activate-the-subdomain-name).
42
+
43
+
- You need two user or resource accounts to activate the Azure Communications Gateway domains that you add to Microsoft 365 by following this article. Lab deployments require one account.
44
+
- You need at least one user account to use for testing later when you carry out [Configure test numbers for Microsoft Teams Direct Routing with Azure Communications Gateway](configure-test-numbers-teams-direct-routing.md). You can reuse one of the accounts that you use to activate the domains, or you can use an account with one of the other domain names for this tenant.
45
+
36
46
## Choose a DNS subdomain label to use to identify the customer
37
47
38
48
Azure Communications Gateway has _per-region domain names_ for connecting to Microsoft Teams Direct Routing. You need to set up subdomains of these domain names for your test customer. Microsoft Phone System and Azure Communications Gateway use these subdomains to match calls to tenants.
@@ -44,41 +54,41 @@ Azure Communications Gateway has _per-region domain names_ for connecting to Mic
44
54
- For example, you could allocate the label `test`.
45
55
> [!IMPORTANT]
46
56
> The full customer subdomains (including the per-region domain names) must be a maximum of 48 characters. Microsoft Entra ID does not support domain names of more than 48 characters. For example, the customer subdomain `contoso1.1-r1.a1b2c3d4e5f6g7h8.commsgw.azure.com` is 48 characters.
47
-
1. Use this label to create a subdomain of each per-region domain name for your Azure Communications Gateway.
48
-
1. Make a note of the label you choose and the corresponding subdomains.
57
+
1. Use this label to create a _customer subdomain_ of each per-region domain name for your Azure Communications Gateway.
58
+
1. Make a note of the label you choose and the corresponding customer subdomains.
49
59
50
60
For example:
51
61
- Your base domain name might be `<deployment-id>.commsgw.azure.com`, where `<deployment-id>` is autogenerated and unique to the deployment.
52
62
- Your per-region domain names are therefore:
53
63
-`1-r1.<deployment-id>.commsgw.azure.com`
54
64
-`1-r2.<deployment-id>.commsgw.azure.com`
55
-
- If you allocate the label `test`, this label combined with the per-region domain names creates the following domain names for your test customer:
65
+
- If you allocate the label `test`, this label combined with the per-region domain names creates the following customer subdomains for your test customer:
56
66
-`test.1-r1.<deployment-id>.commsgw.azure.com`
57
67
-`test.1-r2.<deployment-id>.commsgw.azure.com`
58
68
59
69
> [!IMPORTANT]
60
70
> The per-region domain names for connecting to Microsoft Teams Direct Routing are different to the per-region domain names for connecting to your network.
61
71
62
72
> [!TIP]
63
-
> Lab deployments have one per-region domain name. Your test customer therefore also only has one customer-specific per-region domain name.
73
+
> Lab deployments have one per-region domain name. Your test customer therefore also only has one customer subdomain.
64
74
65
75
## Start registering the subdomains in the customer tenant and get DNS TXT values
66
76
67
-
To route calls to a customer tenant, the customer tenant must be configured with the customer-specific per-region domain names that you allocated in [Choose a DNS subdomain label to use to identify the customer](#choose-a-dns-subdomain-label-to-use-to-identify-the-customer). Microsoft 365 then requires you (as the carrier) to create DNS records that use a verification code that Microsoft 365 supplies in the customer tenant.
77
+
To route calls to a customer tenant, the customer tenant must be configured with the customer subdomains that you allocated in [Choose a DNS subdomain label to use to identify the customer](#choose-a-dns-subdomain-label-to-use-to-identify-the-customer). Microsoft 365 then requires you (as the carrier) to create DNS records that use a verification code from the customer tenant.
68
78
69
79
1. Sign into the Microsoft 365 admin center for the customer tenant as a Global Administrator.
70
80
1. Using [Add a subdomain to the customer tenant and verify it](/microsoftteams/direct-routing-sbc-multiple-tenants#add-a-subdomain-to-the-customer-tenant-and-verify-it):
71
-
1. Register the first customer-specific per-region domain name (for example `test.1-r1.<deployment-id>.commsgw.azure.com`).
81
+
1. Register the first customer subdomain (for example `test.1-r1.<deployment-id>.commsgw.azure.com`).
72
82
1. Start the verification process using TXT records.
73
83
1. Note the TXT value that Microsoft 365 provides.
74
-
1. (Production deployments only) Repeat the previous step for the second customer-specific per-region domain name.
84
+
1. (Production deployments only) Repeat the previous step for the second customer subdomain.
75
85
76
86
> [!IMPORTANT]
77
87
> Don't complete the verification process yet. You must carry out [Use Azure Communications Gateway's Provisioning API to configure the customer and generate DNS records](#use-azure-communications-gateways-provisioning-api-to-configure-the-customer-and-generate-dns-records) first.
78
88
79
89
## Use Azure Communications Gateway's Provisioning API to configure the customer and generate DNS records
80
90
81
-
Azure Communications Gateway includes a DNS server. You must use Azure Communications Gateway to create the DNS records required to verify the customer subdomain. To generate the records, provision the details of the customer tenant and the DNS TXT values on Azure Communications Gateway.
91
+
Azure Communications Gateway includes a DNS server. You must use Azure Communications Gateway to create the DNS records required to verify the customer subdomains. To generate the records, provision the details of the customer tenant and the DNS TXT values on Azure Communications Gateway.
82
92
83
93
1. Use Azure Communications Gateway's Provisioning API to configure the customer as an account. The request must:
84
94
- Enable Direct Routing for the account.
@@ -94,14 +104,29 @@ When you have used Azure Communications Gateway to generate the DNS records for
94
104
95
105
1. Sign into the Microsoft 365 admin center for the customer tenant as a Global Administrator.
96
106
1. Select **Settings** > **Domains**.
97
-
1. Finish verifying the customer-specific per-region domain names by following [Add a subdomain to the customer tenant and verify it](/microsoftteams/direct-routing-sbc-multiple-tenants#add-a-subdomain-to-the-customer-tenant-and-verify-it).
107
+
1. Finish verifying the customer subdomains by following [Add a subdomain to the customer tenant and verify it](/microsoftteams/direct-routing-sbc-multiple-tenants#add-a-subdomain-to-the-customer-tenant-and-verify-it).
108
+
109
+
## Activate the domains in the customer tenant
110
+
111
+
To activate the customer subdomains in Microsoft 365, set up at least one user or resource account licensed for Microsoft Teams for each domain name. For information on the licenses you can use and instructions, see [Activate the subdomain name](/microsoftteams/direct-routing-sbc-multiple-tenants#activate-the-subdomain-name).
112
+
113
+
> [!IMPORTANT]
114
+
> Ensure the accounts use the customer subdomains (for example, `test.1-r1.<deployment-id>.commsgw.azure.com`), instead of any existing domain names in the tenant.
98
115
99
116
## Configure the customer tenant's call routing to use Azure Communications Gateway
100
117
101
118
In the customer tenant, [configure a call routing policy](/microsoftteams/direct-routing-voice-routing) (also called a voice routing policy) with a voice route that routes calls to Azure Communications Gateway.
102
-
- Set the PSTN gateway to the customer-specific per-region domain names for Azure Communications Gateway (for example, `test.1-r1.<deployment-id>.commsgw.azure.com` and `test.1-r2.<deployment-id>.commsgw.azure.com`).
119
+
- Set the PSTN gateway to the customer subdomains for Azure Communications Gateway (for example, `test.1-r1.<deployment-id>.commsgw.azure.com` and `test.1-r2.<deployment-id>.commsgw.azure.com`). This sets up _derived trunks_ for the customer tenant.
103
120
- Don't configure any users to use the call routing policy yet.
104
121
122
+
> [!IMPORTANT]
123
+
> You must use PowerShell to set the PSTN gateways for the voice route, because the Microsoft Teams Admin Center doesn't support adding derived trunks. You can use the Microsoft Teams Admin Center for all other voice route configuration.
124
+
>
125
+
> To set the PSTN gateways for a voice route, use the following PowerShell command.
Copy file name to clipboardExpand all lines: articles/communications-gateway/configure-test-numbers-teams-direct-routing.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: rcdun
5
5
ms.author: rdunstan
6
6
ms.service: communications-gateway
7
7
ms.topic: how-to
8
-
ms.date: 10/09/2023
8
+
ms.date: 03/22/2024
9
9
10
10
#CustomerIntent: As someone deploying Azure Communications Gateway, I want to test my deployment so that I can be sure that calls work.
11
11
---
@@ -21,6 +21,8 @@ To test Microsoft Teams Direct Routing with Azure Communications Gateway, you ne
21
21
22
22
You must have at least one number that you can allocate to your test tenant.
23
23
24
+
You must be able to configure the tenant with at least one user account licensed for Microsoft Teams. You can reuse one of the accounts that you use to activate the customer subdomains in [Configure a test customer for Microsoft Teams Direct Routing](configure-test-customer-teams-direct-routing.md), or you can use an account with one of the other domain names for this tenant.
25
+
24
26
You must complete the following procedures.
25
27
26
28
-[Prepare to deploy Azure Communications Gateway](prepare-to-deploy.md)
@@ -29,6 +31,7 @@ You must complete the following procedures.
29
31
-[Configure a test customer for Microsoft Teams Direct Routing](configure-test-customer-teams-direct-routing.md)
30
32
31
33
Your organization must [integrate with Azure Communications Gateway's Provisioning API](integrate-with-provisioning-api.md). Someone in your organization must be able to make requests using the Provisioning API during this procedure.
34
+
32
35
You must be able to sign in to the Microsoft 365 admin center for your test customer tenant as a Global Administrator.
33
36
34
37
## Configure the test numbers on Azure Communications Gateway with the Provisioning API
Copy file name to clipboardExpand all lines: articles/communications-gateway/connect-teams-direct-routing.md
+28-7Lines changed: 28 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: rcdun
5
5
ms.author: rdunstan
6
6
ms.service: communications-gateway
7
7
ms.topic: integration
8
-
ms.date: 01/08/2024
8
+
ms.date: 03/22/2024
9
9
ms.custom:
10
10
- template-how-to-pattern
11
11
---
@@ -16,6 +16,11 @@ After you deploy Azure Communications Gateway and connect it to your core networ
16
16
17
17
This article describes how to start connecting Azure Communications Gateway to Microsoft Teams Direct Routing. After you finish the steps in this article, you can set up test users for test calls and prepare for live traffic.
18
18
19
+
This article provides detailed guidance equivalent to the following steps in the [Microsoft Teams documentation for configuring an SBC for multiple tenants](/microsoftteams/direct-routing-sbc-multiple-tenants).
20
+
21
+
- Registering a base domain name in the carrier tenant.
22
+
- Creating a trunk in the carrier tenant (a _carrier trunk_).
23
+
19
24
## Prerequisites
20
25
21
26
You must [deploy Azure Communications Gateway](deploy.md).
@@ -28,6 +33,8 @@ You must have **Reader** access to the subscription into which Azure Communicati
28
33
29
34
You must be able to sign in to the Microsoft 365 admin center for your tenant as a Global Administrator.
30
35
36
+
You must be able to configure your tenant with two user or resource accounts licensed for Microsoft Teams. Lab deployments require one account. For more information on suitable licenses, see the [Microsoft Teams documentation](/microsoftteams/direct-routing-sbc-multiple-tenants#activate-the-domain-name).
37
+
31
38
## Enable Microsoft Teams Direct Routing support
32
39
33
40
> [!NOTE]
@@ -55,12 +62,12 @@ Microsoft Teams only sends traffic to domains that you confirm that you own. You
55
62
1. Work out the _per-region domain names_ for connecting to Microsoft Teams Direct Routing. These use the form `1-r<region-number>.<base-domain-name>`.
56
63
- A production deployment has two service regions and therefore two per-region domain names: `1-r1.<base-domain-name>` and `1-r2.<base-domain-name>`
57
64
- A lab deployment has one service region and therefore one per-region domain name: `1-r1.<base-domain-name>`.
58
-
1. Note down the base domain name and the per-region domain name(s). You'll need these values in the next steps.
65
+
1. Note down the base domain name and the per-region domain names. You'll need these values in the next steps.
59
66
60
67
> [!IMPORTANT]
61
68
> The domain names for connecting to Microsoft Teams Direct Routing are different to the domain names for connecting to your network.
62
69
63
-
## Register the base domain name for Azure Communications Gateway in your tenant
70
+
## Register the base domain name in your tenant
64
71
65
72
You need to register the base domain for Azure Communications Gateway in your tenant and verify it. Registering and verifying the base domain proves that you control the domain.
66
73
@@ -69,7 +76,7 @@ You need to register the base domain for Azure Communications Gateway in your te
69
76
> - You must register Azure Communications Gateway's base domain name.
70
77
> - Microsoft 365 automatically verifies the base domain name.
71
78
72
-
Follow the instructions [to add a base domain to your tenant](/microsoftteams/direct-routing-sbc-multiple-tenants#add-a-base-domain-to-the-tenant-and-verify-it). Use the base domain name that you found in [Find your Azure Communication Gateway's domain names for connecting to Microsoft Teams Direct Routing](#find-your-azure-communication-gateways-domain-names-for-connecting-to-microsoft-teams-direct-routing).
79
+
Follow the instructions [to add a domain to your tenant](/microsoftteams/direct-routing-sbc-multiple-tenants#add-a-base-domain-to-the-tenant-and-verify-it). Use the base domain name that you found in [Find your Azure Communication Gateway's domain names for connecting to Microsoft Teams Direct Routing](#find-your-azure-communication-gateways-domain-names-for-connecting-to-microsoft-teams-direct-routing).
73
80
74
81
If Microsoft 365 prompts you to verify the domain name:
75
82
@@ -91,7 +98,7 @@ If you don't already have an onboarding team, contact azcog-enablement@microsoft
91
98
## Finish verifying the base domain name in Microsoft 365
92
99
93
100
> [!NOTE]
94
-
> If Microsoft 365 did not prompt you to verify the domain in [Register the base domain name for Azure Communications Gateway in your tenant](#register-the-base-domain-name-for-azure-communications-gateway-in-your-tenant), skip this step.
101
+
> If Microsoft 365 did not prompt you to verify the domain in [Register the base domain name in your tenant](#register-the-base-domain-name-in-your-tenant), skip this step.
95
102
96
103
After your onboarding team confirms that the DNS records have been set up, finish verifying the base domain name in the Microsoft 365 admin center.
97
104
@@ -102,9 +109,19 @@ After your onboarding team confirms that the DNS records have been set up, finis
102
109
1. Select **Finish** on the **Update DNS settings** page.
103
110
1. Ensure that the status is **Setup complete**.
104
111
105
-
## Set up a user or resource account with the base domain and an appropriate license
112
+
## Register the per-region domain names in your tenant
113
+
114
+
Before you can connect your tenant to Azure Communications Gateway, you need to:
115
+
- Register the per-region domain names for connecting to Microsoft Teams Direct Routing in your tenant (this step).
116
+
- Activate the domain names in Microsoft 365 by setting up a user or resource account for each domain name and an appropriate license (next step).
117
+
118
+
Follow the instructions [to add a domain to your tenant](/microsoftteams/direct-routing-sbc-multiple-tenants#add-a-base-domain-to-the-tenant-and-verify-it) once for each per-region domain name. You found these domain names in [Find your Azure Communication Gateway's domain names for connecting to Microsoft Teams Direct Routing](#find-your-azure-communication-gateways-domain-names-for-connecting-to-microsoft-teams-direct-routing).
106
119
107
-
To activate the base domain in Microsoft 365, you must have at least one user or resource account licensed for Microsoft Teams. For more information, including the licenses you can use, see [Activate the domain name](/microsoftteams/direct-routing-sbc-multiple-tenants#activate-the-domain-name).
120
+
Microsoft 365 should automatically verify these domain names, because you verified the base domain name.
121
+
122
+
## Active the per-region domain names in your tenant
123
+
124
+
To activate the per-region domain names in Microsoft 365, set up at least one user or resource account licensed for Microsoft Teams for each per-region domain name. For information on the licenses you can use and instructions, see [Activate the domain name](/microsoftteams/direct-routing-sbc-multiple-tenants#activate-the-domain-name).
108
125
109
126
## Connect your tenant to Azure Communications Gateway
110
127
@@ -131,6 +148,10 @@ Use [Connect your Session Border Controller (SBC) to Direct Routing](/microsoftt
131
148
132
149
Use the default values for all other settings.
133
150
151
+
## Confirm that your SIP trunks are active
152
+
153
+
Confirm that the SIP OPTIONS status of each SIP trunk is Active.
0 commit comments