Valerio Posted October 31, 2007 Report Posted October 31, 2007 hi, 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 thanks, valerio [5] 2007/10/31 11:17:41: SIP port accept from 10.10.10.205:2871 [2] 2007/10/31 11:17:41: SIP Rx tcp:10.10.10.205:2871: SUBSCRIBE sip:300@pbx.idc.it SIP/2.0 ms-user-data: ms-publiccloud=true;ms-federation=true Via: SIP/2.0/TCP 10.10.10.205:2871;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 10.10.10.109:2237;ms-received-port=2237;ms-received-cid=3400 To: <sip:300@pbx.idc.it> Call-ID: 69f59f18865c47d89d50c9f4737bf323 CSeq: 1 SUBSCRIBE 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:10.10.10.205:2871: SIP/2.0 404 Not Found Via: SIP/2.0/TCP 10.10.10.205:2871;branch=z9hG4bK54C2451C.6173D6DA;branched=FALSE Via: SIP/2.0/TLS 10.10.10.109:2237;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 CSeq: 1 SUBSCRIBE Content-Length: 0 Quote
Vodia PBX Posted October 31, 2007 Report Posted October 31, 2007 Whow. 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. Quote
Valerio Posted October 31, 2007 Author Report Posted October 31, 2007 yes, using localhost can you investigate ? please Quote
Vodia PBX Posted October 31, 2007 Report Posted October 31, 2007 Well, both "valerio_capodacqua" and "300" must exist on the PBX in the domain, preferrably "localhost". Quote
Recommended Posts
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.