ash_skywalker10
ash_skywalker10

Reputation: 39

Possible to do a HTTP request to API to get Presence Data from a Lync 2010 server

Just wanted to check whether its possible to do an HTTP request to get Presence data on Lync 2010, sort of like how it done on Lync 2007 e.h.

   <cwaRequests xmlns="http://schemas.microsoft.com/2006/09/rtc/cwa" sid="91">
    <queryPresence rid="4">
      <uris>
          <uri>sip:[email protected]</uri>
      </uris>
    </queryPresence>
   </cwaRequests>

I wanted to make this request from a PHP script on a Linux machine. Is this possible, without having to install any additional software?

Any help would be awesome.

Upvotes: 1

Views: 513

Answers (2)

Nic Strong
Nic Strong

Reputation: 6592

The two current web-based API's Skype Web SDK and UCWA aren't supported on Lync 2010. I think the only way is as @ShellbyZ has said, exposing a UCMA 4 application through a Web API.

Upvotes: 0

ShelbyZ
ShelbyZ

Reputation: 1504

If you are interested in creating a Web Service that exposes UCMA functionality you will want to consider looking into:

Some things to keep in mind when designing/devloping the Web API portion is that UCMA is a 64-bit assembly meaning you should not expect to run it under a 32-bit process. IF you ever forget this you will run into an issue with a dependent assembly called SIPEPS not being found.

Once you have your feet wet with UCMA you will want to look into developing a Web API to expose this UMCA presence functionality. I will leave the Web API portion a little sparse as there are many different options on how to host and expose a Web API, but I would suggest looking into Getting Started with ASP.NET Web API 2 (C#) as a start.

Upvotes: 0

Related Questions