Learn about the Microsoft Lync Server 2013 SDK Archiver sample application.

Note Note

By default, the Archiver application is copied to the %progfile%\Microsoft Lync Server 2013\SDK\Samples\Archiver folder. Archiver and related code samples can also be downloaded from the MSDN Code Gallery.

The Archiver application that is distributed with the Lync Server 2013 SDK shows how to use a managed SIP application to build a topology-aware SIP application that uses message stamping for multi-homed application communications. Each Archiverinstance logs messages that are not yet stored by any instance on another server. The logged requests and responses are stamped to notify downstream Archiverinstances that additional logging is not necessary.

Testing the application

If necessary, copy the %progfile%\Microsoft Lync Server 2013\SDK\Samples\Archiver folder to a Microsoft Lync Server 2013 computer on which the application runs.

To build the application assembly

  1. Open a command console in a user account that has elevated permission.

  2. Open the %progfile%\Microsoft Lync Server 2013\SDK\Samples folder.

  3. Use the following command to build the application.

      Copy codeCopy code
    Compile Archiver
    

To run the application

  1. Log on to the two Lync Server 2013 computers by using an RTC Server Applications local security group account.

  2. Register the application by running the following commands in a Lync Server Management Shell window.

    Note Note

    <lync.Server.Fdqn>is the placeholder for the fully qualified domain name for the test server. You may have to change the priority value so that it is larger than the UserServicesapplication value.

      Copy codeCopy code
    new-csServerApplication -uri "
    http://www.microsoft.com/LC/SDK/Samples/Archiver" -identity
    "service:registrar:<lync.Server.Fdqn>/Archiver" -critical
    $false -priority 6 -enabled $true
    

  3. In a command console, run Archiver.exe to start the application.

See also