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: api/overview/azure/preview/communication.phonenumbers-readme.md
+47-14Lines changed: 47 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
---
2
2
title: Azure Communication Phone Numbers client library for .NET
3
3
keywords: Azure, dotnet, SDK, API, Azure.Communication.PhoneNumbers, communication
4
-
ms.date: 07/22/2025
4
+
ms.date: 07/31/2025
5
5
ms.topic: reference
6
6
ms.devlang: dotnet
7
7
ms.service: communication
8
8
---
9
-
# Azure Communication Phone Numbers client library for .NET - version 1.5.0-beta.1
9
+
# Azure Communication Phone Numbers client library for .NET - version 1.5.0-beta.2
10
10
11
11
12
12
Azure Communication Phone Numbers is managing phone numbers for Azure Communication Services.
@@ -102,7 +102,7 @@ Reservations represent a collection of phone numbers that are locked by a specif
102
102
103
103
### SIP routing client
104
104
105
-
Direct routing feature allows connecting customer-provided telephony infrastructure to Azure Communication Resources. In order to setup routing configuration properly, customer needs to supply the SIP trunk configuration and SIP routing rules for calls. SIP routing client provides the necessary interface for setting this configuration.
105
+
Direct routing feature allows connecting customer-provided telephony infrastructure to Azure Communication Resources. In order to setup routing configuration properly, customer needs to supply the SIP domains configuration, the SIP trunk configuration and SIP routing rules for calls. SIP routing client provides the necessary interface for setting this configuration.
106
106
107
107
When a call is made, the system tries to match the destination number with regex number patterns of defined routes. The first route to match the number will be selected. The order of regex matching is the same as the order of routes in configuration, therefore the order of routes matters.
108
108
Once a route is matched, the call is routed to the first trunk in the route's trunks list. If the trunk is not available, next trunk in the list is selected.
@@ -112,11 +112,11 @@ We guarantee that all client instance methods are thread-safe and independent of
[Accessing the response](https://github.com/Azure/azure-sdk-for-net/blob/Azure.Communication.PhoneNumbers_1.5.0-beta.1/sdk/core/Azure.Core/README.md#accessing-http-response-details-using-responset) |
[Accessing the response](https://github.com/Azure/azure-sdk-for-net/blob/Azure.Communication.PhoneNumbers_1.5.0-beta.2/sdk/core/Azure.Core/README.md#accessing-http-response-details-using-responset) |
Get the list of currently configured trunks or routes.
235
+
Get the list of currently configured domains, trunks or routes.
236
236
237
237
```C# Snippet:RetrieveListAsync
238
+
vardomainsResponse=awaitclient.GetDomainsAsync();
238
239
vartrunksResponse=awaitclient.GetTrunksAsync();
239
240
varroutesResponse=awaitclient.GetRoutesAsync();
240
241
```
241
242
242
-
#### Replace SIP trunks and routes
243
+
#### Replace SIP domains, trunks and routes
243
244
244
-
Replace the list of currently configured trunks or routes.
245
+
Replace the list of currently configured domains, trunks or routes.
245
246
246
247
```C# Snippet:ReplaceAsync
247
248
// The service will not allow trunks that are used in any of the routes to be deleted, therefore first set the routes as empty list, and then update the routes.
0 commit comments