Network Bulls
www.networkbulls.com
Best Institute for CCNA CCNP CCSP CCIP CCIE Training in India
M-44, Old Dlf, Sector-14 Gurgaon, Haryana, India
Call: +91-9654672192
CUCM BAT enables you to bulk update, add, or delete records.
When using CUCM BAT to add phones, the MAC addresses of the IP phones, along with
the respective DNs, have to be specified in the BAT files.
The CUCM Auto-Register Phone tool is a set of Cisco CRS scripts that have to be installed
onto a Cisco CRS server.
With the CUCM Auto-Register Phone tool, new phones and their DNs are added with
dummy MAC addresses. Usually, CUCM BAT is used to create the unique configuration of
each phone. After the phone records have been added to CUCM with CUCM BAT, the real
NOTE The MAC address is printed in text and Universal Product Code (UPC) form, on
both the shipping box of the IP phone and on the IP phone itself. This allows bar-code
scanners to be used instead of manually typing MAC addresses into the BAT commaseparated
value files.
Enable Auto-Registration
Enter DN Range for Auto-Registration
Bulk Administration Tool and Tool for Auto-Registered Phone Support 207
MAC addresses of the auto-registered phones have to be applied to each phone record
created by BAT.
The correlation process is automated by placing a call from an auto-registered phone to an
interactive voice response (IVR) application running on the Cisco CRS. When a phone user
calls into the Auto-Register Phone application, the user is prompted to enter the desired DN.
At this stage, the system knows all the required information: the MAC address of the
physical phone and the phone configuration record to be applied to the phone. The CUCM
Auto-Register Phone tool will now update the CUCM configuration database accordingly
by removing the phone record that was added by auto registration and by changing the
dummy MAC address of the desired phone record to the one of the physical phone.
Tool for Auto-Registered Phone Support
The Tool for Auto-Registered Phone Support (TAPS) has the following requirements:
■ The TAPS service must be activated and running.
■ The CUCM TAPS plug-in has to be downloaded from the CUCM plug-in page and
installed onto a Cisco CRS (Cisco Unified Contact Center) server.
■ Installation prerequisites for the CUCM TAPS are as follows:
—The CUCM publisher is running and integrated with the Cisco CRS.
■ After installation of the CUCM, TAPS optional parameters may be configured in
Cisco CRS.
TAPS: Phone Insert Process
Figure 9-18 illustrates the TAPS insertion process described here:
1. The administrator uses CUCM BAT to preconfigure phone device records with dummy
MAC addresses.
2. A new phone is plugged into the network. It auto registers to CUCM, which creates a
new devices records with a DN out of the auto-registration range.
NOTE Details for installation, configuration, and integration of the Cisco CRS server
are not part of this book. These concepts are covered in the Cisco course UCXXD. An
AXL (AVVID XML Layer) admin account needs to be configured for Cisco CRS so that
it can access and update the CUCM database. You can find additional information at
Cisco.com.
208 Chapter 9: CUCM Configuration
3. The phone user dials the number of the CUCM Auto-Register Phone tool CRS
application.
4. CUCM routes the call to CUCM Auto-Register Phone tool applications on Cisco CRS.
5. Cisco CRS prompts the user to enter the appropriate directory number. The number is
then looked up in the phone configuration records that were previously added using
CUCM BAT and which have a dummy MAC address.
6. Cisco CRS updates the dummy MAC address of the found phone record with the actual
MAC address of the phone in the CUCM configuration database.
7. The IP phone downloads its newly created configuration file from CUCM TFTP.
Figure 9-18 Auto-Registered Phone Tool: Phone Insertion Process
Bulk Administration Tool
The procedure for adding phones using BAT is as follows:
Step 1 Verify that the Bulk Provisioning Service has been activated.
Step 2 Configure the CUCM BAT template.
Step 3 Create the comma-separated values data input file.
Step 4 Validate the data input file.
Step 5 Insert the devices into the CUCM database.
WWW
V
IP
1
6
2
3
8
4
7
5
Bulk Administration Tool and Tool for Auto-Registered Phone Support 209
Bulk Provisioning Service
You can verify the Bulk Provisioning Service (BPS) status from the Cisco Unified Serviceability
pages available at https:<ip-address>/ccmservice. Alternatively, the serviceability
pages can be loaded by choosing Cisco Unified Serviceability from the Navigation dropdown
menu in the upper-right portion of the screen and clicking the Go button.
From the Serviceability pages, choose Tools > Control Center — Feature Services to
verify that the Cisco BPS is running. If the service is not activated, go to Tools > Service
Activation and activate the service.
Phone Template
Once the BPS has been activated, create a phone template. The phone template contains
common parameters for phone configurations. The phone template must include the mandatory
name field. Individual phone configuration parameters are entered in the commaseparated
value (CSV) data file.
Before creating the template, make sure phone settings such as device pool, location,
calling search space, button template, and softkey templates have already been configured
in CUCM Administration. These settings cannot be created by CUCM BAT.
Follow these steps to create a phone template:
Step 1 From CUCM Administration, choose Bulk Administration > Phones >
Phone Template. The Find and List Phone Templates window displays.
Step 2 Click the Add New button. The Add a New Phone Template window
displays.
Step 3 From the Phone Type drop-down list, choose the phone model for which
the template is to be created. Click the Next button.
Step 4 Choose the device protocol from the Select the Device Protocol dropdown
list. Click Next. The Phone Template Configuration window
displays with fields and default entries for the chosen device type.
Step 5 In the Phone Template Name field, enter a name for the template. The
name can contain up to 50 alphanumeric characters (for example,
Sales_7960).
Step 6 In the Device Information area, enter the phone settings that the phones
to be added have in common. Some phone models and device types do
not use all the attributes that are shown.
Step 7 After all the settings for this CUCM BAT phone template have been
entered, click Save. This page is displayed in Figure 9-19.
210 Chapter 9: CUCM Configuration
Figure 9-19 Phone Template Configuration
Line Template
The administrator clicks Line [1] Add a new DN. The Line Template Configuration
window, shown in Figure 9-20, needs to be configured in the following way:
Step 1 Enter or choose the appropriate values for the line settings, such as
partition, calling search space, presence, and others. Keep in mind that
all phones added by this BAT job will use the settings that are chosen for
this line.
Step 2 Click Save. CUCM BAT adds the line to the phone template
configuration.
Step 3 Repeat the described procedure to add settings for any additional lines.
NOTE The maximum number of lines that display for a CUCM BAT template depends
on the model and phone button template that the administrator chose when the
administrator created the CUCM BAT phone template.
Enter the Phone Template Name
Configure Device Parameters
Bulk Administration Tool and Tool for Auto-Registered Phone Support 211
Figure 9-20 Line Template Configuration
CSV File Upload
Follow these steps to upload the CSV file containing the device data to the CUCM server:
Step 1 Choose Bulk Administration > Upload/Download Files. The Find and
List Files window displays (shown in Figure 9-21).
Step 2 Click Add New. The File Upload Configuration window displays.
Step 3 In the File text box, enter the full path of the file to be uploaded or click
Browse and locate the file.
Step 4 From the Select the Target drop-down list, choose the target the file is to
be used for (phones in this case).
Step 5 From the Transaction Type drop-down list, choose the transaction type
for the file.
Step 6 If the file is to overwrite an existing file with the same name, check the
Overwrite File If It Exists check box.
Step 7 Click Save and wait for updated status information; the status should be
Successful.
Enter the Line Template Name Configure Line Parameters
212 Chapter 9: CUCM Configuration
Figure 9-21 CSV File Upload
Phone Validation
After uploading the CSV file, the system runs a validation routine to check that the CSV
data file and CUCM BAT phone template have populated all required fields, such as device
pool and locations. The validation also checks for discrepancies with the first node database
(for instance, an already existing entry with the same MAC address).
To validate the CSV data file phone records, follow these steps:
Step 1 Choose Bulk Administration > Phones > Validate Phones. The
Validate Phones Configuration window displays (shown in Figure 9-22).
Step 2 Select the Validate Phones Specific Details radio button to validate
phone records that use a customized file format or select the Validate
Phones All Details radio button to validate phone records from an
exported phones file that was generated using the All Details option.
Step 3 In the File Name drop-down list, choose the CSV data file that contains
the unique details for the phones or other IP telephony devices. This is
the file that was uploaded previously.
Step 4 For the Specific Details option, in the Phone Template Name drop-down
list, the administrator can choose the CUCM BAT phone template that he
created for this type of bulk transaction.
Step 5 To start the verification, click Submit.
Step 6 The job is submitted and gets executed immediately.
Select the Target and Transaction Type
Locate the File to Upload
Bulk Administration Tool and Tool for Auto-Registered Phone Support 213
Check for the status of the verification. Only proceed to the next step if the verification was
successful.
Figure 9-22 Phone Validation
Inserting IP Phones into the CUCM Database
To start the bulk insertion of phones listed in the uploaded and verified data file, follow
these steps:
Step 1 Choose Bulk Administration > Phones > Insert Phones. The Insert
Phones Configuration window displays (shown in Figure 9-23).
Step 2 Either click the Insert Phones Specific Details radio button to insert
phone records that use a customized file format, or click the Insert
Phones All Details radio button to insert phone records from an exported
phones file that was generated by using the All Details option.
Step 3 In the File Name drop-down list, the administrator can choose the CSV
data file that he created for this specific bulk transaction.
Step 4 Checking the Override the Configuration check box overwrites the
existing phone settings with the information that is contained in the file
to be inserted.
Start Validation
Select the File to Validate Select the Template to Be Used
Validate All Details
214 Chapter 9: CUCM Configuration
In the Phone Template Name drop-down list, choose the BAT phone template that
has been created for this type of bulk transaction. If an individual MAC address is
not entered in the CSV data file, the Create Dummy MAC Address check box must
be checked. This is used when the CUCM Auto-Register Phone tool is used.
Step 5 In the Job Information area, enter the job description.
Step 6 Click the Run Immediately radio button to insert the phone records
immediately, or click Run Later to schedule the job for a later time.
Step 7 Click Submit to submit the job for inserting the phone records.
Check for the status of the job. You can do so at any time by browsing to Bulk
Administration > Job Scheduler and clicking the appropriate BAT job.
No comments:
Post a Comment