Skip to content

Commit 52c5bc9

Browse files
authored
Merge pull request #242808 from jadacampbell/trial
adding trial phone numbers documentation
2 parents 9f6e0e7 + ddf70db commit 52c5bc9

19 files changed

+168
-14
lines changed
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
title: Frequently asked questions about trial phone numbers in Azure Communication Services
3+
description: A conceptual overview plus FAQ for trial phone numbers and verified phone numbers.
4+
author: jadacampbell
5+
ms.author: jadacampbell
6+
ms.service: azure-communication-services
7+
ms.topic: conceptual
8+
ms.date: 07/19/2023
9+
ms.custom: template-concept
10+
---
11+
12+
# Frequently asked questions about trial phone numbers in Azure Communication Services
13+
14+
[!INCLUDE [Public Preview Notice](../../includes/public-preview-include.md)]
15+
16+
This article answers commonly asked questions about Trial Phone Numbers and Verified Phone Numbers.
17+
18+
19+
20+
## Trial Phone Numbers
21+
### How many trial phone numbers can I request?
22+
Customers are limited to one trial phone number.
23+
24+
### Is my subscription eligible for a trial phone number?
25+
Currently trial phone numbers are only available for US subscriptions. For more information on subscriptions in other regions available for purchase, see our subscription eligibility documentation.
26+
27+
### Can I use the trial phone number for SMS messaging?
28+
No, currently the trial phone number for Azure Communication Services only supports PSTN Calling capabilities. SMS messaging capabilities for trial phone numbers will be available soon. Keep an eye on the Azure Communication Services documentation for updates on when SMS functionality will be added to the trial phone numbers.
29+
30+
### Can I choose a specific phone number or area code for the trial number?
31+
Currently, customers who can activate a trial phone number will be provided a US toll-free number. If you require a specific phone number or area code, then you must [purchase a phone number](../../quickstarts/telephony/get-phone-number.md).
32+
33+
### How long can I use the trial phone number?
34+
The trial phone number is available for 30 days. After the trial period ends, the phone number will no longer be accessible. It's recommended to upgrade to a production subscription if you require a longer-term phone number.
35+
36+
37+
### How can I make and receive calls using the trial phone number?
38+
You can use Azure Communication Services APIs or SDKs to make and receive calls using the trial phone number. Microsoft provides comprehensive documentation and code samples to help you integrate the PSTN Calling capabilities into your applications.
39+
40+
### What are the calling limitations on my trial phone number?
41+
Trial phone numbers have 60 minutes of inbound and 60 minutes of outbound PSTN calling. The max duration of a phone call is 5 minutes. The trial phone number may not be used to dial emergency services such as 911, 311, 988 or any emergency numbers.
42+
43+
### Are there any costs associated with the trial phone number?
44+
While the trial phone number itself is provided at no cost during the trial period, there may be associated costs for making and receiving calls or other PSTN Calling services. It's essential to review the pricing details for Azure Communication Services to understand the costs involved.
45+
46+
## Verified Phone Numbers
47+
48+
### Why do I need to verify the recipient phone number for a trial phone number?
49+
Verifying the recipient phone number is a security measure that ensures the trial phone number can only make calls to the verified number. This helps protect against misuse and unauthorized usage of trial phone numbers.
50+
51+
### How is the recipient phone number verified?
52+
The verification process involves sending a one-time passcode via SMS to the recipient phone number. The recipient needs to enter this code in the Azure portal to complete the verification.
53+
54+
### Can I verify multiple recipient phone numbers for the same trial phone number?
55+
Currently the trial phone number can be verified for up to three recipient phone numbers. If you need to make calls to more numbers, then you'll need to [purchase a phone number](../../quickstarts/telephony/get-phone-number.md)
56+
57+
### What happens if I enter the verification code incorrectly?
58+
If the verification code is entered incorrectly, the verification process fails. You can request a new verification code and try again.
59+
60+
### Does the recipient phone number need to be in a specific format for verification?
61+
Yes, the recipient phone number should be entered in the correct international format, including the country code. Ensure that the phone number is accurate and free of any typos or formatting errors.
62+
63+
### How long does the verification process take?
64+
The verification code is typically sent within a few seconds after initiating the verification process. The overall process should be completed quickly, depending on the recipient's ability to receive the SMS and enter the code in the Azure portal.
65+
66+
67+
## Next steps
68+
69+
> [!div class="nextstepaction"]
70+
> [Get a trial phone number](../../quickstarts/telephony/get-trial-phone-number.md)
71+

articles/communication-services/quickstarts/call-automation/includes/quickstart-make-an-outbound-call-using-callautomation-csharp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.custom: mode-other
1515

1616
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
1717
- A deployed Communication Services resource. [Create a Communication Services resource](../../create-communication-resource.md).
18-
- A [phone number](../../telephony/get-phone-number.md) in your Azure Communication Services resource that can make outbound calls. NB: phone numbers aren't available in free subscriptions.
18+
- A [phone number](../../telephony/get-phone-number.md) in your Azure Communication Services resource that can make outbound calls. If you have a free subscription, you can [get a trial phone number](../../telephony/get-trial-phone-number.md).
1919
- Create and host an Azure Dev Tunnel. Instructions [here](/azure/developer/dev-tunnels/get-started)
2020

2121
## Sample code

articles/communication-services/quickstarts/call-automation/includes/quickstart-make-an-outbound-call-using-callautomation-java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.custom: mode-other
1515

1616
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
1717
- A deployed Communication Services resource. [Create a Communication Services resource](../../create-communication-resource.md).
18-
- A [phone number](../../telephony/get-phone-number.md) in your Azure Communication Services resource that can make outbound calls. NB: phone numbers aren't available in free subscriptions.
18+
- A [phone number](../../telephony/get-phone-number.md) in your Azure Communication Services resource that can make outbound calls. If you have a free subscription, you can [get a trial phone number](../../telephony/get-trial-phone-number.md).
1919
- Create and host an Azure Dev Tunnel. Instructions [here](/azure/developer/dev-tunnels/get-started)
2020
- [Java Development Kit (JDK) version 11 or above](/azure/developer/java/fundamentals/java-jdk-install)
2121
- [Apache Maven](https://maven.apache.org/download.cgi)

articles/communication-services/quickstarts/call-automation/includes/quickstart-make-an-outbound-call-using-callautomation-node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.custom: mode-other
1515

1616
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
1717
- A deployed Communication Services resource. [Create a Communication Services resource](../../create-communication-resource.md).
18-
- A [phone number](../../telephony/get-phone-number.md) in your Azure Communication Services resource that can make outbound calls
18+
- A [phone number](../../telephony/get-phone-number.md) in your Azure Communication Services resource that can make outbound calls. If you have a free subscription, you can [get a trial phone number](../../telephony/get-trial-phone-number.md).
1919
- Create and host an Azure Dev Tunnel. Instructions [here](/azure/developer/dev-tunnels/get-started)
2020
- [Node.js](https://nodejs.org/en/) LTS installation.
2121
- [Visual Studio Code](https://code.visualstudio.com/download) installed

articles/communication-services/quickstarts/call-automation/includes/quickstart-make-an-outbound-call-using-callautomation-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.custom: mode-other
1515

1616
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
1717
- A deployed Communication Services resource. [Create a Communication Services resource](../../create-communication-resource.md).
18-
- A [phone number](../../telephony/get-phone-number.md) in your Azure Communication Services resource that can make outbound calls. NB: phone numbers aren't available in free subscriptions.
18+
- A [phone number](../../telephony/get-phone-number.md) in your Azure Communication Services resource that can make outbound calls. If you have a free subscription, you can [get a trial phone number](../../telephony/get-trial-phone-number.md).
1919
- Create and host an Azure Dev Tunnel. Instructions [here](/azure/developer/dev-tunnels/get-started)
2020
- [Python](https://www.python.org/downloads/) 3.7+.
2121

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
---
2+
title: Quickstart - get and manage trial phone numbers in Azure Communication Services
3+
description: Learn how to get and use trial phone numbers in Azure Communication Services.
4+
author: jadacampbell
5+
ms.author: jadacampbell
6+
ms.service: azure-communication-services
7+
ms.topic: quickstart
8+
ms.date: 07/19/2023
9+
ms.custom: template-quickstart
10+
---
11+
12+
# Quickstart: get and manage a trial phone number in Azure Communication Services
13+
14+
[!INCLUDE [Public Preview Notice](../../includes/public-preview-include.md)]
15+
16+
> [!NOTE]
17+
> Trial Phone Numbers are currently only supported by Azure subscriptions with billing addresses based in the United States. To those outside the US, you can visit the [Subscription eligibility](../../concepts/numbers/sub-eligibility-number-capability.md) documentation to determine where you purchase a phone number.
18+
19+
Azure Communication Services provides powerful communication capabilities for developers to integrate voice, video, and SMS functionalities into their applications. One of the key features is the ability to acquire phone numbers for making and receiving calls. This quickstart guide walks you through the process of obtaining a trial phone number for Azure Communication Services.
20+
21+
## Prerequisites
22+
23+
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
24+
- An active Communication Services resource. [Create a Communication Services resource](../create-communication-resource.md).
25+
26+
## Get a trial phone number
27+
28+
1. Navigate to your Communication Service resource in the [Azure portal](https://portal.azure.com).
29+
:::image type="content" source="./media/trial-phone-numbers/trial-overview.png" alt-text="Screenshot showing a Communication Services resource's main page." lightbox="./media/trial-phone-numbers/trial-overview.png":::
30+
31+
2. In the Communication Services resource overview, select on the "Phone numbers" option in the left-hand menu.
32+
:::image type="content" source="./media/trial-phone-numbers/trial-empty.png" alt-text="Screenshot showing a Communication Services resource's phone numbers page." lightbox="./media/trial-phone-numbers/trial-empty.png":::
33+
If you don’t have any phone numbers yet, you will see an empty list of phone numbers followed by this call to action for trial phone numbers.
34+
If you already have numbers for your Communication Services resource, you can also activate a trial phone number:
35+
:::image type="content" source="./media/trial-phone-numbers/trial-empty-with-purchased-numbers.png" alt-text="Screenshot showing a Communication Services resource's phone numbers page with already purchased numbers." lightbox="./media/trial-phone-numbers/trial-empty-with-purchased-numbers.png":::
36+
37+
3. Select on “Activate trial phone number”. This immediately provisions a trial phone number to your Communication Services resource. Once the trial phone number is provisioned, you can view it on the Phone numbers page.
38+
:::image type="content" source="./media/trial-phone-numbers/trial-activated.png" alt-text="Screenshot showing a Communication Services resource's phone numbers page with a trial phone number." lightbox="./media/trial-phone-numbers/trial-activated.png":::
39+
40+
## Add a verified phone number to your trial phone number
41+
When using a trial phone number in Azure Communication Services for PSTN Calling capabilities, it is required to verify the recipient phone number. This verification process ensures that the trial phone number can only make calls to the verified number.
42+
43+
1. Once your trial phone number is provisioned, select on the number in the Phone Numbers page and navigate to the “Trial details” tab:
44+
:::image type="content" source="./media/trial-phone-numbers/trial-details.png" alt-text="Screenshot showing a Communication Services resource's phone numbers page with a side panel open with the trial details tab." lightbox="./media/trial-phone-numbers/trial-details.png":::
45+
This tab shows the current limitations on the number, including the days left to use the number, the total calling minutes, and how many verified phone numbers are attached to the trial phone number. You can find more information on the trial phone number limitations [here](../../concepts/telephony/trial-phone-numbers-faq.md).
46+
47+
2. Select on “Manage verified phone numbers” to start adding verified phone numbers.
48+
:::image type="content" source="./media/trial-phone-numbers/verified-empty.png" alt-text="Screenshot showing a side panel with an empty list of verified phone numbers." lightbox="./media/trial-phone-numbers/verified-empty.png":::
49+
50+
3. Select “Add” or “Verify a phone number” and enter your phone number and designated country code associated with it. This recipient phone number is verified by sending a one-time passcode (OTP) to their number either through SMS or automated voicemail. Choose which option you prefer, and then press “Next” to receive the OTP.
51+
:::image type="content" source="./media/trial-phone-numbers/verified-enter-number.png" alt-text="Screenshot showing a side panel with an entered phone number to verify. The radio button to text the phone number has been selected." lightbox="./media/trial-phone-numbers/verified-enter-number.png":::
52+
53+
4. Once the user gets the one-time-passcode (OTP), enter the code into the Portal to verify the number.
54+
:::image type="content" source="./media/trial-phone-numbers/verified-text-code.png" alt-text="Screenshot showing a side panel with an entered one-time passcode." lightbox="./media/trial-phone-numbers/verified-text-code.png":::
55+
56+
5. Once the correct OTP is entered, the phone number is verified, and it shows in the list of verified numbers that the trial number can call.
57+
:::image type="content" source="./media/trial-phone-numbers/verified-added.png" alt-text="Screenshot showing a side panel with an added verified phone number." lightbox="./media/trial-phone-numbers/verified-added.png":::
58+
59+
## Conclusion
60+
Congratulations! You have successfully obtained a trial phone number for Azure Communication Services. You can now use this phone number to add voice capabilities to your applications. Explore the documentation and resources provided by Microsoft to learn more about Azure Communication Services and integrate it into your projects.
61+
62+
Remember that trial phone numbers have limitations and are intended for evaluation and development purposes. If you require production-ready phone numbers, you can upgrade your Azure Communication Services subscription and [purchase a phone number](get-phone-number.md).
63+
64+
65+
## Next steps
66+
67+
In this quickstart you learned how to:
68+
69+
> [!div class="checklist"]
70+
> * Activate a trial phone number
71+
> * View your trial phone number limits
72+
> * Add a verified phone number
73+
74+
> [!div class="nextstepaction"]
75+
> [Make your first outbound call with Call Automation](../call-automation/quickstart-make-an-outbound-call.md)
76+
77+
> [!div class="nextstepaction"]
78+
> [Add PSTN calling in your app](pstn-call.md)
79+

articles/communication-services/quickstarts/telephony/includes/pstn-call-android.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Find the finalized code for this quickstart on [GitHub](https://github.com/Azure
1515

1616
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
1717
- A deployed Communication Services resource. [Create a Communication Services resource](../../create-communication-resource.md).
18-
- A [phone number acquired](../get-phone-number.md) in your Communication Services resource, or Azure Communication Services [direct routing configured](../../../concepts/telephony/direct-routing-provisioning.md)
18+
- A [phone number acquired](../get-phone-number.md) in your Communication Services resource, or Azure Communication Services [Direct Routing configured](../../../concepts/telephony/direct-routing-provisioning.md). If you have a free subscription, you can [get a trial phone number](../../telephony/get-trial-phone-number.md).
1919
- A `User Access Token` to enable the call client. For more information on [how to get a `User Access Token`](../../identity/access-tokens.md)
2020
- Complete the quickstart for [getting started with adding calling to your application](../../voice-video-calling/getting-started-with-calling.md)
2121

@@ -35,7 +35,7 @@ import com.azure.android.communication.common.PhoneNumberIdentifier;
3535

3636
## Start a call to phone
3737

38-
Specify the phone number you acquired from within your Communication Services resource. This number will be used as a caller id to start the call:
38+
Specify the phone number you acquired from within your Communication Services resource. This number is used as a caller ID to start the call:
3939

4040
> [!WARNING]
4141
> Note that phone numbers should be provided in E.164 international standard format. (e.g.: +12223334444)
@@ -59,7 +59,7 @@ Modify `startCall()` event handler in **MainActivity.java**, so that it handles
5959

6060
## Launch the app and call the echo bot
6161

62-
The app can now be launched using the "Run App" button on the toolbar (Shift+F10). To make a call, provide a phone number in the added text field and click the **CALL** button.
62+
The app can now be launched using the "Run App" button on the toolbar (Shift+F10). To make a call, provide a phone number in the added text field and select the **CALL** button.
6363
> [!WARNING]
6464
> Note that phone numbers should be provided in E.164 international standard format. (e.g.: +12223334444)
6565

articles/communication-services/quickstarts/telephony/includes/pstn-call-ios.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.author: nikuklic
1111

1212
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
1313
- A deployed Communication Services resource. [Create a Communication Services resource](../../create-communication-resource.md).
14-
- A [phone number acquired](../get-phone-number.md) in your Communication Services resource, or Azure Communication Services [direct routing configured](../../../concepts/telephony/direct-routing-provisioning.md)
14+
- A [phone number acquired](../get-phone-number.md) in your Communication Services resource, or Azure Communication Services [Direct routing configured](../../../concepts/telephony/direct-routing-provisioning.md). If you have a free subscription, you can [get a trial phone number](../../telephony/get-trial-phone-number.md).
1515
- A `User Access Token` to enable the call client. For more information on [how to get a `User Access Token`](../../identity/access-tokens.md)
1616
- Complete the quickstart for [getting started with adding calling to your application](../../voice-video-calling/getting-started-with-calling.md)
1717

@@ -24,11 +24,11 @@ ms.author: nikuklic
2424

2525
## Start a call to phone
2626

27-
Specify phone number you acquired in Communication Services resource, that will be used to start the call:
27+
Specify phone number you acquired in Communication Services resource that is used to start the call:
2828
> [!WARNING]
2929
> Note that phone numbers should be provided in E.164 international standard format. (e.g.: +12223334444)
3030
31-
Modify `startCall` event handler that will be performed when the *Start Call* button is tapped:
31+
Modify `startCall` event handler that is performed when the *Start Call* button is tapped:
3232

3333
```swift
3434
func startCall() {
@@ -55,7 +55,7 @@ You can build and run your app on iOS simulator by selecting **Product** > **Run
5555

5656
![Final look and feel of the quick start app](../media/pstn-call/quick-start-make-call.png)
5757

58-
You can make an call to phone by providing a phone number in the added text field and clicking the **Start Call** button.
58+
You can make a call to phone by providing a phone number in the added text field and clicking the **Start Call** button.
5959
> [!WARNING]
6060
> Note that phone numbers should be provided in E.164 international standard format. (e.g.: +12223334444)
6161

0 commit comments

Comments
 (0)