Search code examples
siplyncucma

Sip <--> Lync Integration


I have a SIP app that I wish to connect to a Lync environment. So far I've set up a Static Route enabling the Lync Server to deliver SIP messages to my App. However, the messages I send to the Server are not being answered.

Is there any way to check if my app is correctly Authenticated to the Lync Server? how do I authenticate?

Also, googling around I read that in order to enable your App to talk to a Lync Server you have to use UCMA: is this true? I need to start from scratch? any guides? Microsoft's documentation is rather poor.

Thanks a lot


Solution

  • A little background on integration. What you use depends on your application. There are multiple integration points to Lync 2010.

    UCMA is typically used for automated end-points (IVRs, IM bots, routing applications, etc). If you're looking to build an application that answers a phone call or responds to an IM then UCMA is what you're looking for.

    The Lync SDK is used for automating the Lync client application. This is somewhat akin to the classic Office Integration scenario where you want your application to say, start a mail-merge in Word for your end-user. If you're looking to to enable users to click phone numbers to initiate a call from within your application for example, you want to use the Lync SDK.

    You stated that you have a SIP application here, but that is pretty general. Are we talking about a soft-phone? If so, DronNick is stop on - you need to enable TCP without TLS on your Lync Server. Because UCMA and Lync assume you have a standard Lync roll-out in place, it uses TLS for all communication. In very general level terms, UCMA is the SIP stack. If you've got an app with its own SIP stack then you shouldn't need to leverage UCMA at all.