# Register a Hikvision Door Station to Cloud Voice

A SIP-capable Hikvision door station can register to Cloud Voice as an ordinary extension. SIP (Session Initiation Protocol) is the standard signaling protocol that phones and intercoms use to set up calls. Once registered, the door station behaves like any other endpoint on your phone system and can ring extensions, ring groups, or the Cloud Voice App. This page uses the Hikvision DS-KD8003 as a working example; the same approach applies to other Hikvision door stations that speak SIP.

The setup has two halves: first you create an extension on Cloud Voice, then you point the door station at that extension so it registers.

## Before you begin

- Confirm that your door station supports the SIP protocol. A door station that only speaks Hikvision's proprietary protocol cannot register to Cloud Voice.
- Activate the door station and add it to the iVMS-4200 client first. See [Activate intercom video devices](/pbx/integrations/hikvision/manage-hikvision-devices-on-ivms-4200-client/#prepatation__section_wqb_1b1_lpb) and [Add devices to the iVMS-4200 client](/pbx/integrations/hikvision/manage-hikvision-devices-on-ivms-4200-client/#prepatation__section_cpl_sd1_lpb).

## Step 1. Create an extension for the door station

Give the door station its own extension on Cloud Voice. The door station will use these credentials to register, exactly the way a desk phone would.

1. Sign in to the PBX (Private Branch Exchange) web portal and go to **Extension and Trunk > Extension**, then click **Add > Add**.
2. Enter the user and extension details, or keep the defaults. In this example, create a SIP extension numbered **1666** for the DS-KD8003.

   ![New SIP extension configured for the door station in Cloud Voice](/images/pbx/pbx-door-station-extension.png)
3. Click **Save**, then **Apply**.

:::tip
Note down the extension's number and its registration password now. You will type both into the door station in Step 2. You can view or reset the registration password on the extension's own settings page in Cloud Voice.
:::

## Step 2. Register the door station to Cloud Voice

Configure the door station in the iVMS-4200 client so it registers to the extension you just created.

1. Sign in to the iVMS-4200 client and go to **Device Management > Device**.
2. Next to the DS-KD8003, click the remote configuration icon to open its **Configuration** page.

   ![Remote configuration icon beside the door station in iVMS-4200](/images/pbx/remote-config-icon.png)

   ![Opening the door station configuration page from the device list](/images/pbx/door-station-configure-entrance.png)
3. Set up the DNS (Domain Name System) server:
   1. Go to **Network > Basic Settings > TCP/IP**.
   2. In the **DNS Server** section, enter the IP address of your DNS server, then click **Save**.

      ![DNS server address entered in the door station TCP/IP settings](/images/pbx/door-station-dns-server.png)

   :::note
   The door station needs a DNS server because the **Server Address** you enter next is a domain name (for example, `demo.example.com`), not a numeric IP address. DNS is what translates that name into the address the door station connects to. If you skip this step, registration fails because the door station cannot find your Cloud Voice system. Use whatever DNS server your network already relies on.
   :::
4. Register the door station to extension 1666:
   1. Go to **Network > Basic Settings > SIP**.
   2. Select the **Enable VOIP Gateway** checkbox. (VoIP means Voice over IP: carrying calls over the network.)

      :::caution
      This checkbox must stay selected. If it is cleared, the door station ignores the SIP settings below and will not register, so it cannot place or receive calls.
      :::
   3. Enter the extension's credentials:

      
      ![Cloud Voice, SIP registration fields filled in on the door station](/images/pbx/door-station-register-to-pbx-pce.png)

      - **Register User Name**: The extension's registration name. In this example, enter `1666`.
      - **Registration Password**: The extension's registration password. In this example, enter the password generated for extension 1666.
      - **Server Address**: The domain name of your Cloud Voice system. In this example, enter `demo.example.com`.
      - **Server Port**: The SIP registration port of your Cloud Voice system. In this example, enter `5060`.
      - **Expiry Time**: Keep the default value. This controls how often the door station re-registers to stay online.
      - **Number**: The extension number. In this example, enter `1666`.
      - **Display User Name**: The name shown on outgoing calls. In this example, enter `1666`.

      :::caution
      The **Server Address** and **Server Port** must match what your Cloud Voice system uses (the default SIP port is `5060`). If either value is wrong, the door station cannot register. Copy the exact domain name and port from your Cloud Voice settings rather than typing them from memory.
      :::
   4. Click **Save**.

When the **Register Status** shows *Registered*, the door station is connected to Cloud Voice.

![Cloud Voice, door station showing a registered SIP status](/images/pbx/hik-door-phone-register-success.jpg)

:::note
If the status stays *Unregistered* or *Registering*, double-check the register user name, password, server address, and server port, and confirm the door station can reach the DNS server you set in Step 3.
:::
