.. _create_site_dial_plan:

Create a Site Dial Plan
-----------------------

.. _18.1-Patch-Bundle-3|EKB-147:

**Prerequisites**


A site dial plan cannot be created until a customer dial plan is created
for the customer. There are attributes that are defined in the customer
dial plan that are needed when creating a site dial plan.

A site dial plan does not get created automatically for a site when a site
is created. Perform this procedure to associate a site dial plan with the
site. After the first site for a specific customer is deployed, the
customer-level dial plan elements are provisioned on Cisco Unified
Communications Manager (Unified CM), followed by the site-specific dial
plan elements. Each subsequent site only has site-specific dial plan
elements to provision, so it takes less time to create. If there is more
than one site for a customer, do not forget to apply the site dial plan to
each site.

.. note::

   Step 13 of this procedure takes a few minutes to provision the site dial
   plan, especially for the first site.
   
   Each site can have one site dial plan only.

**Perform these steps**:

1. Log in as the Customer Administrator or Provider Administrator. For a
   list of the roles and tasks that can be done at each level, see :ref:`cisco_hcs_roles_and_privileges`.
#. Set the hierarchy path to the site for which you want to create a site
   dial plan.
   If the hierarchy path is not set to a site, you are prompted to choose
   a site.
#. Choose **Dial Plan Management > Site > Dial Plan**.
#. Click **Add** to add a Site Dial Plan.
#. Modify the **External Breakout Number** if desired. The **External Breakout
   Number** is the PSTN prefix that is used when deploying a country dial
   plan. For Cisco HCS Type 1 to 4 dial plan schemas, you deploy country
   dial plans at the customer level. The country dial plan is not pushed
   to Unified CM until the first site associated with a given country is
   deployed. For example, if a site is associated with the United States,
   and it is the first site dial plan being created for the USA, the US
   country dial plan is deployed as part of creating the site's dial
   plan. Default is 9. The **External Breakout Number** is one digit in
   length.

   Note:

   We support only one **External Breakout Number** for each country. For
   example, all sites within USA have the same External break out as the
   first site within USA.

#. Enter the **Site Location Code** using a maximum of eight digits. The SLC
   must be unique across sites for a customer.
   Note: If the Customer Dial Plan does not use SLCs, this field does not
   appear.
#. Perform one of the following for sites without Inter-Site Prefixes
   (ISPs):

   Note: This field appears if your Customer Dial Plan does not use ISPs;
   for example, HCS Type 3 dial plans (SLC, no ISP, DN=SLC+EXT)

   * Select the **Use extension prefix?** check box if your customer dial plan
     has an extension prefix defined and you want this site to use the
     extension prefix, OR
   * If an Extension prefix is not defined in the customer dial plan
     for this site, go to the next step.
#. Enter the **Area Code**. Enter zero or more valid local area codes for the
   site. Specify the length of the subscriber part of the PSTN number for
   each area code. The **Area Code** is used to generate the PSTN local route
   patterns for the site. For example, in the USA, if area codes are
   added for Dallas, Texas, the area codes could be specified for local
   dialing as 214, 469, and 972 with a subscriber length of 7.
#. Enter the **Local Number Length**. Local Number Length is the length for
   the subscriber section of the entire E.164 number.
#. Select the **Area Code used for Local Dialing** check box if the area code is
   needed for local dialing from this site. In the US this setting determines
   whether you use 7-digit or 10-digit local dialing.
#. Choose the **Published number** from the drop-down of available E.164
   inventory numbers, or enter a custom number.

   The site published number is the default E.164 mask when a line is
   associated to a phone at a particular site.

#. Choose the **Emergency Call Back Number** for the site from the drop-down
   of available E.164 inventory numbers, or enter a custom number.

   The site emergency call-back number is the calling number when
   initiating an outgoing emergency call. It can be used when you use
   Extension Mobility and make an emergency call from a site other than
   your own. It can be used when the emergency call goes out to the PSTN
   network, when the system includes the site emergency number so that
   the origin of the call is known. The system adds this calling party
   transformation to the DN2DDI4Emer-PT partition.

   Note:

   The emergency call back number is not the number to dial for an emergency.
   Instead, it is the number used to identify the calling party for emergency
   calls originating from a particular site.

   Note: Under the **Emergency Call Back Number** drop-down, there is a **Site ID**
   read-only field. The **Site ID** is a unique, auto generated, read-only number
   for each customer site which is prefixed to elements as an identifier (for
   example, Cu4Si2 indicates Customer 4, Site 2).
#. Click **Save** to add the Site Dial Plan you defined.
   The site information is loaded on the Unified CM, and is identifiable
   by its Customer ID, Site ID prefix.