© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-1
Implementing Media Resources, Features, and Applications
Configuring Presence-Enabled Speed Dials and Lists
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-2
Outline
Presence Overview
Presence Support in Cisco Unified Communications Manager
Presence Configuration
Presence Policies
Presence Policy Configuration
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-3
Presence Overview
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-4
Cisco Unified Presence Solutions
Multiple options to integrate presence: Cisco Unified Communications Manager Presence
– Speed-dial presence
– Call history presence
– Presence policy
Cisco Unified Presence Server
– User status information
– Cisco IP Phone Messenger application
– Cisco Unified Personal Communicator
– Third-Party Presence Server Integration
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-5
Cisco Unified Communications ManagerPresence Characteristics
Natively supported by Cisco Unified Communications Manager Allows an interested party (a watcher) to monitor the real-time status of
a directory number (a presence entity) Watcher subscribes to status information of the presence entity Watcher can show the status of a presence entity using:
– Presence-enabled speed dials
– Presence-enabled lists (call and directory lists) Three possible states of watched directory number:
– Entity is unregistered
– Entity is registered—on-hook
– Entity is registered—off-hook
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-6
Cisco Unified Communications ManagerPresence Operation
2. Bryan’s phone goes off-hook
Off-hook
Line 5697 is busy
1. John has subscribed for status of Bryan’s phone
3. Information about Bryan’s phone is sent to John’s phone
4. John’s phone shows Bryan’s phone in off-hook state
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-7
Presence Support in Cisco Unified Communications Manager
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-8
Cisco Unified Communications ManagerSupport for Presence
Directory numbers (lines) of Cisco IP phones can be watched
– By Cisco IP phones
– By SIP devices through a SIP trunk
Directory numbers (lines) of Cisco IP phones, and endpoints that are reached via SIP trunks, can be watched by the following:
– Cisco IP phones
– SIP devices through a SIP trunk
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-9
Presence status can be seen on speed-dial buttons, call lists and directories.
Watching Presence Status on Cisco IP Phones
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-10
Cisco IP Phones That Support Viewing Presence Status
Cisco Unified IP Phone
Models
Presence-Enabled Speed Dials Support
Presence-Enabled Call and Directory Lists Support
794[125], 796[125], 797[015]
SIP and SCCP Yes Yes
7914, 7940, 7960SCCP
Yes No
7914, 7940, 7960SIP
No No
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-11
Presence Configuration
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-12
Cisco Unified Communications ManagerPresence Configuration Procedure
To enable presence-enabled speed dials:1. Customize phone button templates to include presence-enabled speed-dial
buttons
2. Apply phone button templates to phones
3. Configure presence-enabled speed-dial buttons
4. Apply subscribe CSS to phones
To enable presence-enabled call lists: Enable the BLF For Call Lists enterprise parameter
To allow presence subscriptions through SIP trunks: Enable Cisco Unified Communications Manager Presence on SIP trunks
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-13
Step 1: Customizing Phone Button Templates
Configure presence-enabled speed-dial buttons in phone button
template
Device > Device Settings > Phone Button Template
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-14
Step 2: Applying the Phone Button Template to IP Phones
Assign phone button template to phone
Device > Phone
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-15
Step 3: Configuring Presence-Enabled Speed Dial Buttons
At the phone configuration page, click links to add a
presence-enabled speed dial.
Device > Phone
Enter presence-enabled speed-dial configuration: presence
entity to watch and label to be displayed on phone
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-16
Enabling Presence-Enabled Call Lists
System > Enterprise Parameters
Enable presence-enabled call lists
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-17
Enabling Presence on SIP Trunks
System > Security Profile > SIP Trunk Security Profile
Configure SIP Trunk Security Profile for
presence
Configure SIP Trunk Security Profile for
presence
Assign SIP Trunk Security Profile to
SIP Trunk
Device > Trunk
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-18
Presence Policies
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-19
Limiting Presence Visibility
Cisco Unified Communications Manager Presence offers different ways to limit visibility of presence information: Presence-enabled speed dials
– Are statically configured by Cisco Unified Communications Manager Administrator (cannot be configured by users)
– Subscribe Calling Search Space and (standard) partitions
Presence-enabled call and directory lists
– Subscribe Calling Search Space and (standard) partitions
– Presence groups
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-20
Subscribe CSS and Partitions
Separate CSSsare applied for calling privileges and presence: the (standard) CSS for calling privileges and a subscribe CSS for presence.
A subscribe CSS is applied to a watcher: a SIP trunk, a phone, or an end user.
The subscribe CSS determines which presence entities a watcher is allowed to monitor.
Similar to with traditional CSSs, a presence entity can only be watched if the watcher has the presence entity’s partition in its subscribe calling search space.
The (standard) partition that is applied to a line or a route pattern referring to a trunk is used for both calling privileges and presence.
If no partition is applied to a line or route pattern, it is available to all watchers.
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-21
Subscribe CSS and Partition Considerations
Presence policies and calling privileges share some configuration settings:
– Partitions on lines and route patterns Implementing presence policies impacts calling privileges and
vice versa
– Any changes to partition configuration affects calling privileges (standard CSSs) and presence policies (subscribe CSSs)
Design and implementation of calling privileges and presence policies have to be performed together!
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-22
Subscribe CSS and Partition Considerations – Sample Scenario
Baseline configuration does not include any partitions (no calling privileges and no presence policies are in place).
If partitions and (standard) CSSs are implemented for calling privileges, subscriptions will fail:
– Lines and route patterns now have partitions.
– Devices (phones and trunks) do not have subscribe CSSs If partitions and subscribe calling search spaces are implemented
for presence policies, calls will fail:
– Lines and route patterns now have partitions.
– Devices (phones, lines, and trunks) do not have CSSs.
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-23
Presence Policy Example – Subscribe CSS
SIP
Route Pattern: 8.1003Partition: P-3
SIP Trunk:Subscribe CSS: C-3Presence Group: G-3
(CSS) 1003
Line: 1001Partition: P-1
Presence Group: G-1(CSS)
Phone1:Presence Group: G-2Subscribe CSS: C-1
(CSS)
Line: 1002Partition: P-2
Presence Group: G-2(CSS)
Phone2:Presence Group: G-2Subscribe CSS: C-2
(CSS)
Calling Search Spaces:
C-1: P-1, P-2C-2: P-1, P-2, P-3
C-3: P-1
Effective Permissions:
Phone1 to 1002: permittedPhone1 to 1003: denied
Phone2 to 1001: permittedPhone2 to 1003: permittedPhone3 to 1001: permitted
Phone3 to 1002: denied
Phone1
Phone2 Phone3
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-24
Presence Groups
Presence groups can be used to implement presence policies: Watchers and presence entities are put into presence groups. Subscriptions are permitted within presence groups. Subscriptions can be allowed or denied between presence groups.
– Permission can be configured independently for each direction IP phones have separate presence groups.
– Line presence group (presence entity)
– Phone presence group (watcher) SIP trunks have only one presence group.
– used for both watcher and presence entity Presence groups only apply to presence-enabled call lists – they do not apply
to presence-enabled speed dials
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-25
Presence Policy Example – Presence Groups
SIP
Route Pattern: 8.1003Partition: P-3
SIP Trunk:Subscribe CSS: C-3Presence Group: G-3
(CSS)
Line: 1001Partition: P-1
Presence Group: G-1(CSS)
Phone1:Presence Group: G-2Subscribe CSS: C-1
(CSS)
Line: 1002Partition: P-2
Presence Group: G-2(CSS)
Phone2:Presence Group: G-2Subscribe CSS: C-2
(CSS)
Presence Groups:G-2 to G-3 permitted G-3 to G-1 permitted
Rest deniedPhone1
Phone2 Phone3
1003
Effective Permissions:
Phone1 to 1002: permittedPhone1 to 1003: permitted
Phone2 to 1001: deniedPhone2 to 1003: permittedPhone3 to 1001: permitted
Phone3 to 1002: denied
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-26
Interaction of Presence Groups and Partitions and Subscribe CSSs
Presence groups, partitions, and subscribe CSSs can be combined. Both have to permit subscription for successful watching
Provides 2 levels of hierarchy – useful in larger deployments
Example:
– Requirements:
No subscriptions are allowed across departments.
Within a department, managers can only be watched by their assistants.
– Solution:
Use one presence group per department.
Deny inter-presence group subscriptions.
Include manager partition only in the subscribe CSS of their assistant.
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-27
Presence Policy Configuration
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-28
Unified CM Presence Policies Configuration Procedure
To implement presence policies based on partitions and CSSs:1. Configure partitions and CSSs
2. Assign partitions to lines and route patterns
3. Assign subscribe CSSs to phones and trunks
To implement presence policies based on presence groups:1. Configure presence groups
2. Set the default inter-presence group policy
3. Assign presence groups to lines, phones, and SIP trunks
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-29
Step 3: Assigning Subscribe Calling Search Spaces to Phones and SIP Trunks
Device > Trunk
Apply Subscribe CSS to trunks and
phones
Device > PhoneApply Subscribe CSS to trunks and
phones
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-30
Step 1: Configuring Presence Groups
Enter Name and Description for
presence group System > Presence Group
Permission to unlisted presence
groups is determined by service parameter
For individual configuration towards another presence group, select destination presence group and select type of permission For individual configuration, select presence group and set
permission for subscriptions towards selected presence group
Individually configured
permission towards listed presence group
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-31
Step 2: Setting the Default Inter-Presence Group Policy
The Default Inter-Presence Group Subscription specifies the system default for presence subscriptions towards presence groups for which no explicit permission has been configured.
Set the Default Inter-Presence Group
Subscription
System > Service Parameter (Cisco CallManager)
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-32
Step 3a: Assigning Presence Groups to Lines and Phones
Device > Phone
Call Routing > Directory Number
Assign presence group to directory
number (in presence entity role)
Assign presence group to phone (in subscriber role)
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-33
Step 3b: Assigning a Presence Group to a SIP Trunk
Device > Trunk
Assign presence group to SIP trunk
The presence group configured on a SIP trunk applies to both subscriptions being sent out and being received on the trunk.
Same presence group is used in subscriber and
presence entity role
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-34
Summary
Cisco Unified Communications Manager Presence allows lines or endpoints reachable through SIP trunks to be monitored for their status (on-hook versus off-hook).
Most IP phones support presence-enabled speed dials; type B Cisco IP phones using SIP also support presence-enabled call and directory lists.
Cisco Unified Communications Manager Presence configuration includes implementing presence-enabled speed dials and enabling presence-enabled call and directory lists.
Cisco Unified Presence policies can be applied for controlling presence subscriptions.
Cisco Unified Communications Manager Presence policy configuration includes implementing partitions and subscribe calling spaces and presence groups.
© 2008 Cisco Systems, Inc. All rights reserved. CIPT1 v6.0—5-35