Managing Users in Cisco Unity Connection
There are four ways to add users to Cisco Unity Connection. Users can be added manually, by synching to a CUCM, by using LDAP, and finally by using the Bulk Administration Tool (BAT).
Adding Users Manually
Adding users manually is typically used after the system is up and running and you are just adding only a few users at a time. If you have multiple users to add, use one of the other methods here to help speed up the process and add the users in a consistent manner.
- Using a web browser, open https://10.0.1.21/cuadmin, and enter the Application username and password.
- Choose Users > Users, and then click the Add New button.
- Because you already created a User Template, be sure it is selected in the Based on Template field. In the Alias field, enter jsmith and in the Extension field, enter 1010. The other fields are optional, but usually you should enter the user’s first and last name in the appropriate fields.
- Click the Save button. The user is added and the template applied to the new user.
- After the user is successfully created, the Edit menu appears. The Edit menu enables the administrator to change the password, roles, message settings, notification devices, and much more. (See Figure 7-8.)
Figure 7-8. Edit Menu
Importing Users via AXL from CUCM
Users can be synched with end users that are already configured on the CUCM system using Administrative XML (AXL).
- Make sure that the AXL service is activated. Using a web browser, open https://10.0.1.21/ccmservice, and enter the Application username and password.
- Choose Tools > Service Activation and check the box next to Cisco AXL Web Service. Then click the Save button. (See Figure 7-9.)
Figure 7-9. Activating Cisco AXL Web Service
- Using the drop-down navigation menu on the upper right of the page, select Cisco Unity Connection Administration, and click the Go button.
- Choose Telephony Integrations > Phone System. Select PhoneSystem; then choose Edit > Cisco Unified Communications Manager AXL Servers. (See Figure 7-10.)
Figure 7-10. Phone System Basics Edit Menu Choices
- Click the Add New button, and enter the CUCM IP Address 10.0.1.20 in the IP Address field. Then enter 8443 in the Port field.
- Click the Save button. (Figure 7-11.) Click the Test button to ensure that the configuration is correct.
Figure 7-11. AXL Test Message Successful
- Choose Users > Import Users. Select PhoneSystem for the Find End Users In field, and click the Find button.
- Choose NewYorkEmployees for the Based on Template field, and then check the boxes next to the users that were found as the search result. Click the Import Selected button. (See Figure 7-12.)
Figure 7-12. Import Selected Users
- Now choose Users > Users, and click the Find button to verify that the users were imported correctly.
Importing Users with LDAP
Table 7-3 contains the details used when configuring LDAP on Cisco Unity Connection.
Table 7-3 LDAP Configuration
LDAP Configuration Name: Corporate LDAP |
Name used in Unity Connection to identify this LDAP Directory |
LDAP Manager Distinguished Name: mike@voicepcg.local |
User with administrative rights to LDAP |
User Search Base: cn=Users, dc=voicepcg, dc=local |
Defines where Unity Connection looks for users |
LDAP Server Information>IP Address: 10.0.1.23 |
Defines the IP address of the LDAP server |
- Make sure that the Cisco DirSync service is activated. Using a web browser, open https://10.0.1.21/ccmservice, and enter the Application username and password.
- Choose Tools > Service Activation, and check the box next to Cisco DirSync then click the Save button.
- Using the drop-down navigation menu on the upper right of the page, select Cisco Unity Connection Administration, and click the Go button.
- Choose System Settings > LDAP > LDAP Setup.
- Check the box for Enable Synchronizing from LDAP Server, and click the Save button. (See Figure 7-13.)
Figure 7-13. LDAP Setup
- Choose System Settings > LDAP > LDAP Directory Configuration, and click the Add New button.
- In the LDAP Configuration Name field, enter Corporate LDAP. In the LDAP Manager Distinguished Name field, enter mike@voicepcg and enter the password twice below. In the LDAP User Search Base field, enter cn=Users, dc=voicepcg, dc=local and in the LDAP Server Information > IP Address field, type 10.0.1.23.
- Click the Save button. Unity Connection attempts to make a connection to the LDAP server, and if it is successful, it saves the configuration. If the connection fails, an error message displays indicating what failed. (See Figure 7-14.)
Figure 7-14. Save the LDAP Configuration
- When the test completes and the page refreshes, click the new button labeled Perform Full Sync Now on the bottom. (See Figure 7-15.)
Figure 7-15. Performing an LDAP Sync
- Choose Users > Import Users. In the Find End User In drop-down, select LDAP Directory, and click the Find button.
- A list of users in LDAP will be returned. Select the NewYorkEmployees template. Next, check the box next to the users you would like to import, and click the Import Selected button. (See Figure 7-16.)
Figure 7-16. Import Users Found in LDAP
- Choose Users > Users to verify that the users were imported successfully.
Importing Users with the Bulk Administration Tool (BAT)
Adding users with the Bulk Administration Tool (BAT) in Cisco Unity Connection is similar to using BAT in CUCM. There are three basic tasks that need to be done to import users using BAT in Cisco Unity Connection.
- Select and export the comma separated value (CSV) file to your workstation.
- Add the users to the downloaded CSV file.
- Upload the CSV file, and import the users into Cisco Unity Connection.
Following is the procedure to import users with BAT in Cisco Unity Connection:
- Using a web browser, open https://10.0.1.21/cuadmin, and enter the Application username and password.
- Choose Tools > Bulk Administration Tool.
- In the Select Operation section, click the radio button next to Export.
- In the Select Object Type section, click the radio button next to Users with Mailbox.
- In the Select File section, type unity_connection.csv in the CSV File field. Click the Submit button. (See Figure 7-17.)
Figure 7-17. Export CSV File with the Bulk Administration Tool (BAT)
- After the export operation finishes, the Status area at the top of the page generates a link that you can use to download the file. Click Download the Export File. (See Figure 7-18.)
Figure 7-18. Download the Export File
- Open the downloaded file with Microsoft Excel or other software that can edit the CSV file. There are many columns to fill in, but just use the following six columns: Alias, FirstName, LastName, DisplayName, Extension, and ListInDirectory. The column letters are included in Figure 7-19, and other columns are hidden that you are not using right now. Add the users as indicated here, and save the edited CSV file.
Figure 7-19. Complete the Columns with User Information
- Using a web browser, open https://10.0.1.21/cuadmin, and enter the Application username and password.
- Choose Tools > Bulk Administration Tool.
- In the Select Operation section, click the radio button next to Update.
- In the Select Object Type section, click the radio button next to Users with Mailbox.
- In the User Template section, click the radio button next to Yes, and select NewYorkEmployees in the drop-down menu.
- In the Select File section, type unity_connection.csv in the CSV File field. In the Failed Objects Filename field, type failed.csv. Click the Submit button. (See Figure 7-20.)
Figure 7-20. Upload the BAT File to Import the Users
- A status section appears and shows the progress of the import. (See Figure 7-21.) After the operation is complete, you can then choose Users > Users to verify that the users were indeed imported. (See Figure 7-22.)
Figure 7-21. BAT Import Successful
Figure 7-22. Verifying That the Users Were Imported