Update the USA device-based routing dial plan
----------------------------------------------

.. tip:: 

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


This procedure updates the United States country dial plan that was first deployed in an 
earlier version of Automate, if you're using device-based routing. 

Update the calling search spaces (CSS) for each customer that uses the
United States dial plan. Update one customer-level CSS and one site-level CSS for
each USA site.

.. note::

   Perform this procedure only once (the first time you upgrade Automate).                               


1. Log in to Cisco Unified Communications Manager (UCM).
2. Go to **Call Routing > Class of Control > Calling Search Space**.
3. Find the calling search space where the CSS Name ends with USADP-DBRDevice-CSS.

   .. note::

      Records for each of your USA sites appear in the  following format:
      Cu<customerId>Si<siteId>-USADP-DBRDevice-CSS.
4. Edit each calling search space to include the pre-device-based route selection
   partition instead of the device-based route selection partition:

   a. Remove the following partition: Cu<customerId>-USADP-DBRteSel-PT.                    
   b. Add the following partition: Cu<customerId>-USADP-PreDBRteSel-PT.                 
   c. Click **Save**.                                          
5. Find the calling search space where the CSS Name ends with USADP-DBRteSel-CSS.

   .. note::

      Records for each of your USA sites appear in the following format:
      Cu<customerId>Si<siteId>-USADP-DBRteSel-CSS.     
6. Edit this calling search space to include the device-based route selection
   partition instead of the line-based route selection partition:

   a. Remove the following partition: Cu<customerId>-USADP-LBRteSel-PT.                    
   b. Add the following partition: Cu<customerId>-USADP-DBRteSel-PT.
   c. Click **Save**.
7. After updating all calling search spaces, log in to Automate and perform a
   CUCM import operation: 

   a. Log in to Automate as provider or customer administrator.
   b. Go to **Perform Publisher Actions**.
   c. Select Action Import, App Type CUCM Device and select the appropriate CUCM cluster.
   d. Click **Save**.