Configuring Custom Presence States in Communicator 2007 R2
Topic Last Modified: 2009-07-06
To define custom presence states in Office Communicator, you create an XML custom presence configuration file, and then specify its location with the CustomStateURL registry key.
|Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on the computer.|
Configuration files have the following properties:
Custom states can be configured with Available, Busy, and Do Not Disturb.
The availability attribute determines which Presence button is associated with the status text of the custom state. In the example below, the status text, Working from Home, is displayed to the right of the Presence button.
The maximum length of the status text is 64 characters.
A maximum of four custom presence states can be added.
Valid address types for the CustomStateURL registry key are FILE:, HTTP:, and HTTPS:
Examples of valid addresses are as follows:
If you implemented a custom presence state URL in previous versions of Communicator by using the CustomStateURL group policy, you might have to modify the URL or change the EnableSIPHighSecurityMode security level so that the custom presence state URL will work in Communicator 2007 R2. If the custom state presence URL no longer works, do one of the following:
Localize your custom presence state by specifying one or more Local ID (LCID) schemas in the XML configuration file. The example in the next section, To add custom presence states to Office Communicator 2007 R2, shows localization into English - United States (1033), Norwegian - Bokmål (1044), French - France (1036), and Turkish (1055). For a list of LCIDs, see List of Locale ID (LCID) Values as Assigned by Microsoft at http://go.microsoft.com/fwlink/?Linkid=157331.
Create an XML configuration file, following the format of the example below and modifying the attribute values shown in bold.
<?xml version="1.0"?> <customStates xmlns="http://schemas.microsoft.com/09/2009/communicator/customStates" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.microsoft.com/09/2009/communicator/customStates http://livecommteam/sites/main/ice/Wave%2012%20Docs/CustomActivities.xsd"> <customState ID="1" availability="online"> <activity LCID="1033">Working from Home</activity> <activity LCID="1044">activity 2 for 1044</activity> <activity LCID="1055">activity 3 for 1055</activity> </customState> <customState ID="2" availability="busy"> <activity LCID="1033">In a Live Meeting</activity> <activity LCID="1036">Equivalent French String for - In a Live Meeting </activity> </customState> <customState ID="3" availability="busy"> <activity LCID="1033">Meeting with Customer</activity> <activity LCID="1055">meeting with client</activity> <activity LCID="1036">Equivalent French String for - Meeting with Customer</activity> </customState> <customState ID="4" availability="do-not-disturb"> <activity LCID="1033">Interviewing</activity> </customState></customStates>
Save the XML configuration file to a location on a trusted network site or on the local computer. In this example, the file is named Presence.xml, and is placed on the network share \\server\comshare.
In a text editor, prepare a Registry Editor (.REG) file similar to the following:
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Communicator] @="" "CustomStateURL"="file://\\\\server\\comshare\\Presence.xml"
Save the file with a .REG extension, and then double-click it to add the CustomStateURL value to the computer's registry. Note that you can also add this registry key to the HKEY_CURRENT_USER section of the registry, but entries in HKEY_LOCAL_MACHINE take precedence.
Restart Communicator as usual. The Office Communicator Status menu now contains the custom presence states you defined.