Learn about the Microsoft Lync Server 2013 SDK Archiver sample application.
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
Open a command console in a user account that has elevated permission.
Open the %progfile%\Microsoft Lync Server 2013\SDK\Samples folder.
Use the following command to build the application.
To run the application
Log on to the two Lync Server 2013 computers by using an RTC Server Applications local security group account.
Register the application by running the following commands in a Lync Server Management Shell window.
<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.
new-csServerApplication -uri " http://www.microsoft.com/LC/SDK/Samples/Archiver" -identity "service:registrar:<lync.Server.Fdqn>/Archiver" -critical $false -priority 6 -enabled $true
In a command console, run Archiver.exe to start the application.