# Microsoft Teams Integration Preparation

Two tasks on the Cloud Voice side get your system ready to link with Microsoft Teams: you provision a SIP (Session Initiation Protocol, the signaling used to set up calls) extension for the Teams user to register against, and you switch off the video codecs so incoming calls reach Teams reliably. Complete both before you move on to the configuration portal.

## Create a SIP extension

Each Teams user connects through a dedicated SIP extension. Create one as follows.

1. Sign in to the Cloud Voice management portal and open **Extension and Trunk > Extension**.
2. Click **Add**, then choose **Add** to start a new SIP extension.
3. Fill in the **User Information** section:
   - **First Name**: The user's first name.
   - **Last Name**: The user's last name.
   - **Email Address**: Optional, leave empty or enter an address.
   - **Mobile Number**: Optional, leave empty or enter a number.
   - **User Password**: Keep the default or set your own.
   - **User Role**: Keep the default or pick another role.
4. Fill in the **Extension Information** section:
   - **Extension Number**: The number you want to assign.
   - **Caller ID**: Keep the default or change it.
   - **Registration Name**: Keep the default or change it.
   - **Registration Password**: Keep the default or change it.
   - **Concurrent Registrations**: Pick a value from the drop-down. It sets how many SIP phones can register to this extension at once.

   :::note
   You can allow up to 3 concurrent registrations.
   :::
5. When the extension uses the **UDP** (User Datagram Protocol) or **TCP** (Transmission Control Protocol) transport protocol, clear the **Qualify** checkbox.

   :::note
   Qualify periodically checks whether the extension is still reachable. Clear it for UDP or TCP extensions as shown below.
   :::

   ![Extension transport settings with the Qualify option unchecked](/images/pbx/disable-qualify.jpg)
6. Click **Save**, then **Apply**.

   :::note
   Keep these SIP credentials handy, you'll enter them for the Teams user on the configuration portal:
   - Extension number
   - Registration name
   - Registration password
   :::

## Disable video codecs

Video codecs left active can stop Teams users from receiving incoming calls. Turn them off across the whole system before you finish.

1. Sign in to the Cloud Voice management portal and open **PBX Settings > SIP Settings > Codec**.
2. In the **Codec** section, disable each of these codecs:
   - H263
   - H263P
   - H264
   - MPEG4
   - VP8

   :::caution
   This setting applies to every extension, not only the Teams one. Make sure all five video codecs are disabled. If any one stays enabled, Teams users may be unable to receive calls.
   :::

   ![Codec settings with the video codecs turned off](/images/pbx/disable-video-codecs-teams-integration.png)
3. Click **Save**, then **Apply**.
