Contacts vs Subscribers in OCS 2007 R2

In OCS 2007 R2 deployments where you have a large amount of users with large contact lists you may have users that experience the problem of seeing colleagues with unknown presence. Troubleshooting this may prove to be difficult because there is nothing wrong with the system, it is by design. The reason for this is that the Default Presence Policy has a set of limits and restrictions that affect presence. The following table describes the available presence policy settings:
By default, the Default Policy and Service: Medium presence policies are installed when you deploy Office Communications Server 2007 R2. The following table describes the specific settings of the two presence policies
So what does this mean?
  • CategorySubscriptions: Defines how many users are getting your presence information
    • Max: 3000 / 5 = 600. Additional users will see you as presence unknown
    • We divide by 5 because of each category that make up the presence document
      • contactCard
      • calendarData
      • Note
      • Services
      • State categories
    • The result of this is that 400 hundred out of thousand users how have you in their contact list will see presence unknown
    • Setting a large number here will have a significant impact on performance if the average user has a larger number of users subscribing to their presence
  • PromptedSubscribers: Maximum Number of Queued Presence Subscription Alerts
    • Max: 500
    • Determines the maximum number of prompts that can be queued up for a given user
      • An “acknowledgement prompt” is created when a subscriber subscribes to a users presence
      • Once the user acknowledges the subscription, the entry is moved
      • Most of the time there will only be a few entries in this table (assuming the user acknowledges the prompts and doesn’t just ignore them)
    • This table could get full in certain situations when users are imported into the system
    • Setting a larger number here has no real impact on performance
  • “Maximum contacts per user”: Maximum number of contacts per users contact list
    • Max 1000, default 200
    • If you have 1000 users and all those 1000 users have indeed 1000 contacts, then each user will get presence unknown for 400 contacts
Conclusion:
If you see users start getting presence unknown you should expand the numbers of CategorySubscriptions in the Default Policy for presence. If you still get issues with this you should help your customer reevaluate how they use the contact list in Communicator. One of the strengths with Communicator is that you don’t need to add the entire organization to you list because you are able to search up contacts you are not collaborating with on a daily basis and see their presence status.

As long as you have 1000 users and only a few have indeed 1000 contacts and the others have lots less so that no user gets more than 600 subscriptions, then nobody will get presence unknown. You could say to be on the safe side they should allow “Maximum contacts per user” only 600. But Microsoft decided to allow slightly more as the experience in practice is that not all users will indeed add contacts to the max but a few wants to, and that´s what they are making possible.

 
References:

Communicator 2007 R2 fails to open new window when double-clicking a Contact

When using Microsoft Office Communicator 2007 R2, double-clicking a Contact fails to launch a new conversation window.  However, you are still able to right-click a Contact, and start an IM session by selecting “Send an Instant Message.”

Cause: When double-clicking a Contact, OC 2007 R2 uses XML to initialize a new conversation window, and we’re finding several customers who have incompatible and/or legacy builds of MSXML.DLL that are encountering these failures.

Resolution: To resolve this issue, please install XML Version 6.0 and XML Version 3.0 SP7.

Thanks to Scott Oseychik for posting the solution here: http://blogs.msdn.com/scottos/archive/2009/09/25/communicator-2007-r2-fails-to-open-new-window-when-double-clicking-a-contact.aspx

Office Communications Server 2007 R2 Downloads

Last update on 30/08/2009

Latest updates and hotfixes:
July OCS Updates

Deployment media:
Office Communications Server 2007 R2 Trial
Office Communications Server 2007 R2 Group Chat server
Office Communications Server 2007 R2 XMPP Gateway
Office Communications Server 2007 R2 UCMA 2.0 Speech Language Packs
Office Communications Server 2007 R2 Resource Kit Tools
Office Communications Server 2007 R2, 32 bit PreCallDiagnostic Resource Kit Tool
Office Communications Server 2007 R2 Web Scheduler – see this post on how to install
Planning Tool for Microsoft Office Communications Server 2007 R2
Edge Planning Tool for Office Communications Server 2007 R2
Office Communications Server Public IM Connectivity Provisioning Guide
Office Communications Server Public IM Connectivity Provisioning Site

Desktop client installation media:
Office Communicator 2007 R2 Trial
Office Communications Server 2007 R2 Attendant
Office Communications Server 2007 R2 Group Chat client
Office Live Meeting 2007 client and addin
Recording Converter for Microsoft Office Live Meeting 2007
Agent Communications Panel for Microsoft Dynamics CRM 4.0
Messenger for Mac 7.0.2

Mobile client installation media:
Office Communicator Mobile 2007 R2 (SmartPhone)
Office Communicator Mobile 2007 R2 (Pocket PC)
Office Communicator Phone Edition 2007 R2 (Tanjay)
To install directly on the cellphone and get java client, use http://getcomo.com

Testing, Training and Troubleshooting Guides:
Office Communicator 2007 R2
Office Communications Server 2007 R2 Group Chat
Office Live Meeting Client for Office Communications Server 2007 R2
Unified Communications Adoption and Training Kit 2007 R2
Unified Communications How-To

White Papers and Technical Documents:
Microsoft Office Communications Server 2007 R2 Technical Documentation
Microsoft Office Communications Server 2007 R2 Deploying Certificates White Paper
Microsoft Office Communications Server 2007 R2 Site Resiliency White Paper
Unified Communications Phones and Peripherals Datasheet
The UC White Paper
Configuring XMPP Gateway with Jabber XCP 5.4
Configuring XMPP Connectivity to Gmail
OCPE Device (Tanjay) Upgrade Guide

Post was based on a great post by Aaron Tiensivu: http://blog.tiensivu.com/aaron/archives/1834-My-collection-of-OCS-2007-R2-information-official-MS-download-links-only.html

July OCS Updates

Communicator Attendant Hotfix

http://support.microsoft.com/?kbid=970275

Communicator Rollup – July 2009

http://support.microsoft.com/?kbid=969695

Communicator Phone

http://www.microsoft.com/downloads/details.aspx?familyid=565595be-6cf3-4a61-a1e4-12555749ca64&displaylang=en

Communications Server:

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=b3b02475-150c-41fa-844a-c10a517040f4

Live Meeting Client Update:

http://support.microsoft.com/kb/969697

Conferencing Addin for Outlook:

http://support.microsoft.com/kb/969696

Group Chat Update Package:

http://www.microsoft.com/downloads/details.aspx?FamilyID=e5924bf9-b042-4c53-b4a6-79c7e5c9749b&displaylang=en

Links to sources below, thanks guys for some great posting
http://ocsguy.com/2009/08/04/microsoft-releases-live-meetings-updates/
http://blog.misthos.com/2009/07/july-ocs-updates.html

How to appear offline in MOC

Sometimes it is nice to be able to appear offline when you are logged in using Office Communicator. Setting for using this is when you need to be offline but appreciate being able to see presence of others in Communicator, Outlook and Sharepoint. To apply this you need to use regedit:

  • You need to create following registry DWORD and set its value as 1 to enable it.
  • The DWORD name is EnableAppearOffline, type is REG_DWORD and location is
    • My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Communicator.
  • After making above change, exit from office communicator (from system tray) and relaunch it.

Save password in MOC

If you have users with computers that are not joined to the same domain that their OCS account is homed to, the users always have to type the password when logging on using Communicator. This is the default setting in Communicator. There is a registry setting for enabling the “remember password” checkbox in the Communicator sign in dialog. I have tested it with non domain joined computers and it works like a charm. Here’s what you do

  1. Open Registry editor
  2. Locate the following key
    1. HKLM/Software/Policies/Microsoft/Communicator
  3. If the key is not there
    1. Create the Communicator folder
    2. Create the key as DWORD and give it the name SavePassword
  4. Set SavePassword=1.  
  5. This enables a checkbox to save password in MOC login dialogue.
  6. After the password is entered it is saved into the registry
  7. HKCU/Software/Microsoft/Communicator/AccountPassword
  8. This registry key store in hashed value. Changing the hash requires re-entering the password.

Original article found over at OCSpedia.com http://www.ocspedia.com/FE/How_to_Save_Password_MOC.htm

Office Communicator Custom Presence States

Any Post starting with this disclaimer means that this post was not written by me however I liked it and added to my blog. I will also include the link to the original or similar post to provide credit to the original author

http://technet.microsoft.com/en-us/library/bb963925.aspx
http://blogs.technet.com/toml/archive/2007/11/30/oc-custom-presence-states.aspx 
http://blog.tiensivu.com/aaron/archives/1341-Little-known-Office-Communicator-2007-feature-Custom-Presence-States.html
http://blogs.technet.com/brettjo/archive/2008/08/19/communicator-and-ocs-tech-tip-8-custom-presence.aspx

Office Communicator 2007 offers a few user defined areas, the Note, your location and Custom Presence

Please note something important – there is no defined custom presence that includes the Yellow (away) status. The reason is that it is not supported as it was deemed to be a value that you wouldn’t set yourself but would be set based on your activity. I would agree with that for Away but Be Right Back I can set but it is what it is. What happens if you set one of the states to the Yellow (away) states – none of the custom presence items show.

Another item to note that can be a bit annoying – you can’t sign in with the custom presence, you have to sign in with a standard state and then change. My approach is to pick the state that matches what I will eventually select with my custom text.

Universal limitations

  • You can only define up to 4 custom entries.
  • Maximum length of the custom presence description is 64 characters.
  • XML customState availability can be set to “online”, “busy” and “do-not-disturb”.
  • If you want the custom states set for everyone on the computer system instead of the current user, you need to change the .REG file from HKCU to HKLM. (Mostly only useful for TS servers)

Here is syntax for presence.xml used for what you see and a reg file syntax is also included. Please note that you can put the xml anywhere just update the reg file syntax for the correct path.

NOTE: The LCID=”1033″ specify the language of the clients you want the custom presence to be displayed . 1033 is english, if your contacts have clients with different languages you need to find the corresponding language code. See list of locale ID (LCID): http://msdn.microsoft.com/en-gb/goglobal/bb964664.aspx You can have multiple languages for the same state so that it works for different clients. If you use the program that you can download at the bottom of this post you need to manually change the LCID in the generated xml

<customStates>
    <customState ID=”1″ availability=”online”>
        <activity LCID=”1033″>Out and about – use mobile</activity>
        <activity LCID=”1044″>Out and about – use mobile</activity>
    </customState>
    <customState ID=”2″ availability=”Busy”>
        <activity LCID=”1033″>Down in the lab – use mobile</activity>
        <activity LCID=”1044″>Down in the lab – use mobile</activity>

    </customState>
    <customState ID=”3″ availability=”busy”>
        <activity LCID=”1033″>Reviewing program documents</activity>
        <activity LCID=”1044″>Reviewing program documents</activity>

    </customState>
    <customState ID=”4″ availability=”do-not-disturb”>
        <activity LCID=”1033″>Executive Briefing with Customer</activity>
        <activity LCID=”1044″>Executive Briefing with Customer</activity>

    </customState>
</customStates>

and here is the syntax of the reg file

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Communicator]
@=””
CustomStateURL”=file:///C:/Users/toml/Documents/presence.xml

image_4 

 

A program has been written to automate this process

Setting the Pre-Req’s on Vista and MOC R2

Amending the registry:

1) Start –> RegEdit.exe

2) Navigate (by double clicking) to the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Communicator

3) Change the EnableSIPHighSecurityMode key name to be 0

4) Right click EnableSIPHighSecurityMode –> Modify –> change it to 0 –> OK

It should look like this:

image

5) Close the registry editor.

Go here to download the tool: http://www.confusedamused.com/notebook/communicator-2007-custom-presence-tool/