Summary of the content on the page No. 1
Configuring Presence Service
Last Updated: November 26, 2007
This module describes presence support in a Cisco Unified Communications Manager Express
(Cisco Unified CME) system.
Finding Feature Information in This Module
Your Cisco Unified CME version may not support all of the features documented in this module. For a
list of the versions in which each feature is supported, see the “Feature Information for Presence Service”
section on page 905.
Contents
• Prerequisites for Presence Service,
Summary of the content on the page No. 2
Configuring Presence Service Restrictions for Presence Service Restrictions for Presence Service Presence features such as Busy Lamp Field (BLF) notification are supported for SIP trunks only; these features are not supported on H.323 trunks. Presence requires that SIP phones are configured with a directory number (using dn keyword in number command); direct line numbers are not supported. Information About Presence Service To configure presence service in a Cisco Unified CME system, you
Summary of the content on the page No. 3
Configuring Presence Service How to Configure Presence Service Figure 53 BLF Notification Using Presence SIP Subscribe Notify V Cisco Unified CME Cisco Unified CME PSTN Subscribe Notify IP IP IP IP IP IP IP IP The following line states display through BLF indicators on the phone: Line is idle—Displays when this line is not being used. Line is in-use—Displays when the line is in the ringing state and when a user is on the line, whether or not this line can accept a new call. BLF indicato
Summary of the content on the page No. 4
Configuring Presence Service How to Configure Presence Service Verifying Presence Configuration, page 897 Troubleshooting Presence, page 898 Enabling Presence for Internal Lines Perform the following steps to enable the router to accept incoming presence requests from internal watchers and SIP trunks. Restrictions A presentity can be identified by a directory number only. BLF monitoring indicates the line status only. Instant Messaging is not supported. SUMMARY STEPS 1. enable 2. co
Summary of the content on the page No. 5
Configuring Presence Service How to Configure Presence Service Command or Action Purpose presence enable Step 4 Allows the router to accept incoming presence requests. Example: Router(config-sip-ua)# presence enable exit Step 5 Exits SIP user-agent configuration mode. Example: Router(config-sip-ua)# exit presence Step 6 Enables presence service and enters presence configuration mode. Example: Router(config)# presence presence call-list Step 7 Globally enables BLF monitoring for directory numb
Summary of the content on the page No. 6
Configuring Presence Service How to Configure Presence Service SUMMARY STEPS 1. enable 2. configure terminal 3. ephone-dn dn-tag or voice register dn dn-tag 4. number number 5. allow watch 6. end DETAILED STEPS Command or Action Purpose enable Step 1 Enables privileged EXEC mode. Enter your password if prompted. Example: Router> enable configure terminal Step 2 Enters global configuration mode. Example: Router# configure terminal ephone-dn dn-tag [dual-line] Step 3 Enters the configuration
Summary of the content on the page No. 7
Configuring Presence Service How to Configure Presence Service Command or Action Purpose allow watch Step 5 Allows the phone line associated with this directory number to be monitored by a watcher in a presence service. Example: This command can also be configured in ephone-dn Router(config-ephone-dn)# allow watch template configuration mode and applied to one or or more phones. The ephone-dn configuration has priority over the ephone-dn template configuration. Router(config-register-dn)
Summary of the content on the page No. 8
Configuring Presence Service How to Configure Presence Service 5. blf-speed-dial tag number label string 6. presence call-list 7. end DETAILED STEPS Command or Action Purpose enable Step 1 Enables privileged EXEC mode. Enter your password if prompted. Example: Router> enable Step 2 configure terminal Enters global configuration mode. Example: Router# configure terminal Step 3 ephone phone-tag Enters ephone configuration mode to set phone-specific parameters for a SIP phone. phone-tag—Uni
Summary of the content on the page No. 9
Configuring Presence Service How to Configure Presence Service Command or Action Purpose presence call-list Step 6 Enables BLF monitoring of directory numbers that appear in call lists and directories on this phone. Example: For a directory number to be monitored, it must have Router(config-ephone)# presence call-list the allow watch command enabled. To enable BLF monitoring for call lists on all phones in this Cisco Unified CME system, use this command in presence mode. See the “Enabl
Summary of the content on the page No. 10
Configuring Presence Service How to Configure Presence Service SUMMARY STEPS 1. enable 2. configure terminal 3. voice register pool pool-tag 4. number tag dn dn-tag 5. blf-speed-dial tag number label string 6. presence call-list 7. end DETAILED STEPS Command or Action Purpose enable Step 1 Enables privileged EXEC mode. Enter your password if prompted. Example: Router> enable configure terminal Step 2 Enters global configuration mode. Example: Router# configure terminal voice register pool p
Summary of the content on the page No. 11
Configuring Presence Service How to Configure Presence Service Command or Action Purpose presence call-list Step 6 Enables BLF monitoring of directory numbers that appear in call lists and directories on this phone. Example: For a directory number to be monitored, it must have Router(config-register-pool)# presence the allow watch command enabled. call-list To enable BLF monitoring for call lists on all phones in this Cisco Unified CME system, use this command in presence mode. See th
Summary of the content on the page No. 12
Configuring Presence Service How to Configure Presence Service 11. authenticate credential tag location 12. end DETAILED STEPS Command or Action Purpose Step 1 enable Enables privileged EXEC mode. Enter your password if prompted. Example: Router> enable configure terminal Step 2 Enters global configuration mode. Example: Router# configure terminal Step 3 presence Enables presence service and enters presence configuration mode. Example: Router(config)# presence Step 4 server ip-address Spe
Summary of the content on the page No. 13
Configuring Presence Service How to Configure Presence Service Command or Action Purpose authenticate presence Step 10 (Optional) Enables authentication of incoming presence requests from a remote presence server. Example: Router(config-register-global)# authenticate presence authenticate credential tag location Step 11 (Optional) Specifies the credential file to use for authenticating presence subscription requests. Example: tag—Number that identifies the credential file to use Router(c
Summary of the content on the page No. 14
Configuring Presence Service How to Configure Presence Service Step 2 show presence global Use this command to display presence configuration settings. Router# show presence global Presence Global Configuration Information: ============================================= Presence feature enable : TRUE Presence allow external watchers : FALSE Presence max subscription allowed : 100 Presence number of subscriptions : 0 Presence allow external subscribe : FALSE Presence call list e
Summary of the content on the page No. 15
Configuring Presence Service How to Configure Presence Service *Sep 4 07:16:02.791: //PRESENCE:[766]:/presence_handle_notify_done: sip stack response code [17] *Sep 4 07:16:04.935: //PRESENCE:[0]:/presence_sip_line_update: SIP nothing to update *Sep 4 07:16:04.943: //PRESENCE:[17]:/presence_handle_notify_done: sip stack response code [29] *Sep 4 07:16:04.943: //PRESENCE:[24]:/presence_handle_notify_done: sip stack response code [29] *Sep 4 07:16:04.995: //PRESENCE:[240]:/presence_ha
Summary of the content on the page No. 16
Configuring Presence Service Configuration Examples for Presence Configuration Examples for Presence This section contains the following example: Presence in Cisco Unified CME: Example, page 900 Presence in Cisco Unified CME: Example Router# show running-config Building configuration... Current configuration : 5465 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname CME-3825 ! boot-start-marker boot-end
Summary of the content on the page No. 17
Configuring Presence Service Configuration Examples for Presence ! voice register dn 1 number 2101 allow watch ! voice register dn 2 number 2102 allow watch ! voice register pool 1 id mac 0015.6247.EF90 type 7971 number 1 dn 1 blf-speed-dial 1 1001 label "1001" ! voice register pool 2 id mac 0012.0007.8D82 type 7912 number 1 dn 2 ! interface GigabitEthernet0/0 description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$ ip address 11.1.1.2 255.255.255.0 duplex full speed 100 media-type rj45 no n
Summary of the content on the page No. 18
Configuring Presence Service Configuration Examples for Presence tftp-server flash:jar70sccp.8-0-1-13.sbn tftp-server flash:SIP70.8-0-1-11S.loads tftp-server flash:apps70.1-1-1-11.sbn tftp-server flash:cnu70.3-1-1-11.sbn tftp-server flash:cvm70sip.8-0-1-13.sbn tftp-server flash:dsp70.1-1-1-11.sbn tftp-server flash:jar70sip.8-0-1-13.sbn ! control-plane ! dial-peer voice 2001 voip preference 2 destination-pattern 1... session protocol sipv2 session target ipv4:11.1.1.4 dtmf-relay sip-notify ! pr
Summary of the content on the page No. 19
Configuring Presence Service Additional References ! ! ephone-dn 4 dual-line number 2002 ! ! ephone 1 mac-address 0012.7F57.62A5 fastdial 1 1002 blf-speed-dial 1 2101 label "2101" blf-speed-dial 2 1003 label "1003" blf-speed-dial 3 2002 label "2002" type 7960 button 1:1 2:2 ! ! ! ephone 3 mac-address 0015.6247.EF91 blf-speed-dial 2 1003 label "1003" type 7971 button 1:3 2:4 ! ! ! line con 0 exec-timeout 0 0 password lab stopbits 1 line aux 0 stopbits 1 line vty 0 4 password lab login
Summary of the content on the page No. 20
Configuring Presence Service Additional References Technical Assistance Description Link The Cisco Support website provides extensive online http://www.cisco.com/techsupport resources, including documentation and tools for troubleshooting and resolving technical issues with Cisco products and technologies. To receive security and technical information about your products, you can subscribe to various services, such as the Product Alert Tool (accessed from Field Notices), the Cisco Techni