Configure Dial Plans in Microsoft Teams

To allow Teams users to make outbound calls through PBX's trunk, you need to set up normalization rules of dial plan in Microsoft teams.

Background information

Microsoft Teams generates a dial plan rule named "Call2Teams" after you integrate Yeastar P-Series PBX System with Microsoft Teams. The default rule with the pattern ^([\*\#][\*\#\d]+|[1-9]\d{0,5})$ only allows Teams users to dial numbers with maximum 6 digits, and start with digit 1-9.


  1. Log in to Microsoft Teams admin center.
  2. In the left navigation bar, click Voice > Dial plans.
  3. Click the default dial plan Global (Org-wide default).
  4. In the Normalization rules section, click +Add to add a dial plan rule.
  5. On the Add new rule page, set the rule.
    1. In the Name field, set a name for the rule.
    2. Optional: In the Description field, add a note to the rule.
    3. Select Advanced.
    4. Go to If condition > The number dialed matches this regular expression, enter ^(\d*)$.

      Teams users can make outbound calls to any numbers.

    5. Go to Then do this > Translate the number based on this regular expression, enter $1, which means no translation, Microsoft Teams will send the dialed number out without any modification.
    6. Go to Test this rule > Enter a phone number to test, enter a phone number and click Test to test if the number matches the pattern.
    7. Click Save.
  6. Change the rule's priority.
    Note: Microsoft Teams traverses the list of normalization rules from the top down, and uses the first rule that matches the dialed number. Move the rule to the top, or users may fail to call out.
    1. In the column, click the desired rule.
    2. On the menu bar, click Move up to move the rule to the top.

    3. Click Save.


Teams users can dial external numbers according to the dial pattern of PBX's outbound route.

To test phone calls, see Test Phone Calls on Microsoft Teams.