# Monitor Time Condition Status

A time condition determines whether the system is treating the current moment as Business Hours, Outside Business Hours, or a Holiday, and inbound routes send calls to different destinations accordingly. If you assign a Busy Lamp Field (BLF) key on a user's IP phone, that user can see the active status at a glance and tell where incoming calls are currently going.

There are two ways for a user to keep an eye on the time condition:

- **On the desk phone.** Program a BLF key on the extension's phone. This page covers that method.
- **On the Operator Panel.** Users who are [allowed to override the time condition on the Operator Panel](/pbx/administrator-guide/allow-users-to-override-time-condition-on-operator-panel/) can also view the current status there.

The BLF setup differs slightly depending on how the matching inbound route decides its schedule. Use the section below that matches your configuration.

## Prerequisites

Before you add the function key, the target IP phone must already be connected to the PBX (Private Branch Exchange, your phone system) and linked to the user's extension through auto provisioning. If you have not done that yet, set it up first:

- [Auto Provision IP Phones Remotely via RPS Method](/pbx/administrator-guide/auto-provision-ip-phones-remotely-rps-method/)
- [Auto Provision IP Phones Remotely with Proxy](/pbx/administrator-guide/auto-provision-ip-phones-remotely-with-proxy/)

## Inbound route based on Global Business Hours

Use this when the inbound route follows Business Hours configured in the system's default time zone.

![An inbound route that routes calls according to the global Business Hours schedule](/images/pbx/inbound-route-based-on-global-business-hours-1.png)

The status is switched with the **Switch Business Hours and Holidays Status** feature code, which is `*99` by default. That is the value you monitor.

:::note
`*99` applies only to the system's default time zone. If you use additional time zones, each one has its own feature code, which you can find under its settings at **Call Control > Business Hours and Holidays**.
:::

![The Switch Business Hours and Holidays Status feature code shown as *99](/images/pbx/global-business-hours-holidays-feature-code-1.png)

### Assign the function key

1. Sign in to the PBX web portal and open **Extension and Trunk > Extension**, then click the edit icon next to the extension you want to configure.
2. Open the **Function Keys** tab.
3. Add a key with these settings, then click **Save**:
   - **Type**: `BLF`
   - **Value**: the **Switch Business Hours and Holidays Status** feature code, `*99` in this example.
   - **Label**: optional text to show on the phone screen.

   ![Function key configured as a BLF key pointing at the global Business Hours feature code](/images/pbx/function-key-global-business-hours.png)

:::caution
The number of programmable keys depends on the phone model. Any function keys you assign beyond the phone's available keys will not take effect, so keep the total within the model's limit.
:::

### Reprovision the phone

If the extension is already provisioned to a phone, push the change so the key appears:

1. Go to **Auto Provisioning > Phones**.
2. Click the reprovision (refresh) icon next to the phone assigned to this extension.
3. Confirm with **OK** in the dialog.

### Result

The key updates on the phone automatically, and the BLF LED reflects the current status:

- **Red**: the system is in **Business Hours**.
- **Green**: the system is in **Outside Business Hours** or **Holidays**.
- **Off**: the BLF settings are incorrect.

:::tip
To change which color maps to which state, go to **Call Features > Feature Code > Switch Business Hours and Holidays Status > BLF Light Color of Switching Global Business Hours Status**.
:::

## Inbound route based on Custom Business Hours

Use this when the inbound route uses a Custom Business Hours schedule that follows the system's default time zone.

![An inbound route that routes calls according to a Custom Business Hours schedule](/images/pbx/inbound-route-based-on-custom-business-hours.png)

### Assign the function key

1. Sign in to the PBX web portal and open **Extension and Trunk > Extension**, then click the edit icon next to the extension you want to configure.
2. Open the **Function Keys** tab.
3. Add a key with these settings, then click **Save**:
   - **Type**: `BLF`
   - **Value**: the feature code of the inbound route, `*801` in this example.
   - **Label**: optional text to show on the phone screen.

   ![Function key configured as a BLF key pointing at a custom Business Hours inbound route](/images/pbx/function-key-custom-business-hours.png)

:::caution
The number of programmable keys depends on the phone model. Any function keys you assign beyond the phone's available keys will not take effect, so keep the total within the model's limit.
:::

### Reprovision the phone

If the extension is already provisioned to a phone, push the change so the key appears:

1. Go to **Auto Provisioning > Phones**.
2. Click the reprovision (refresh) icon next to the phone assigned to this extension.
3. Confirm with **OK** in the dialog.

### Result

The key updates on the phone automatically, and the BLF LED reflects the current status:

- **Red**: the system is in **Business Hours**.
- **Green**: the system is in **Outside Business Hours** or **Holidays**.
- **Off**: the BLF settings are incorrect.

:::tip
To change which color maps to which state, go to **Call Features > Feature Code > Switch Business Hours and Holidays Status > BLF Light Color of Switching Global Business Hours Status**.
:::

## Inbound route based on Custom Time Periods

Use this when the inbound route uses Custom Time Periods that follow the system's default time zone.

![An inbound route that routes calls according to custom time periods](/images/pbx/inbound-route-based-custom-time-periods.png)

### Assign the function key

1. Sign in to the PBX web portal and open **Extension and Trunk > Extension**, then click the edit icon next to the extension you want to configure.
2. Open the **Function Keys** tab.
3. Add one key per time period you want to monitor, then click **Save**:
   - **Type**: `BLF`
   - **Value**: the feature code for the time period you want to track. Add as many keys as you need.
   - **Label**: optional text to show on the phone screen.

   ![Multiple BLF keys configured to monitor custom time periods](/images/pbx/function-key-monitor-custom-time-periods.png)

:::caution
The number of programmable keys depends on the phone model. Any function keys you assign beyond the phone's available keys will not take effect, so keep the total within the model's limit.
:::

### Reprovision the phone

If the extension is already provisioned to a phone, push the change so the keys appear:

1. Go to **Auto Provisioning > Phones**.
2. Click the reprovision (refresh) icon next to the phone assigned to this extension.
3. Confirm with **OK** in the dialog.

### Result

The keys update on the phone automatically, and each BLF LED reflects the current status:

- **Red**: the system is in **Business Hours**.
- **Green**: the system is in **Outside Business Hours** or **Holidays**.
- **Off**: the BLF settings are incorrect.

:::note
- A BLF key pointing at the **Reset** feature code stays off.
- To change which color maps to which state, go to **Call Features > Feature Code > Switch Business Hours and Holidays Status > BLF Light Color of Switching Global Business Hours Status**.
:::
