Lync Presence Connector

Warning

Lync presence connector is no longer supported in Totalview standard installation. Contact Totalview Support for Lync presence connector installation if necessary.

The Lync presence connector enables presence integration between the Lync server and the Totalview server.

The Lync presence connector uses UCMA 3.0 to communicate with the Lync server. The UCMA establishes a trusted application connection with the Lync server to be able to monitor Lync users and retrieve and set their presence and phone state.

A trusted application must be created on the Lync server for the Lync connector to be able to communicate with the Lync server. The trusted application must be validated by a user with AD administrator credentials.

UCMA requires 64 bit machines and the UCMA runtime or the Lync client must be installed on the machine where the Lync connector is running.

The server and Lync connection can be tested using the Totalview3LyncTester program.

Lync connector parameters

GRUU

GRUU address for the trusted application created on the Lync server. Use the Lync Powershell command Get-csTrustedApplication to see a list of trusted applications. Example:sip:totalview.formula.fo@formula.fo;gruu;opaque=srvr:TotalviewLync:W1w6QAeAA

Port

Trusted application port. Use the Lync Powershell command Get-csTrustedApplication to see a list of trusted applications.

Certificate

Friendly name of the certificate authenticating the server to the Lync server. Certificate can be created using the Lync Powershell command Request-CsCertificate.

Application endpoint

SIP address of a trusted application endpoint created on the Lync server. Use the Lync Powershell command Get-csTrustedApplicationEndpoint to see a list of trusted application endpoints.

Registrar port

Lync server registrar port. Default is 5061

Registrar FQDN

Lync server registrar FQDN.

Trusted application setup

Use the Lync Powershell with sufficient user rights to create the trusted application.

More information can be found at MSDN http://msdn.microsoft.com/en-us/library/lync/hh347258(v=office.14).aspx

  1. Create a trusted application pool where the trusted application will reside.

    [Lync PS:] New-CsTrustedApplicationPool -Identity <tvapps.domain.com> -Registrar <lync server name> -Site <Site id> -ComputerFqdn <local computer name> Use Get-CsSite to list the Site IDs on the Lync server. Example: New-CsTrustedApplicationPool -Identity tvapps.formula.fo -Registrar srv-lync.formula.fo -Site 1 -ComputerFqdn totalview.formula.fo

  2. Create a trusted application for the Lync connector to connect to.

    [Lync PS:] New-CsTrustedApplication -ApplicationId <AppID> -TrustedApplicationPoolFqdn <Application Pool ID> -Port <port> Example: New-CsTrustedApplication -ApplicationId TotalviewLync -TrustedApplicationPoolFqdn tvapps.formula.fo -Port 6000 The specified port must be open for TCP communication in firewalls.

  3. Create a trusted application endpoint.

    [Lync PS:] New-CsTrustedApplicationEndpoint -SipAddress <sip address> -DisplayName “Totalview Lync” -TrustedApplicationPoolFqdn tvapps.formula.fo -ApplicationId TotalviewLync Example: New-CsTrustedApplicationEndpoint -SipAddress sip:totalview@formula.fo -DisplayName “Totalview Lync” -TrustedApplicationPoolFqdn tvapps.formula.fo -ApplicationId TotalviewLync

  4. Request a server certificate.

    A web server certificate is used to enable the Lync server to authenticate the server connecting to the trusted application. [Lync PS:] Request-CsCertificate -New -Type default -FriendlyName <name> -ca <certificate authority> -ComputerFQDN <local machine name> Example:Request-CsCertificate -New -Type default -FriendlyName “tvapps.formula.fo Pool” -ca “ca.formula.fo\Formula Root CA” -ComputerFQDN totalview.formula.fo

  5. Enable the topology.

    An AD administrator must verify the trusted application and enable its topology using the [Lync PS]:Enable-csTopology command.