Managing Partitions and Search Spaces in Cisco Unity Connection 10.x

Partitions and search spaces provide a way to segregate the global dial and message addressing space within Cisco Unity Connection. A partition comprises a logical grouping of objects that are identifiable by extension, name or SMTP address (such as users, call handlers, and contacts). A search space contains an ordered list of partitions.

Overview of Partitions in Unity Connection

In Unity Connection, you create partitions as a way to group together objects to which callers and users can address messages or place calls while interacting with Unity Connection. One or more partitions can be grouped together as members of a search space, and a partition can be a member of more than one search space. The following types of objects belong to a partition:

  • Users with mailboxes (primary extension)
  • User alternate extensions
  • Contacts (including VPIM contacts)
  • System distribution lists
  • System call handlers
  • Directory handlers
  • Interview handlers
  • VPIM locations

In addition, you can use user templates, contact templates, and system call handler templates to set the partition membership for new objects of these types.

Extensions must be unique within a partition, although partitions can contain objects that do not have an associated extension (for example, some contacts and system distribution lists). The names of objects do not have to be unique within a partition. Administrator-defined contact phone numbers also do not need to be unique within a partition.

In general, objects can only be a member of a single partition, although a user can have a primary extension in one partition and an alternate extension in a different partition.

If there are alternate names defined for the user, the alternate names are available in each partition where the user has an extension.


NoteWhen you change partition of an alternate extension in a bulk edit mode, the primary extension of the user is taken as an alternate extension. If primary extension already exist in the changed partition then it throws an error message with the duplicate extension.


Overview of Search Spaces in Unity Connection

Search spaces are used to define the search scope of objects (users, distribution lists, and so on) that a user or outside caller can reach while interacting with Unity Connection. For example, the search scope that is applied to a user identifies which users, distribution lists, or VPIM contacts the user can address messages to. The search scope that is applied to a user also identifies which users and contacts the user can call by name dialing when using the voice-recognition conversation.

The following types of objects can use a search space for their search scope:

  • Users with mailboxes
  • Routing rules (both direct and forwarded)
  • System call handlers
  • Phone directory handlers
  • Voice-enabled directory handlers
  • VPIM locations

In addition, you can use user templates, contact templates, and system call handler templates to set the search scope for new objects of these types.

A search space is comprised of one or more ordered partitions. When Unity Connection searches for an object on behalf of a caller, it searches the partitions in the order in which they are arranged in the search space. While extensions must be unique within a partition, they do not need to be unique within a search space, so you can use search spaces to handle dial plans that have overlapping extensions.

For example, if there are two partitions, Regional_Office and Headquarters, each containing a Help Desk user with extension 4000, and a user at the regional office belongs to a search space that is assigned the two partitions in that order, when the user addresses to extension 4000, Unity Connection returns the Help Desk user from the Regional_Office partition. If another user at headquarters belongs to a second search space that is assigned the partitions in reverse order (Headquarters, then Regional_Office), this user hears the information for the Help Desk user in the Headquarters partition when addressing to extension 4000.

Default Partition and Search Space in Unity Connection

When you install or upgrade to Cisco Unity Connection release 10.x, all objects that belong to a partition are placed in a partition named <Server Name> Partition, and all objects that are configured to use search spaces use a search space named <Server Name> Search Space (which includes <Server Name> Partition as its sole member). In addition, all templates are configured to use this partition and search space where applicable. Thus, by default, Unity Connection uses only one server-wide partition and search space. You can rename or delete the default partition and search space, and you can modify the default search space by changing the description or partition membership. (See the “Changing System Default Partition and Search Space” section.)

Search Space Examples in Unity Connection

See the following sections:

Single Site Automated Attendant Search Space Example

CompanyA has a single Unity Connection server that is set up as an automated attendant to handle calls to the customer service department as well as handling user to user voice messages. All employees at CompanyA have a primary extension in the Employee partition. Employees who work in the customer service department also have alternate extensions in the Customer Service partition.

The Unity Connection server is configured with the following search spaces and associated partition membership:

 

Search Space
Partition Membership (in Order)

Employees-SS

Employee, Customer Service

Customer-Service-SS

Customer Service

In addition, the routing rules that outside callers reach are configured to use the Customer-Service-SS search space as their search scope. The system call handlers and directory handlers that outside callers interact with are configured to inherit their search scope from the call. All users use the Employees-SS as their search scope, and the routing rules that users reach when they call Unity Connection are configured to use the Employees-SS as their search space.

In this example, when users call and sign in to Unity Connection, they can address messages or place calls to any other user at the company. However, when outside callers call Unity Connection and reach the automated attendant, they can reach only those employees who have alternate extensions in the Customer Service partition.

To extend the example, CompanyA might have two operators who share the same extension: an internal operator with extension 411 in the Employee partition, and an external operator with extension 411 in the Customer Service partition. When outside callers attempt to reach extension 411, Unity Connection routes them to the external operator, because that is the only operator who appears in a partition in the Customer-Service-SS search space. When employees call and sign in to Unity Connection and attempt to reach extension 411, Unity Connection routes them to the internal operator, because the Employee partition in which this operator extension appears is listed earlier in the partition membership of the Employees-SS search space than the Customer Service partition in which the external operator extension appears.

Multiple Site Search Space Example

CompanyB has three digitally networked Unity Connection locations serving three sites: Headquarters, Regional-East, and Regional-West.

The configuration is as follows:

  • Unity Connection is configured with the following search spaces and associated partitions:

 

Search Space
Partition Membership (in Order)

Headquarters-SS

HQ, Primary, RE, RW

Regional-East-SS

RE, Primary

Regional-West-SS

RW, Primary

  • The following user accounts are set up:

 

User
Home Server
Search Space of User
Primary Extension
and Partition
Alternate Extension
and Partition

Alex Abade

Headquarters

Headquarters-SS

85553001, Primary

3001, HQ

Chris Brown

Headquarters

Headquarters-SS

85553002, Primary

3002, HQ

Pat Smith

Regional-East

Regional-East-SS

82223001, Primary

3001, RE

Shannon Johnson

Regional-East

Regional-East-SS

82223002, Primary

3002, RE

Robin Smith

Regional-West

Regional-West-SS

87773001, Primary

3001, RW

Terry Jones

Regional-West

Regional-West-SS

87773333, Primary

3333, RW

  • There is a VPIM server that is configured as a VPIM location on the Headquarters server: VPIM-South. This VPIM location has a Dial ID of 8468 and is configured to allow blind addressing, to belong to the Primary partition, and to use the Headquarters-SS search space.
  • The Attempt Sign In direct routing rule and the Attempt Forward forwarded routing rule on each server are configured to use the same search space as the users on that server. (For example, the rules on the Headquarters server use the Headquarters-SS search space.)

In this example, Unity Connection users can address other Unity Connection users at their own site using 4-digit extensions; users can address anyone at the company using 8 plus a 7-digit extension. Users can blind address messages to a VPIM mailbox by entering 8468 plus the mailbox number on the remote system. Messages sent by users at the VPIM-South VPIM location can be delivered to any CompanyB user in the HQ, Primary, RE, or RW partitions.

For example, if Alex Abade addresses a message by entering extension 3002 on the phone keypad, Unity Connection returns Chris Brown as the match. If Alex addresses a message by spelling SMITHR on the phone keypad (764847), Unity Connection returns both Pat Smith and Robin Smith, because both names match the 764847 spelling. If Alex addresses a message by saying “Robin Smith,” Unity Connection returns Robin Smith.

The phone system can be set up to identify internal callers either by their 4-digit extension or the 8 plus 7-digit extension. Each caller must call their home server to sign in to Unity Connection. For more information about setting up cross-server sign-in and transfers, see the “Cross-Server Sign-In, Transfers, and Live Reply in Cisco Unity Connection 10.x” chapter of the Networking Guide for Cisco Unity Connection Release 10.x , at http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/connection/10x/networking/guide/10xcucnetx/10xcucnet050.html .

How Search Spaces Work in Unity Connection

See the following sections to understand how search spaces work in Unity Connection:

Search Spaces and Users

When a user has signed in to Unity Connection, the search scope of the user defines the objects that the user can reach when:

  • Addressing a message by extension
  • Addressing a message by name
  • Adding members to a private distribution list
  • Adding names to an addressing priority list
  • Placing a call to another user by saying the name
  • Addressing a message to a VPIM contact
  • Blind addressing a message to a VPIM location

Users can reach only those objects that are in a partition that is part of the search space that is defined as the search scope for the user. This search space need not include any partitions that contain the primary or alternate extensions of the user. Unity Connection applies the search scope of the user whether the user is interacting with Unity Connection by phone (using phone keypad keys), using voice commands, or using a visual client such as the Cisco Personal Communications Assistant (PCA).

If a user addresses a message by extension, and there are overlapping extensions in different partitions in the search space, Unity Connection searches the partitions in the search space in the order that they appear in the Assigned Partitions list in Cisco Unity Connection Administration, and returns the first result found.

Note that if a user receives a message from a sender whose partition is not in the search space of the receiving user, the recipient cannot reply to the sender. If the message is sent to multiple recipients, and the user replies-all, the user receives non-delivery receipts for any recipients who are not in partitions in the search space of the user (if Unity Connection is configured to send receipts)

Search Spaces and Call Routing Rules

When a call comes in to Cisco Unity Connection, it is first checked against the applicable routing rules table, depending on whether the caller dialed directly into Unity Connection or was forwarded from an extension. When Unity Connection matches the call to a routing rule in the applicable table based on the parameters of the call, the configuration of the routing rule determines the initial search scope of the call. Other objects, such as system call handlers, may later change the search scope of the call when the call is routed to them, but the initial scope is set by the call routing rules.

To facilitate setting the correct search scope on a call routing rule, you can set up routing rule conditions to select a rule based on the port of the incoming call, the phone system, the dialed number, or other criteria. If you are setting up multiple partitions and multiple search spaces, you must carefully consider the impact of the search scope that is configured for each call routing rule. Note the following considerations related to setting the search scope with call routing rules:

  • Unity Connection uses the search space defined as the initial scope of the call to identify whether the call is from a user, and if so, which user. If a user calls from an extension that is in a partition that is not a member of the search space set as the initial search scope for the call, the call is not identified as coming from the user. If the extension of the user overlaps with an extension in another partition that also appears in this search space, the call is identified as coming from the first object that Unity Connection finds when searching the partitions in the order that they appear in the search space.
  • Users who call to sign in to Unity Connection do not have their search scope set to the search space defined for their user profile until they have successfully completed the sign-in process.

If users are segmented into different partitions, and extensions overlap between partitions, you must consider how Unity Connection recognizes users by extension when they call Unity Connection and attempt to sign in. For example, if Kelly Bader in Kansas City and Chris Jones in Chicago both use extension 3001, you must set up your call management plan such that when Kelly calls Unity Connection from extension 3001, Unity Connection recognizes the extension as belonging to Kelly and checks the password against the appropriate user profile; likewise when Chris calls from extension 3001. There are multiple ways to set up the routing rules to handle this. For example, you can set up a direct routing rule based on a call coming from a particular phone system, so that calls from the phone system in Kansas City match one routing rule, setting the scope of the call to a search space in which the partition that Kelly is in appears before the one that Chris is in (or the partition that Chris is in does not appear at all), and then set a similar direct routing rule for calls from Chicago. You can also set up different pilot numbers for Kansas City and Chicago, and use the Dialed Number routing rule condition to distinguish between two different routing rules that are set to use the two different search spaces.

Search Spaces and System Distribution Lists

Because each system distribution list belongs to a partition, you can use search spaces to limit user access to send messages to lists. By placing a distribution list in a partition that is not part of the search scope of a particular group of users, these users are not able to find the distribution list to address messages to it. For example, you can create a new partition called “Distribution Lists Partition” and configure the allvoicemailusers, allvoicemailenabledcontacts, and undeliverablemessages to use this partition. To grant certain users access to send to these lists, you can create a new search space that includes both the default partition and the “Distribution Lists Partition,” and assign this search space as the search scope for those users.

Search Spaces and System Call Handlers

Cisco Unity Connection uses the call handler search scope to match extensions that are dialed from the call handler to users, administrator-defined contacts, and remote contacts at VPIM locations. You can choose to set the scope of the handler to either inherit the search scope that is already set on the call (from a previous handler or from a call routing rule), or to use the particular search scope that you specify.

You can use call handlers to change the search scope of a call based on caller input. For example, you can set up a multiple-site automated attendant using an introductory call handler that offers callers a menu of site choices (“Press 1 for Chicago; Press 2 for New York”). One-key dialing rules configured for this call handler send callers to either of two call handlers, which set the search scope of the call to the appropriate search space for the site (Chicago or New York) and send the call directly to the shared opening greeting call handler. After the caller makes a selection, if the caller reaches any call handlers or directory handlers that are configured to inherit the search scope of the call, these handlers are scoped correctly to reach only the users and other objects at the appropriate site.

Search Spaces and Directory Handlers

You can configure the scope of a directory handler to define the objects that callers who reach the directory handler can find or hear. For phone directory handlers, you can set the scope to the entire server, to a particular class of service, to a system distribution list, or to a search space (either inherited from the call or specified for the directory handler). For voice-enabled directory handlers, you can set the scope to the entire server or to a search space (either inherited from the call or specified for the directory handler).

When callers search a directory handler for a particular name, if the scope of the directory handler is set to a search space, Cisco Unity Connection searches each partition in the search space and returns a list of all of the objects that match the name.

Search Spaces and Interview Handlers

Each interview handler is associated with a partition, so that it can be included in a search space and callers can reach it from other parts of the conversation. Because interview handlers do not involve dialing or addressing to users or other objects, they do not have a search scope defined.

Search Spaces and Networking

When you network a Unity Connection server with other Unity Connection locations, the partitions and search spaces that are configured on the server replicate to all other Unity Connection locations on the network. A Unity Connection network supports up to 10K partitions and 10K search spaces shared among all of the locations in the network.

If you plan to connect multiple Unity Connection servers in a network, it is important to note that when you initially set up the network between the servers, users on one server are not able to address messages to users on other servers, because the users on each server are in separate partitions and use search spaces that do not contain partitions with users on the other server. At a minimum, to allow users to address to users on other servers, you must add the partition of the remote Unity Connection server to the search space that local users are using.

Search Spaces and VPIM Locations

Each VPIM location belongs to a single partition. If a VPIM location allows blind addressing, and the partition to which the location belongs is in the search space for a user, the user can blind address to a user on the remote VPIM system. To blind address, the user addresses the message to the Dial ID of the VPIM location followed by the remote user mailbox number. For example, to reach mailbox 1000 at VPIM location 555, the user would address the message to 5551000.

The partition of the VPIM location is used as the partition of automatically-created VPIM contacts if the VPIM location is configured for automatic contact creation. However, you can change the partition of VPIM contacts independent of the associated VPIM location in Cisco Unity Connection Administration. A Unity Connection user can address a message to a VPIM contact by spelling or saying the contact name or by saying “<Name> at <Location>” provided that the contact belongs to a partition that is in the search space of the Unity Connection user.

Each VPIM location also has a search scope. When Unity Connection receives a message from a sender at a VPIM location, Unity Connection searches the search space that is defined as the search scope for the location to determine the message recipient by matching the extension in the To: address field with a Unity Connection user.

Note that when users address messages to a VPIM mailbox by entering a VPIM location Dial ID plus a remote user mailbox number, or when voice-recognition users say a name and location (for example, “John Smith in Seattle”), the action is allowed or denied based on the partition of the VPIM location. However, when users address to a VPIM contact using spell-by-name or by entering the local extension of the contact, or when voice-recognition users say the name of a contact without the location (for example, “John Smith”), the action is allowed or denied based on the partition of the VPIM contact, regardless of whether the partition of the VPIM location is out of scope for the user.

Search Spaces and Administrator-Defined Contacts

Each administrator-defined contact belongs to a partition. When a contact is configured with phone numbers that callers can use to call the contact using voice commands, voice-recognition users whose search space includes the partition of the contact are able to call the contact; users whose search space does not include this partition are not able to call the contact. In addition, the contact is reachable by callers who reach any voice-enabled directory handler whose search scope uses or inherits a search space that includes this partition (or if the directory handler search scope is set to the entire server).

Managing Partitions in Unity Connection

You create a partition in Cisco Unity Connection Administration by naming the partition and saving it. When you have created the partition, you populate it by configuring individual objects or templates as partition members.

Steps to Create a Partition in Unity Connection


Step 1 In Cisco Unity Connection Administration, expand Dial Plan , then select Partitions .

Step 2 On the Search Partitions page, select Add New .

Step 3 On the New Partition page, enter a name for the partition and select Save .

Step 4 On the Edit Partition page, you can add a description for the partition to describe its use or to distinguish it from other partitions. To do so, enter text in the Description field and select Save .


 

You can change the name or description of a partition. To change the partition membership, you must edit the individual member objects.

To Modify a Partition


Step 1 In Cisco Unity Connection Administration, expand Dial Plan , then select Partitions .

Step 2 On the Search Partitions page, select the display name of the partition that you want to modify.


Note If the partition that you want to modify does not appear in the search results table, set the applicable parameters in the search fields at the top of the page, and select Find.


Step 3 On the Edit Partition page, change the name or description, as applicable.

Step 4 When you have finished changing settings on the Edit Partition page, select Save .


 

You can delete a partition when the partition is empty (there are no objects that are members of the partition) and when the partition is not configured as the system default partition. If you attempt to delete a partition that is not empty, Unity Connection warns you that the partition is in use, and does not allow the deletion.

Steps to Delete a Partition


Step 1 In Cisco Unity Connection Administration, expand Dial Plan , then select Partitions .

Step 2 On the Search Partitions page, check the check box next to the display name of the partition that you want to delete.


Note If the partition that you want to delete does not appear in the search results table, set the applicable parameters in the search fields at the top of the page, and select Find.


Step 3 Select Delete Selected , and select OK to confirm the deletion.


 

Managing Search Spaces in Unity Connection

Steps to Create a Search Space in Unity Connection


Step 1 In Cisco Unity Connection Administration, expand Dial Plan , then select Search Spaces .

Step 2 On the Search Spaces page, select Add New .

Step 3 On the New Search Space page, enter a name for the search space.

Step 4 Select Save .

Step 5 On the Edit Search Space page, enter a description for the search space.

Step 6 To add a partition to the list of partitions that are assigned to the search space, select the name of the partition in the Unassigned Partitions list, then select the Up arrow above the list.

Step 7 To change the order of partitions in the Assigned Partitions list, select the name of the partition to move, then select the Up or Down arrow to the right of the list.

Step 8 When you are done modifying the partition membership, select Save .


 

Steps to Modify a Search Space in Unity Connection


Step 1 In Cisco Unity Connection Administration, expand Dial Plan , then select Search Spaces .

Step 2 On the Search Spaces page, select the display name of the search space that you want to modify.

Step 3 On the Edit Search Space page, change settings as applicable.

Step 4 To add a partition to the list of partitions that are assigned to the search space, select the name of the partition in the Unassigned Partitions list, then select the Up arrow above the list.

Step 5 To change the order of partitions in the Assigned Partitions list, select the name of the partition to move, then select the Up or Down arrow to the right of the list.

Step 6 When you have finished changing settings on the Edit Search Space page, select Save .


 

You can delete a search space even when there are objects using it; however, in this case you must choose a replacement search space. Objects that had a search scope set to the deleted search space are changed to use the replacement search space instead.

Steps to Delete a Search Space in Unity Connection


Step 1 In Cisco Unity Connection Administration, expand Dial Plan , then select Search Spaces .

Step 2 On the Search Spaces page, check the check box next to the display name of the search space that you want to delete.

Step 3 Select Delete Selected , and select OK to confirm the deletion.


NoteYou cannot delete more than 50 search spaces simultaneously.



 

Changing System Default Partition and Search Space

The system default partition and search space are used when you create new objects that are not based on templates (for example, a new call handler template, directory handler, or interview handler; or a new routing rule). The system default partition is displayed by default in any Partition list for such new objects in Cisco Unity Connection Administration, and the system default search space is displayed by default in any Search Scope list; these values are used when the object is created unless the administrator selects a different value from the list before saving the page. They can also be changed later by editing the object.


NoteChanging the system default partition and search space does not affect any objects or templates that have already been created.


Steps to Change the System Default Partition and Search Space


Step 1 In Cisco Unity Connection Administration, expand System Settings , then select General Configuration .

Step 2 On the Edit General Configuration page, in the Default Partition field, select the name of the new default partition.

Step 3 In the Default Search Scope field, select the name of the new default search space.

Step 4 Select Save .


 

Finding Objects Belonging to a Partition or Search Space

There are several methods available for locating objects based on the partition or search space to which they belong. See the following sections:

Finding Objects Based on Partition in Cisco Unity Connection Administration

In Cisco Unity Connection Administration, you can use the Search Limits fields on the search pages for the objects that have partition membership to locate the objects of that type that belong to a particular partition.

Use the following procedure to limit a search by partition.

To Limit a Search by Partition


Step 1 In Cisco Unity Connection Administration, go to the applicable Search page.

Step 2 In the Limit Search To list, select Partition .

Step 3 In the Where Name Is list, select the name of the partition in which to find objects.


Note When searching for users, you can also select whether to display only the primary extension in the partition, or both the primary extension and any alternate extensions that appear in the partition. If you select to display both the primary extension and any alternate extensions, multiple records may display for a single user in the search results.


Step 4 Optionally, to further limit the search, in the search fields, indicate the search parameters, and enter the applicable characters to search for. Select Find .


 

Finding Users Based on Partition in Cisco Unity Connection Serviceability

You can use the Dial Search Scope report in Cisco Unity Connection Serviceability to get a list of all users who are members of each search space in the Cisco Unity Connection directory. For each search space, the report lists each partition in the search space, and for each partition, the report lists each user and the corresponding user extension (primary or alternate) that is in the partition.

For more information on generating and viewing reports, see the Administration Guide for Cisco Unity Connection Serviceability Release 10.x , at http://www.cisco.com/en/US/docs/voice_ip_comm/connection/10x/serv_administration/guide/10xcucservagx.html .