Configuring Lync SDN Manager

Applies to: Lync 2013


The steps presented in this section are optional unless you want to modify the default configurations.

The Lync SDN Manager (LSM) logging can be configured by editing the SDNManager.exe.config file located in the default installation directory. The process is similar to configuring LDL logging.

Configure Lync SDN Manager logging options

You can configure the logging options for the LSM by following the same steps for the LDL. Please see Configuring Lync Dialog Listener for more information.

Configure Lync SDN Manager execution options

Follow these steps to modify the Lync SDN Manager (LSM) execution configuration.

Configure LSM execution options

  1. Navigate to the API installation directory.

  2. Open the SDNManager.exe.config file with a text editor.

  3. Search for the <appSettings> section and make appropriate changes to relevant entries therein.

The configuration for executing the LSM service is flexible. The following table shows a few options, as an illustration.



<add key="submituri" value="http://YourSdnController" />

Set the value of the web address for the controller. This is populated by the installer but can be updated through this configuration. This can be one or more values, separated by comma, semicolon, or space.

<add key="backwardcompatibility" value="false" />

Set the value of the backward compatibility mode. If this value is set to true, then the LSM will forward the version 1.0 schema format.

<add key="clientcertificateid" value="" />

When using SSL, LSM will use this thumbprint to locate a client certificate in the local store to use for connecting to the network controllers

<add key="submitqueuelen" value="100" />

Set value to the maximum unanswered and waiting messages to send to each recipient. Change this value only if network conditions require a longer queue length due to delays in messages being received by the network management system.

<add key="calltimeout" value="6:00:00" /> <!-- 6 hours -->

Maximum time expected for a call, after which state kept will be dropped.

<add key="invitetimeout" value="0:02:00" /> <!-- 2 min -->

Maximum time expected for ringing, before either an error is sent or the user picked up

<add key="qoetimeout" value="0:00:05" /> <!-- 5 secs -->

Time to wait after the last QoE report before forwarding a merged report to the network controller(s)

<add key="endedtimeout" value="0:01:00" /> <!-- 1 min -->

Time to wait after the Ended message before cleaning up the call if no QoE report is received.

Web service configuration

By default, the submituri value for the Web service is set to http://localhost:9333/LDL and https://localhost:9332/LDL. For https, the manager expects a valid certificate for both client and server certificates.

Advanced configuration for debugging and logging

The LSM supports advanced debugging via a WCF service. By uncommenting and customizing the section below, you can send low level debug messages to a WCF service.

    <trace autoflush="true" indentsize="4">
        <add name="file" type="System.Diagnostics.TextWriterTraceListener" initializeData="trace.log"/>
      <source name="System.Net">
          <add name="System.Net"/>
      <source name="System.Net.HttpListener">
          <add name="System.Net"/>
      <source name="System.Net.Sockets">
          <add name="System.Net"/>
      <source name="System.Net.Cache">
          <add name="System.Net"/>
      <source name="System.ServiceModel"
                switchValue="Information, ActivityTracing"
          <add name="sdt"
              initializeData= "c:\logdir\log.e2e" />
      <add name="System.Net" value="Verbose"/>
      <add name="System.Net.Sockets" value="Verbose"/>
      <add name="System.Net.Cache" value="Verbose"/>
      <add name="System.Net.HttpListener" value="Verbose" />
      <add name="System.Net"
              initializeData="C:\logdir\Tracing.log" traceOutputOptions = "DateTime" />

You can also turn on some additional logging by uncommenting the section below. When uncommented and customized, it will start a service, with both options for http and https, to receive "random" xml messages and log them to the "OutputData" logging channel.

          <!--<service name="Microsoft.Rtc.Enlightenment.Hub.LogService">
            <endpoint address="http://localhost:9333/Log"
              binding="webHttpBinding" behaviorConfiguration="webby"
              name="ep1" contract="Microsoft.Rtc.Enlightenment.Hub.ILogService" />
            <endpoint address="https://localhost:9332/Log"
              binding="webHttpBinding" bindingConfiguration="wsHttpEndpointBindingNoCert"
              name="ep1" contract="Microsoft.Rtc.Enlightenment.Hub.ILogService" >
                <dns value="ServerSideCert"/>

The WCF configuration allows for testing and running the Lync SDN API without needing a network controller that accepts the Lync SDN API message format. You can configure this setting by changing the submitUri value to "http://localhost:9333/Log/PostStuffHere", instead of a network controller’s web service.


You can view the last megabyte of messages received by browsing to http://localhost:9333/Log/GetStuffHere.