Quickstart: get and manage a trial phone number in Azure Communication Services
This feature of Azure Communication Services is currently in preview.
Preview APIs and SDKs are provided without a service-level agreement. We recommend that you don't use them for production workloads. Some features might not be supported, or they might have constrained capabilities.
Trial Phone Numbers are currently only supported by Azure subscriptions with billing addresses based in the United States. For other geographies, please visit the Subscription eligibility documentation to determine where you can purchase a phone number.
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.
- An Azure account with an active subscription. Create an account for free.
- An active Communication Services resource. Create a Communication Services resource.
Get a trial phone number
Navigate to your Communication Service resource in the Azure portal.
In the Communication Services resource overview, select on the "Phone numbers" option in the left-hand menu. 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.
If you already have numbers for your Communication Services resource, you can also activate a trial phone number:
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.
Add a verified phone number to your trial phone number
When using a trial phone number in Azure Communication Services for PSTN Calling capabilities, it is mandatory to verify the recipient phone number. This verification process ensures that the trial phone number can only make calls to the verified number.
Once your trial phone number is provisioned, select the number in the Phone Numbers page and navigate to the “Trial details” tab: 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.
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 the option you prefer, and then press “Next” to receive the OTP.
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 solutions.
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.
In this quickstart you learned how to:
- Activate a trial phone number
- View your trial phone number limits
- Add a verified phone number