Configuration problems with ucma 3.0 and lync 2010 RRS feed

  • Question


    <?xml version="1.0"?>
        <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />

        <add key="LyncServer" value="yourlyncserver"/>
        <add key="LyncServerPort" value="10607"/>
        <!-- presence -->
        <add key="ApplicationId" value="urn:application:lyncpresence"/>
        <add key="ApplicationName" value="LyncPresence"/>
        <add key="TrustedContactURI" value="sip:lyncpresence@orbitone.com"/>
        <!-- chat -->
        <add key="ChatUserSip" value="sip:lyncbot@yourdomain.com"/>
        <add key="ChatUserName" value="yourlinkbotusername"/>
        <add key="ChatUserPass" value="yourlinkbotpass"/>
        <add key="ChatUserDomain" value="yourdomain"/>
        <add key="ChatTimeoutSeconds" value="60"/>

        <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
            <behavior name="webHttpBehavior">
              <webHttp />
            <behavior name="">
              <serviceMetadata httpsGetEnabled="true" />
              <serviceDebug includeExceptionDetailInFaults="false" />
            <binding name="webHttpBindingWithJsonP" crossDomainScriptAccessEnabled="true" >
              <security mode="Transport" />
          <service name="Lync.Widget.Service.Service">
            <endpoint binding="webHttpBinding"
                      bindingConfiguration="webHttpBindingWithJsonP" contract="Lync.Widget.Service.IService"

        <compilation debug="true" targetFramework="4.0" />
        <customErrors mode="Off"/>
        <modules runAllManagedModulesForAllRequests="true"/>

        <appender name="FileAppender" type="log4net.Appender.FileAppender">
          <file value="log.txt" />
          <appendToFile value="false" />
          <layout type="log4net.Layout.PatternLayout">
            <conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
        <appender name="ErrorFileAppender" type="log4net.Appender.FileAppender">
          <file value="errors.txt" />
          <appendToFile value="false" />
          <layout type="log4net.Layout.PatternLayout">
            <conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
          <filter type="log4net.Filter.LevelRangeFilter">
            <levelMin value="ERROR" />
          <appender-ref ref="FileAppender" />
          <appender-ref ref="ErrorFileAppender" />


    Pls tell me the steps how to create applicationid,applicationname,trustedcontacturi and  lync port number...how i create this port number...how we identify lync server name...

    Also i dnt know chatusersip.chatusername,chatuserpass,chatuserdomain...is it the user in the lync.?if so how it works...there will be so many users in lync...

    i tried to create these configurations,but while running web service its showing eror,  endpoint is missing....is it because of problem with configuration?

    Pls check the code in codeplex....hope u will help me...

    I downloaded project chatwidget from codeplex,includes chating of website user and lync client.i have a  little confusion in web.config file,Here is the web.config file.
    Tuesday, July 26, 2011 6:09 AM

All replies

  • There is a good step-by-step walkthrough in George Durzi's posts here:




    For those other "chat user" settings, it looks like you need to enter the SIP URI, username, and password of a Lync user that should be used by the application to send and receive messages.

    Let me know if you have specific questions about the steps.

    Michael Greenlee | linkedin: http://www.linkedin.com/in/michaelgreenlee | blog: http://blog.greenl.ee
    Tuesday, July 26, 2011 1:57 PM
  • The instructions are also provided in the UCMA documentation and include the usage of the Topology Builder tool which makes things simpler - http://msdn.microsoft.com/en-us/library/gg448309.aspx
    -- How To Ask a Question: http://support.microsoft.com/kb/555375 -- This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm
    Tuesday, July 26, 2011 3:48 PM
  • Hi,

    In web-config,i given '1' for application name(copied from  applicationid [urn:application:1])

     <!-- presence -->
        <add key="ApplicationId" value="urn:application:1"/>
        <add key="ApplicationName" value="1"/>
        <add key="TrustedContactURI" value="sip:lyncpresence@godu.co.in"/>

    Is it right or wrong?


    When i checked link given by u,i noticed that there is a term display name and legacyapplicationname..which one i have to choose for appplication name in web.config?


    Wednesday, July 27, 2011 4:43 AM