.. _high-level-overview-PBR:

Register a phone for phone-based provisioning
-------------------------------------------------


.. tip:: 

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



.. _pbr-register-phone:

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


.. index:: Flowchart;Register a Phone


The flowchart sets out the high-level steps for registering a phone: 


.. include:: pbr-register-workflow.uml



.. rubric:: Related topics

* :ref:`intro-PBR`



Register and provision phone 
................................ 

This procedure sets up a phone for PBR, provisions a PBR device record, and auto-registers the 
physical phone with UCM.


1. Set up a phone for phone-based registration: 

   a. Provision a phone with a fake MAC Address, for example, `BAT000008012005`

      .. note:: 
         
         You can provision a phone with a fake MAC address using bulk loaders, or via the Automate Admin Portal 
         you can use Quick Add User, Automate Phone Management, or Advanced User features. In 
         this case, we're using Quick Add User. 

      The fake MAC address must have a BAT prefix, for example, BATABCABCABCABC.

      |PBR-QaSPhone.png|

2. (Optional). Provision a PBR device record for the phone with a PIN:

   .. note:: 

      Configure a PIN code that can be used to authenticate requests to register phones with 
      Phone Based Registration.

      The PBR device record assists with unique identification of device to replace where 
      directory numbers are not unique within a UCM cluster.

   a. Go to **PBR Phones and PINS** then click the Plus icon (+) to add a new record.
   #. At **Device Name**, specify the device name of the pre-provisioned device with the fake MAC.
   #. Fill out the PIN. The minimum PIN length is 1 digit and the maximum is 6 digits.

   .. note:: 

      Route partition is not required unless a site-wide PIN is used. 
   

   |PBR-PBRDevice.png|

3. Auto-register the physical phone with UCM: 

   |PBR-AutoReg.png|

   a. Select **Phone Services**.
   b. Select **Register Phone**.
   c. Enter extension and PIN (if required).
   d. Submit request.

   |PBR-Input.png|

   A request is initiated to Automate to replace the configuration of the auto-registered 
   phone with the rich settings defined for the pre-provisioned device with fake MAC.

   The phone screen displays status, **Registering Phone**. 

   Verify in the Automate transaction log that the phone registration transaction displays. 

   |PBR-Transaction-List.png|
   
   |PBR-Transaction-Detail.png|

   .. note::

      * The PBR device record is deleted (if you need to re-register this phone then
        a new record is required).
      * The device name of the pre-provisioned phone (BATDONALDS) is updated to match
        the name of the auto-registered phone.

4. Once the transaction completes, verify that the phone reboots and shows the device
   configuration of the pre-provisioned phone.


   |PBR-PostBoot-Small.png|






.. |PBR-QaSPhone.png| image:: /src/images/PBR-QaSPhone.png
.. |PBR-PBRDevice.png| image:: /src/images/PBR-PBRDevice.png
.. |PBR-AutoReg.png| image:: /src/images/PBR-AutoReg.png
.. |PBR-Input.png| image:: /src/images/PBR-Input.png
.. |PBR-Transaction-List.png| image:: /src/images/PBR-Transaction-List.png
.. |PBR-Transaction-Detail.png| image:: /src/images/PBR-Transaction-Detail.png
.. |PBR-PostBoot-Small.png| image:: /src/images/PBR-PostBoot-Small.png


