Microsoft Teams Integration Preparation

Before the integration, you need to forward the web access port of the PBX on your router according to your network environment, configure NAT on your PBX, and create a PBX extension for the integration.

Step1. Configure port forwarding & NAT

To ensure that Microsoft Teams can communicate with Yeastar P-Series PBX System, you need to forward relevant ports on your router and configure NAT on your PBX.

  1. Configure port forwarding on the router that is connected to your PBX.
    1. Log in to the PBX management portal, go to PBX Settings > SIP Settings > General > Basic, check the SIP UDP port and RTP ports.

    2. Log in to your router, forward the SIP UDP port and RTP ports.

      In this scenario, configure the port forwarding as follows:

      Port External port Internal port
      SIP 5566 UDP 5060 UDP
      RTP 10000-12000 UDP 10000-12000 UDP
  2. Configure NAT on your PBX.
    1. On PBX management portal, go to System > Network > Public IP and Ports.
    2. In the Public IP (NAT) section, complete the following configurations:
      • Public IP (NAT): Turn on this option.
      • NAT Type: Select Public IP Address .
      • Public IP Address: Enter 110.80.36.162.
      • Local Network Identification: Add all your local network. This setting will allow all your local devices to communicate with the PBX by the local IP address instead of passing through the router.

        In this scenario, add 192.168.6.0/255.255.255.0.

      • NAT Mode: Select a SIP NAT mode. In this scenario, select Yes.

        The PBX will use NAT and ignore the address information in the SIP/SDP headers and reply to the sender's IP address and port.

    3. In the Public Ports section, complete the following setting:
      • External SIP UDP Port: Enter 5566.
    4. Click Save and Apply.

Step2. Create a SIP extension

  1. Go to Extension and Trunk > Extension, click Add and select Add.
  2. In the Basic section, select SIP Extension from the drop-down list of Extension Type.
  3. In the User Information section, configure user information as follows:
    • First Name: Enter the user's first name.
    • Last Name: Enter the user's last name.
    • Email Address: Leave it blank or configure it as needed.
    • Mobile Number: Leave it blank or configure it as needed.
    • User Password: Retain default value or configure it as needed.
    • User Role: Retain default value or configure it as needed.
  4. In the Extension Information section, configure extension information as follows:
    • Extension Number: Enter a desired extension number.
    • Caller ID: Retain default value or configure it as needed.
    • Registration Name: Retain default value or configure it as needed.
    • Registration Password: Retain default value or configure it as needed.
    • Concurrent Registrations: Select a value from the drop-down list. This option defines how many SIP phones are allowed to register with the extension. The maximum number of concurrent registrations is 3.
  5. Click Advanced tab, unselect the checkbox of Qualify.

  6. Click Security tab, select the checkbox of Allow Remote Registration.

  7. Click Save and Apply.
    Note: The following SIP credentials are required when you configure Teams users on the configuration portal.
    • Extension number
    • Registration name
    • Registration password