.. _create_customer_dial_plan:

Create a Customer Dial Plan
---------------------------

This procedure determines the type of Cisco HCS dial plan schema (Type 1
to 4) to be used, depending on how you fill in the form.

.. note::
   
   You can have only one dial plan per customer. If you try to add a second dial
   plan, the dial plan will fail. Once you have created the customer dial plan,
   Enable CSS filtering is the only setting that you can modify.


**Perform these steps**:

1. Log in as provider or customer administrator.
   For a list of the roles and tasks that can be done at each level, see
   see :ref:`cisco_hcs_roles_and_privileges`.
2. Choose **Dial Plan Management > Customer > Dial Plan**.
3. Click **Add** to add a Customer Dial Plan.
4. Perform one of the following:

   * If a Site Location Code is required for this customer, select the **Site-Location
     Code (SLC) based dial plan?** check box, OR
   * If an SLC is not required, go to Step 8.
5. Perform one of the following:

   * To add an extension prefix for the dial plan, select the **Use extension prefix?** 
     check box. Enter the extension prefix in the form and go to Step 8.
   * To add an ISP for the dial plan, select the **Inter-Site Prefix required for
     inter-site dialing?** check box. Enter the Inter-Site Prefix (ISP). The ISP can be
     one digit in length.
6. If the ISP should be included in the directory number, select the **Is ISP included
   in directory number?** check box. If not, go to Step 8.
7. If the ISP should be included as part of the Voice Mail ID, select the
   **Is ISP included in Voice Mail ID?** check box. If not, go to the next step.
8. Select the **Enable CSS filtering** check box to filter the calling search spaces
   available when configuring a Subscriber, Phone, or Line, to site level Class of
   Service calling search spaces. Filtering is disabled by default, which results
   in all available Cisco Unified Communications Manager calling search spaces being
   available when configuring a Subscriber, Phone, or Line.
9. Click **Save** to add the Customer Dial Plan you defined.

   Note:
   
   The Customer ID is a unique, auto-generated, read-only number allocated to the
   customer. The Customer ID is particularly useful in shared deployments
   (where a cluster may be shared across multiple customers) to correlate specific
   elements to a customer. It appears in the Cisco Unified Communications Manager
   as an prefix to elements (for example Cu2Si7 identifies Customer 2, Site 7).

   Note:
   
   The Cisco HCS dial plan schemas are configured such that the customer-level
   dial plan elements are not pushed to the Cisco Unified Communications Manager
   until the first site for the customer is deployed. Therefore, you will not see
   any dial plan elements provisioned on the Cisco Unified Communications Manager
   until at least one site is deployed for the customer. See :ref:`create_site_dial_plan`.
   
   Note:

   When adding lines (DNs) at the site level, you must remember to define your
   DNs appropriately (that is, you are responsible for using ISP+SLC+EXT if you
   deploy a Type 2 dial plan). Otherwise your inter/intra site calls won't route.
   To define your directory numbers, refer to :ref:`number-range-management`.