.. _add-self-provisioning-line-mask:

Add self-provisioning line mask
-------------------------------

.. tip:: 

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



1. Log in as provider, reseller, or customer administrator.
2. Set the hierarchy path to the site node where you want to configure
   self-provisioning.
3. Go to the **Self Provisioning Line Mask** page. 
4. Click the Plus icon (+) to add a new record, then choose a site.
5. Provide the following information:

.. tabularcolumns:: |p{3cm}|p{12cm}|

+----------------+---------------------------------------------------+
| Field          | Description                                       |
+================+===================================================+
| Description    | A description of the Line Mask.                   |
+----------------+---------------------------------------------------+
|                | Mandatory. Select the user attribute used to      |
| User Attribute*| generate the user's primary extension. The        |
|                | default is 'telephoneNumber'.                     |
+----------------+---------------------------------------------------+
|                | Mandatory. Provide a mask to apply to the user    |
|                | attribute. The result is used as the user's       |
|                | primary extension. For example, assume user       |
|                | attribute is telephoneNumber and the mask is      |
| Mask*          | 4XXXX. Special characters and blanks are stripped |
|                | from the user attribute before applying the mask. |
|                | If the mask is applied to '(919) 867-5309', the   |
|                | user's primary extension would be set to 45309.   |
+----------------+---------------------------------------------------+

6. Click **Save**.