Manually configure local breakout support
-----------------------------------------------

This procedure manually configures a local gateway for a site to support local 
breakout (LBO). 



1. Ensure that the Automate hierarchy is set to the site where the local gateway is to be added.                       
2. In Automate, to create trunks,
   route groups, and route lists to the local gateway. For procedures, see         
   Configure SIP Trunks, Configure Route Groups, and Configure Route Lists.                                  
3. In Cisco Unified Communications Manager (UCM), create a partition
   Cu<CustomerID>Si<SiteID>-LBO-LBR-PT to be used in the class of service. Refer
   to Configure Class of Service.                                             
4. In UCM, create a partition and CSS to handle
   LBO routing for the site.   
5. Add the following translation patterns to the partition defined in step 3:                                      

   a. Add the ++061.0! translation pattern to handle calls without forced
      authorization code (FAC) and client matter codes (CMC).                          
   b. Add the ++061.1! translation pattern to handle calls with FAC and without CMC.                     
   c. Add the ++061.2! translation pattern to handle calls with CMC and without FAC.                     
   d. Add the ++061.3! translation pattern to handle calls with CMC and FAC.                             
6. Associate the patterns in step 5 with the CSS defined in step 4.                                              
7. For the patterns in step 5, ensure that the called number transformation is
   PreDot and add the \*\*\*\* prefix.
8. Create a default translation pattern in the routing partition defined in step 4
   with an \*\*\*X!* pattern. Set the CSS to Cu<CustomerID>-<CC>DP-LBRRteSel-CSS. This
   is used to switch the call processing back to central breakout (CBO) for all
   call types that are not sent using LBO.                                              
9. Create a route pattern for each call type that breaks out from the local gateway
   in step 4. Use the route list created in step 3.

   .. note::

      The called and calling number between the local gateway and UCM 
      is in +E.164 format. Therefore, all incoming and
      outgoing calls between the gateway and UCM conform to it. It is also assumed that you provide the IOS gateway configuration.          

10. Create a new CoS to be included in step 3 before LBRtg-PT.