To create a Microsoft Lync Server 2013 SIP Application API application, write an application manifest or create a Visual Studio project.

  • Write a Lync Server 2013 SIP Application API application manifest that specifies the identity of the application and contains a MSPL script to process designated SIP messages. For more information, see How to: Create an application manifest .

  • Create a Visual Studio project for a managed Lync Server 2013 SIP Application API application, if the message processing is delegated to the managed code component by using the Microsoft.Rtc.Sip namespace.

To create a Visual Studio project for a managed Lync Server SIP application

  1. Create a new Visual Studio project, and then select a project template (for example, C# Console Application).

  2. In the New Projectdialog box, specify the project name, and then choose OK.

  3. In Solution Explorer, add references to the Microsoft.Rtc.Sip namespace by doing the following:

    1. Right-click Referencesunder the newly created project.

    2. Select Add Reference.

    3. Navigate to the bindirectory under the main installation directory of the Lync Server 2013 SIP Application API. By default, this directory path is "%progfile%\Microsoft Lync Server 2013\SDK\bin".

    4. Double-click the ServerAgent.DLL file.

  4. Import the Microsoft.Rtc.Sipand other dependent namespaces into the application project by inserting the following statements at the end of the usingblock in every code file that references the Lync Server 2013 SIP Application API.

    C#  Copy codeCopy code
    using Microsoft.Rtc.Sip;
    

See also