Uredi

Deli z drugimi prek


Manage call routing policies for Direct Routing

If you've deployed Direct Routing in your organization, you use call routing policies to allow Teams users to receive and make phone calls to the Public Switched Telephone Network (PSTN) using your on-premises telephony infrastructure.

A call routing policy (also called a voice routing policy) is a container for PSTN usage records. You create and manage voice routing policies by going to Voice > Voice routing policies in the Microsoft Teams admin center or by using Windows PowerShell.

You can use the global (Org-wide default) policy or create and assign custom policies. Users will automatically get the global policy unless you create and assign a custom policy. Keep in mind that you can edit the settings in the global policy but you can't rename or delete it.

It's important to know that assigning a voice routing policy to a user doesn't enable them to make PSTN calls in Teams. You'll also need to enable the user for Direct Routing and complete other configuration steps. To learn more, see Configure Direct Routing.

Create a custom call routing policy

Use the Microsoft Teams admin center

  1. In the left navigation of the Microsoft Teams admin center, go to Voice > Voice routing policies, and then select Add.

  2. Enter a name and description for the policy.

  3. Under PSTN usage records, select Add PSTN usage, and then select the records that you want to add. If you need to create a new PSTN usage record, select Add.

  4. If you added multiple PSTN usage records, arrange them in the order that you want.

  5. When you're done, select Apply.

  6. Select Save.

Use PowerShell

See New-CsOnlineVoiceRoutingPolicy.

Edit a call routing policy

Use the Microsoft Teams admin center

You can edit the global policy or any custom policies that you create.

  1. In the left navigation of the Microsoft Teams admin center, go to Voice > Voice routing policies.

  2. Select the policy by clicking to the left of the policy name, and then select Edit.

  3. Select Add/remove PSTN usage records, make the changes that you want, and then select Save.

Use PowerShell

See Set-CsOnlineVoiceRoutingPolicy.

Assign a custom call routing policy to users

You can assign a policy directly to users, either individually or at scale through a batch assignment (if supported for the policy type), or to a group that the users are members of (if supported for the policy type).

To learn about the different ways that you can assign policies to users, see Assign policies to your users in Teams.

See also Grant-CsOnlineVoiceRoutingPolicy.

Teams PowerShell overview

Configure call routing for Direct Routing

Enable Location-Based Routing for Direct Routing

Assign policies to your users in Teams