• Appear Offline in Lync and other Customizations

    Question: Is It Possible To Appear Offline In Lync?

    Answer: yes Smile

    In previous releases of Office Communication Server, like 2007 and 2007 R2, you could use Group Policies, to add and change the value of a registry DWORD value called “EnableAppearOffline” to 1, but now in Lync this is not necessary anymore since Lync enables you to create Client Policies!

    CsClientPolicy?

    Client Policies in Lync:

    * replace group policy settings used in previous versions of the product

    * enable you to tweak client settings, which will be enforced every time a user logs into Lync Smile

    CsClientPolicy, where can I find more information?

    For more information about Client Policies, head over to the following TechNet Articles:

    CsClientPolicy, what can be customized?

    With a client policy, you can control any of the following settings:

    • AddressBookAvailability
    • AttendantSafeTransfer
    • AutoDiscoveryRetryInterval
    • BlockConversationFromFederatedContacts
    • CalendarStatePublicationInterval
    • ConferenceIMIdleTimeout
    • CustomizedHelpUrl
    • CustomLinkInErrorMessages
    • CustomStateUrl
    • DGRefreshInterval
    • DisableCalendarPresence
    • DisableContactCardOrganizationTab
    • DisableEmailComparisonCheck
    • DisableEmoticons
    • DisableFederatedPromptDisplayName
    • DisableFeedsTab
    • DisableFreeBusyInfo
    • DisableHandsetOnLockedMachine
    • DisableHtmlIm
    • DisableICE
    • DisableInkIM
    • DisableMeetingAndSubjectLocation
    • DisableOneNote12Integration
    • DisableOnlineContextualSearch
    • DisablePhonePresence
    • DisablePICPromptDisplayName
    • DisablePoorDeviceWarnings
    • DisablePoorNetworkWarnings
    • DisablePresenceNote
    • DisableRTFIM
    • DisableSavingIM
    • DisplayPhoto
    • EnableAppearOffline
    • EnableCallLogAutoArchiving
    • EnableClientMusicOnHold
    • EnableConversationWindowTabs
    • EnableEnterpriseCustomizedHelp
    • EnableEventLogging
    • EnableExchangeContactSync
    • EnableExchangeDelegateSync
    • EnableFullScreenVideo
    • EnableHotdesking
    • EnableIMAutoArchiving
    • EnableNotificationsForNewSubscribers
    • EnableSQMData
    • EnableTracing
    • EnableUnencryptedFileTransfer
    • EnableUrl
    • EnableVOIPCallDefault
    • ExcludedContactFolders
    • HotdeskingTimeout
    • IMWarning
    • MAPIPollInterval
    • MaximumDGsAllowedInContactList
    • MaximumNumberOfContacts
    • MaxPhotoSizeKb
    • MusicOnHoldAudioFile
    • P2PAppSharingEncryption
    • PlayAbbreviatedDialTone
    • PolicyEntry
    • SearchPrefixFlags
    • ShowManagePrivacyRelationships
    • ShowRecentContacts
    • ShowSharepointPhotoEditLink
    • SPSearchCenterExternalURL
    • SPSearchCenterInternalURL
    • SPSearchExternalURL
    • SPSearchInternalURL
    • TabURL
    • WebServicePollInterval

    CsClientPolicy, an example?

    In this example, I will create a new CsClientPolicy, called “Users in Brussels”, which will:

    • enable the ability of appearing offline
      • EnableAppearOffine : $True
    • show a warning when starting an IM conversation
      • IMWarning : “It is possible that this conversation will be archived”
    • enable tracing for Lync
      • EnableTracing : $True
    • show 4 additional custom presence states
      • For more info about Custom Presence States, go here: http://technet.microsoft.com/en-us/library/gg398997.aspx
      • CustomStateUrl “https://pool.lync.local/custom.xml” (make sure this URL is reachable for the client when signing into Lync!!)
      • Where custom.xml contains the following content:
        •  

          <?xml version="1.0"?>
          <customStates xmlns="http://schemas.microsoft.com/09/2009/communicator/customStates">

            <customState ID="1" availability="online">
              <activity LCID="1033">Working from Home</activity>
            </customState>
            <customState ID="2" availability="busy">
              <activity LCID="1033">Attending Online Training</activity>
              <activity LCID="1036">Suivre un Training Online</activity>
            </customState>
            <customState ID="3" availability="busy">
              <activity LCID="1033">Meeting with Customer</activity>
            </customState>
            <customState ID="4" availability="do-not-disturb">
              <activity LCID="1033">Demo Time</activity>
            </customState></customStates>

     

    and then I will grant the policy to all users that have Brussels as their office.

    Step 1. Create the policy

    Using the Lync Shell cmdlet New-CsClientPolicy

    IVC-0434

    Step 2. Grant the policy

    Check who has got their office set to Brussels…

    IVC-0435

    Grant and check the Client Policy….

    IVC-0441

    Step 3. Check the settings

    After logging in as Annelies Bulkens, it is clear the settings have been applied!

    (By default, Lync will update client policies and settings every three hours…signing out and in, will force them immediately Smile)

    Custom Presence States, and Appear Offline is available, same for logging…

    IVC-0439

    IVC-0438

    And when starting and joining an IM conversation, the IM warning will pop up:

    IVC-0440

    IVC-0442

    -Ilse

  • Merry Christmas and a Happy 2011!

    Wish you all a Merry Christmas, and a Wonderful, Healthy, Joyful 2011!!

    Ilse

  • Lync and Private Line

    There are a lot of new features available in Lync, and one of them is called “Private Telephone Lines”. A complete review of this feature can be found in this TechNet article:

    http://technet.microsoft.com/en-us/library/gg412728.aspx

    I was eager to test this feature, maybe because in the article it stated that Private telephone lines can only be configured with the Lync Server Management Shell, and yes I’m a big fan of the Shell Smile

    Set Private Telephone Line using the Shell

    After launching the Lync Management Shell, I couldn’t see the Private Line when running Get-CsUser | FL

    IVC-0399

    But after adding a *, there it was Smile

    IVC-0429

    To enable the private line, all you have to do is, run Set-CsUser –PrivateLine, and specify a valid number, like “Tel:+3227041888”

    IVC-0400

    And same for another user in my demo environment, user1:

    IVC-0402

    Even though it is possible to run the Set-CsUser cmdlet and hand out a Private Line value for a non Enterprise-Voice enabled Lync user, it won’t work Smile

    IVC-0405

    When dialing that number, it won’t work.

    IVC-0430

    Configure custom ringtone using the Lync client

    Browsing to the options of your Lync client, it is fairly easy to configure a different/custom ring tone for your private line, as can be seen in the picture below:

    IVC-0401

    System notification for the call tells the user that the incoming call is on his or her private line

    When calling someone using his/her private number, the following system notification pops up:

    IVC-0403

    Whereas a call to someone’s enterprise voice number, shows the following pop up:

    IVC-0404

     

    Ilse

  • Stored Procedures and Lync

    After upgrading my demo environment from Lync RC to Lync RTM, I found that my monitoring server role displayed the following error when trying to go to the dashboard …

    IVC-0406

    Thanks to Wesley B, I was able to fix the error by running the suggested Stored Procedures Smile

    Opened SQL Management Studios, drilled down to LcsCDR, Programmability, Stored Procedures, and there searched for the one mentionned in the error message: dbo.RtcGenerateSummaryTables…

    IVC-0408

    IVC-0409

    Right-clicked the stored procedure, and selected Execute Stored Procedure…

    IVC-0410

    Clicked OK…

     

    IVC-0411

    And that’s it Smile

    IVC-0412

    Did the same for the QoEMetrics database, and after that, when going to the dashboard, it worked Smile

     

    IVC-0414

    IVC-0413

    Ilse