# 2N IP Intercom Integration Preparation

Complete the following groundwork before you connect a 2N IP intercom to Cloud Voice. First you create the extensions that the door station and its indoor receivers depend on, then you place the intercom on your network so its web interface is reachable for the configuration that follows.

## Create extensions on Cloud Voice

You need more than one extension on the PBX (Private Branch Exchange, the system that runs your Cloud Voice phone service) for this integration. One extension is registered to the 2N IP intercom itself, and the remaining extensions are handed to the people who answer visitor calls and open the door.

### Extension for the 2N IP intercom (door station)

1. Sign in to the PBX web portal and go to **Extension and Trunk > Extension**, then click **Add > Add**.
2. On the **User** tab, do the following:
   1. Fill in the user and extension details, or leave the defaults in place.
   2. Make a note of the values below. You will enter them on the 2N IP intercom later when you register the extension to the device.

      ![Extension registration details displayed on the User tab, including the extension number, registration name, and registration password](/images/pbx/2n-ext.png)

      - Extension Number
      - Registration Name
      - Registration Password

      :::caution
      Copy these three values down exactly. You enter the same Registration Name and Registration Password on the 2N intercom later, and the extension will fail to register (so the intercom cannot make or receive calls) if either side does not match.
      :::
   3. If you want receivers to see video from the door station before they pick up, turn on video preview for this extension.

      :::note
      - Video preview requires the PBX to be on the **Ultimate Plan**.
      - Which preview method a receiver can use depends on the Cloud Voice App they run:

        | Cloud Voice App | Video Preview | Auto Preview |
        | --- | --- | --- |
        | Mobile (iOS) | No | No |
        | Mobile (Android) | Yes | Yes |
        | Desktop (Windows) | Yes | No |
        | Desktop (Mac) | Yes | No |
        | Web | Yes | Yes |
      :::

   1. Open the **Features** tab.
   2. Scroll to the **Door Phone Application** section and enable the preview mode you want.

         ![Door Phone Application settings with the video preview and auto preview options](/images/pbx/2n-door-phone-setting.png)

         - **Video Preview**: When enabled, an incoming door-station call shows a preview control the callee can tap ( ![Video preview control](/images/pbx/preview.png) ) in the Cloud Voice App to view the video while the call is still ringing.

           ![The Cloud Voice App showing a door-station video preview started manually during a ringing call](/images/pbx/preview-video-manually.png)
         - **Auto Preview**: When enabled, an incoming door-station call opens the video automatically in the callee's Cloud Voice App while it rings, with no action needed.

           ![The Cloud Voice App displaying door-station video automatically as the call rings](/images/pbx/video-preview-automatically.png)
3. Click **Save**, then **Apply**.

### Extensions for indoor receivers

1. Sign in to the PBX web portal and go to **Extension and Trunk > Extension**, then click **Add > Add**.
2. On the **User** tab, fill in the user and extension details, or leave the defaults in place.
3. On the **Presence** tab, set up call handling so visitor calls are never missed when the extension user steps away.

   | Setting | What it does |
   | --- | --- |
   | Call forwarding | Sends the call on to a fallback number (for example, the user's mobile) whenever the extension can't take it. In the **Call Forwarding** section, select the unavailable condition to cover for internal calls (**No Answer** or **When Busy**), then choose a destination for it. |
   | Simultaneous ring | Rings several of the user's registered devices at once so whoever is nearest can answer straight away. In the **Ring Strategy** section, select the registered devices that should ring. |

   :::note
   When you forward to an external or mobile number, confirm the extension is allowed to use the outbound route you intend, and prefix the number with the route's dial pattern.
   :::

   ![Call forwarding configured on the Presence tab, routing unanswered internal calls to a fallback number](/images/pbx/2n-call-forward.png)

   
   ![Cloud Voice, Ring Strategy section with multiple registered devices selected for simultaneous ring](/images/pbx/2n-ring-strategy.png)
4. Click **Save**, then **Apply**.

## Configure the network for the 2N IP intercom

Find the 2N IP intercom on your network and set its IP (Internet Protocol) address so you can open the device's web interface for the rest of the setup.

### Prerequisites

- Install the [2N Network Scanner](https://www.2n.com/en-GB/products/apps-and-software/2n-network-scanner/) on your computer.
- Put the 2N IP intercom on the same LAN (local area network) as that computer, then factory reset it.
- Have the intercom's web interface credentials on hand.

:::caution
A factory reset erases the intercom's current configuration and returns every setting, including its network and account details, to the factory defaults. Only reset a device you are setting up fresh, and confirm no one still depends on its current settings first.
:::

:::note
In the examples here, the intercom's default username is `admin` and the default password is `2n`.
:::

### Steps

1. Launch the 2N Network Scanner on your computer. It finds every 2N IP intercom on the local network and lists each one's device type, firmware version, and current IP address.
2. Change the intercom's IP address.

   ![The 2N Network Scanner Config dialog for assigning an intercom's IP address](/images/pbx/2n-ip-config.png)

   1. Right-click the intercom and choose **Config**.
   2. Set how the address is assigned:
      - For a dynamic address, select **DHCP** (Dynamic Host Configuration Protocol), which lets your network hand the intercom an address automatically.
      - For a static address, enter the IP address, net mask, and gateway.

      :::tip
      A static address is the safer choice for a door intercom. Because you register a PBX extension to this device and reach it by IP address, a fixed address keeps that registration and your saved bookmarks working even after the intercom or network reboots.
      :::
   3. In the **Password** field, enter the device password (`2n` in this example).
   4. Click **Set**.

### Result

- The device list shows the intercom's new IP address, which confirms the network settings took effect.
- You can now browse to that IP address to reach the intercom's web interface.

  ![The 2N IP intercom web interface sign-in page reached at its new IP address](/images/pbx/2n-login-page.png)

  :::note
  - For the 2N IP Solo in this example, the default username and password are `admin` and `2n`.
  - On first sign-in you are asked to replace the default password. Follow the on-screen prompts to finish.
  :::

## Next steps

- [Register 2N IP Intercom with Cloud Voice Extension](/pbx/integrations/2n-intercom/register-2n-ip-intercom-with-cloud-voice/)
- [Configure Call and Door Release for PBX Extensions on the Intercom](/pbx/integrations/2n-intercom/configure-call-and-door-release-for-pbx-extensions-on-the-intercom/)
