The Phone Number Library provides phone number library functionality for managing phone numbers.Purchase phone numbers can have many functionalities, depending on the country, number type, and assignment type. Examples of functionalities include inbound and outbound SMS usage, PSTN inbound and outbound usage. Phone numbers can also be assigne to a bot via a webhook URL.
Telephone numbers come in two types; Geographic and Toll-Free. Geographic telephone numbers are phone numbers associate with a location. Whose area codes are associate with the area code of a geographic location. Toll-Free telephone numbers are not associate with a location. For example, in the United States, toll-free numbers may have area codes such as 800 or 888.
Find and acquire numbers
Phone numbers can be searche through out then the most common the Create Search API by providing a phone number type , assignment type , calling and sms capabilities, area code, and number of phone numbers. The provide number of phone numbers will be reserve for 15 minutes. This phone number search can be cancelled or purchase. If the search is cancel, the phone numbers will be make available to other users. If the search is purchase, the phone numbers are purchase for the Azure resource.
Phone numbers can have a combination of functionalities. They can be set to support incoming or outgoing calls, or neither if you won’t be using the phone number for calling. The same applies to SMS functionalities.
SIP Routing Client
The Direct Routing feature allows you b2b reviews to connect customer-provide telephony infrastructure to Azure communication resources. To successfully configure the routing settings, the customer must provide SIP trunk configuration and SIP routing rules for calls. The SIP Routing Client provides the interface require to configure these settings.
The first route to match the number will be select. The regex matching order is the same as the order of the routes in the configuration, so the order of the routes matters. Once a route is match, the call is routed to the first trunk in the route’s trunk list. If the trunk is not available, the next trunk in the list is select.