Skip to content

Commit 0cf10ce

Browse files
authored
Merge pull request #199543 from cdpark/dev-edit-bobazile
Dev edit bobazile
2 parents 4e3d39c + c53dbfa commit 0cf10ce

File tree

2 files changed

+32
-19
lines changed

2 files changed

+32
-19
lines changed

articles/communication-services/concepts/telephony/direct-routing-provisioning.md

Lines changed: 31 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
---
2-
title: Azure direct routing provisioning and configuration - Azure Communication Services
3-
description: Learn how to add a Session Border Controller and configure voice routing for Azure Communication Services direct routing
2+
title: Use direct routing to connect existing telephony service
3+
description: Learn how to add a Session Border Controller and configure voice routing for Azure Communication Services direct routing.
44
author: boris-bazilevskiy
55
manager: nmurav
66
services: azure-communication-services
77

88
ms.author: bobazile
9-
ms.date: 06/30/2021
9+
ms.date: 05/26/2022
1010
ms.topic: conceptual
1111
ms.service: azure-communication-services
1212
ms.subservice: pstn
13+
ms.custom: kr2b-contr-experiment
1314
---
1415

15-
# Session Border Controllers and voice routing
16+
# Use direct routing to connect to existing telephony service
1617
Azure Communication Services direct routing enables you to connect your existing telephony infrastructure to Azure. The article lists the high-level steps required for connecting a supported Session Border Controller (SBC) to direct routing and how voice routing works for the enabled Communication resource.
1718

1819
[!INCLUDE [Public Preview](../../includes/public-preview-include-document.md)]
@@ -24,22 +25,34 @@ For information about whether Azure Communication Services direct routing is the
2425

2526
### Configure using Azure portal
2627
1. In the left navigation, select Direct routing under Voice Calling - PSTN and then select Configure from the Session Border Controller tab.
27-
1. Enter a fully qualified domain name and signaling port for the SBC.
28-
29-
- SBC certificate must match the name; wildcard certificates are supported.
30-
- The *.onmicrosoft.com domain can’t be used for the FQDN of the SBC.
31-
For the full list of requirements, refer to [Azure direct routing infrastructure requirements](./direct-routing-infrastructure.md).
3228

33-
:::image type="content" source="../media/direct-routing-provisioning/add-session-border-controller.png" alt-text="Adding Session Border Controller.":::
34-
- When you're done, select Next.
35-
If everything set up correctly, you should see exchange of OPTIONS messages between Microsoft and your Session Border Controller, user your SBC monitoring/logs to validate the connection.
29+
2. Enter a fully qualified domain name and signaling port for the SBC.
30+
- SBC certificate must match the name; wildcard certificates are supported.
31+
- The *.onmicrosoft.com domain can’t be used for the FQDN of the SBC.
32+
33+
For the full list of requirements, refer to [Azure direct routing infrastructure requirements](./direct-routing-infrastructure.md).
34+
35+
:::image type="content" source="../media/direct-routing-provisioning/add-session-border-controller.png" alt-text="Screenshot of Adding Session Border Controller.":::
36+
37+
3. When you're done, select Next.
38+
39+
If everything is set up correctly, you should see an exchange of OPTIONS messages between Microsoft and your Session Border Controller. Use your SBC monitoring/logs to validate the connection.
3640

3741
## Voice routing considerations
3842

39-
Azure Communication Services direct routing has a routing mechanism that allows a call to be sent to a specific Session Border Controller (SBC) based on the called number pattern.
40-
When you add a direct routing configuration to a resource, all calls made from this resource’s instances (identities) will try a direct routing trunk first. The routing is based on a dialed number and a match in voice routes configured for the resource. If there's a match, the call goes through the direct routing trunk. If there's no match, the next step is to process the `alternateCallerId` parameter of the `callAgent.startCall` method. If the resource is enabled for Voice Calling (PSTN) and has at least one number purchased from Microsoft, the `alternateCallerId` is checked. If the `alternateCallerId` matches one of a purchased number for the resource, the call is routed through the Voice Calling (PSTN) using Microsoft infrastructure. If `alternateCallerId` parameter doesn't match any of the purchased numbers, the call will fail. The diagram below demonstrates the Azure Communication Services voice routing logic.
43+
Azure Communication Services direct routing has a routing mechanism that allows a call to be sent to a specific SBC based on the called number pattern.
44+
45+
When you add a direct routing configuration to a resource, all calls made from this resource’s instances (identities) will try a direct routing trunk first. The routing is based on a dialed number and a match in voice routes configured for the resource.
46+
47+
- If there's a match, the call goes through the direct routing trunk.
48+
- If there's no match, the next step is to process the `alternateCallerId` parameter of the `callAgent.startCall` method.
49+
- If the resource is enabled for Voice Calling (PSTN) and has at least one number purchased from Microsoft, the `alternateCallerId` is checked.
50+
- If the `alternateCallerId` matches a purchased number for the resource, the call is routed through the Voice Calling (PSTN) using Microsoft infrastructure.
51+
- If `alternateCallerId` parameter doesn't match any of the purchased numbers, the call will fail.
52+
53+
The diagram below demonstrates the Azure Communication Services voice routing logic.
4154

42-
:::image type="content" source="../media/direct-routing-provisioning/voice-routing-diagram.png" alt-text="Communication Services outgoing voice routing.":::
55+
:::image type="content" source="../media/direct-routing-provisioning/voice-routing-diagram.png" alt-text="Diagram of outgoing voice routing flowchart.":::
4356

4457
## Voice routing examples
4558
The following examples display voice routing in a call flow.
@@ -66,9 +79,9 @@ If you created one voice route with a pattern `^\+1(425|206)(\d{7})$` and added
6679

6780
### Configure using Azure portal
6881

69-
:::image type="content" source="../media/direct-routing-provisioning/voice-routing-configuration.png" alt-text="Communication Services outgoing voice routing configuration.":::
82+
:::image type="content" source="../media/direct-routing-provisioning/voice-routing-configuration.png" alt-text="Screenshot of outgoing voice routing configuration.":::
7083

71-
Give your Voice Route a name, specify the number pattern using regular expressions, and select SBC for that pattern.
84+
Give your voice route a name, specify the number pattern using regular expressions, and select SBC for that pattern.
7285
Here are some examples of basic regular expressions:
7386
- `^\+\d+$` - matches a telephone number with one or more digits that start with a plus
7487
- `^+1(\d[10])$` - matches a telephone number with a ten digits after a `+1`
@@ -83,7 +96,7 @@ You can select multiple SBCs for a single pattern. In such a case, the routing a
8396

8497
### Delete using Azure portal
8598

86-
#### To delete a Voice Route:
99+
#### To delete a voice route:
87100
1. In the left navigation, go to Direct routing under Voice Calling - PSTN and then select the Voice Routes tab.
88101
1. Select route or routes you want to delete using a checkbox.
89102
1. Select Remove.

articles/communication-services/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ items:
155155
href: concepts/telephony/emergency-calling-concept.md
156156
- name: Direct routing infrastructure requirements
157157
href: concepts/telephony/direct-routing-infrastructure.md
158-
- name: Pair Session Border Controllers
158+
- name: Connect to existing telephony
159159
href: concepts/telephony/direct-routing-provisioning.md
160160
- name: Certified Session Border Controllers
161161
href: concepts/telephony/certified-session-border-controllers.md

0 commit comments

Comments
 (0)