To define custom presence states in Office Communicator, you create an XML custom presence configuration file, and then specify its location with the CustomStateURLregistry key.

Caution:
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:

Examples of valid addresses are as follows:

http://lspool.corp.contoso.com/LSFileShare/ClientConfigFolder/Presence.xml

https://lspool.corp.contoso.com/ClientConfigFolder/CustomPresence.xml

file:///c:/LSFileShare/ClientConfigFolder/Group_1_Pres.xml

file://\\\\lspool.corp.contoso.com\\LSFileShare\\ClientConfigFolder\\Presence.xml

Important:
If you implemented a custom presence state URL in previous versions of Communicator by using the CustomStateURLgroup policy, you might have to modify the URL or change the EnableSIPHighSecurityModesecurity 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:
  • Reformat the custom presence state URL to an encrypted http (https) URL.

  • Set EnableSIPHighSecurityModegroup policy to any setting other than 2 (Medium).

To localize custom presence states using Locale ID schemas

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 .

To add custom presence states to Office Communicator 2007 R2

  1. Create an XML configuration file, following the format of the example below and modifying the attribute values shown in bold.

    Copy Code
    <?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>
  2. 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.

  3. Exit Communicator.

  4. In a text editor, prepare a Registry Editor (.REG) file similar to the following:

    Copy Code
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Communicator]
    @=""
    "CustomStateURL"="file://\\\\server\\comshare\\Presence.xml"
    
  5. Save the file with a .REG extension, and then double-click it to add the CustomStateURLvalue to the computer's registry. Note that you can also add this registry key to the HKEY_CURRENT_USERsection of the registry, but entries in HKEY_LOCAL_MACHINEtake precedence.

  6. Restart Communicator as usual. The Office Communicator Status menu now contains the custom presence states you defined.