.. _short-codes:

Short codes
--------------


.. tip:: 

   :ref:`use-action-search-to-navigate-automate`


Overview 
............

Short codes are used for abbreviated dialing to other extensions and services.


Configure short codes 
......................

This procedure configures short codes. 



**Prerequisites**:

* The site dial plan must be added. See :ref:`create-site-dial-plan`

 

**Perform these steps**:

1. Log in as provider, reseller, customer, or site administrator.

   .. Warning::

      When adding a short code, ensure that you select a valid site under your customer in the hierarchy 
      node breadcrumb at the top of the view. Adding a short code at any other node in the hierarchy triggers a 
      system error indicating that you must be at a site.
   
2. Go to the **Short Code** page, then click the Plus icon (+) to add a short code.
3. Enter a short code in the **Short Code** field, using up to 16 characters
   with the following format:

   * The first character may be 0-9, or *
   * The last character may be 0-9, #, or the wildcard character X.
   * All other characters may be 0-9, . (period), or the wildcard character X.
     Only one . (period) is allowed.

   Example:

   \*2.XXX

4. From the **Short Code Type** drop-down, choose one of:

   +---------------------+----------------------------------------------+
   | Option              | Description                                  |
   +=====================+==============================================+
   |                     | The called mask maps to the Short Code.      |
   |                     | Valid entries include the digits 0 through   |
   | Called Mask         | 9; the international escape character \+ and |
   |                     | the wildcard character X. For example, a     |
   |                     | called mask of 567XXX using Short Code       |
   |                     | \*2.123 converts to 567123.                  |
   +---------------------+----------------------------------------------+
   | Directory Number    | The directory number maps to the Short Code. |
   |                     | Valid entries are digits 0 through 9.        |
   +---------------------+----------------------------------------------+
   | Pre-dot with Called | The called prefix maps to the Short Code.    |
   | Prefix              |                                              |
   +---------------------+----------------------------------------------+

5. Enter the value for the Short Code Type in the **Value** field.
6. Select the **Use Originator's Calling Search Space** check box to indicate
   that the Short Code will use the originator's calling search space for
   routing a call rather than an explicit customer CSS.

   If the originating device is a phone, the originator's calling search space
   is a combination of the device calling search space configured on their phone
   and line calling search space configured on the originating line.

7. Click **Save** to add the Short Code that you defined.
   The new Short Code appears in the table of Short Codes and it can be
   edited or deleted as required.

