Jump to content

OCS Integration - Presence


Recommended Posts


working on integration with OCS 2007 I managed to have the Office Communicator client query for presence status of an extension but pnxnsip does not give any info back.


In the veriosn 2.1 docs you say that there is a presence agent, can you plase share more technical details on how it owrks and if it can be queryied from other programs like OC client ?


follows the trace of the presence query for extension 300@pbx.idc.it that I can call from OC without problems





[5] 2007/10/31 11:17:41: SIP port accept from

[2] 2007/10/31 11:17:41: SIP Rx tcp:

SUBSCRIBE sip:300@pbx.idc.it SIP/2.0

ms-user-data: ms-publiccloud=true;ms-federation=true

Via: SIP/2.0/TCP;branch=z9hG4bK54C2451C.6173D6DA;branched=FALSE

Max-Forwards: 69

From: "Valerio Capodacqua"<sip:valerio_capodacqua@idc.it>;tag=043fff55fb;epid=690fd4933f

Via: SIP/2.0/TLS;ms-received-port=2237;ms-received-cid=3400

To: <sip:300@pbx.idc.it>

Call-ID: 69f59f18865c47d89d50c9f4737bf323


Contact: <sip:valerio_capodacqua@idc.it;opaque=user:epid:spDQRFEuEVyR_Fg9qEaqjgAA;gruu>

User-Agent: UCCP/2.0.6362.13 OC/2.0.6362.13 (Microsoft Office Communicator)

Event: presence

Accept: application/msrtc-event-categories+xml, application/xpidf+xml, text/xml+msrtc.pidf, application/pidf+xml, application/rlmi+xml, multipart/related

Supported: com.microsoft.autoextend

Supported: ms-piggyback-first-notify

Expires: 0

Require: adhoclist, categoryList

Supported: eventlist

Content-Type: application/msrtc-adrl-categorylist+xml

Content-Length: 462


<batchSub xmlns="http://schemas.microsoft.com/2006/01/sip/batch-subscribe" uri="sip:valerio_capodacqua@idc.it" name=""><action name="subscribe" id="1171032"><adhocList><resource uri="sip:300@pbx.idc.it"/></adhocList><categoryList xmlns="http://schemas.microsoft.com/2006/09/sip/categorylist"><category name="calendarData"/><category name="contactCard"/><category name="note"/><category name="services"/><category name="state"/></categoryList></action></batchSub>


[2] 2007/10/31 11:17:41: SIP Tx tcp:

SIP/2.0 404 Not Found

Via: SIP/2.0/TCP;branch=z9hG4bK54C2451C.6173D6DA;branched=FALSE

Via: SIP/2.0/TLS;ms-received-port=2237;ms-received-cid=3400

From: "Valerio Capodacqua" <sip:valerio_capodacqua@idc.it>;epid=690fd4933f;tag=043fff55fb

To: <sip:300@pbx.idc.it>;tag=ea6a803a49

Call-ID: 69f59f18865c47d89d50c9f4737bf323


Content-Length: 0

Link to comment
Share on other sites



Are you using the name "localhost" as the domain name? The "Not Found" might be easy to fix. However, this is untested terrain and by looknig at the headers you can see there is a lot of MS-specific stuff that might cause issues later. For example, the attachment in the SUBSCRIBE will not be looked at.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...