Giggesh Thekkekeloth | Hi, To response to some of your queries ... 1. The developer doc (http://developer.cisco.com/web/cupapi/docs) clearly stated the sample response as below <?xml version="1.0" encoding="UTF-8" standalone="no"?> <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"> <soapenv:Body> <getSubscribedPresenceResponse xmlns="urn:cisco:cup:presence:soap">> <PresenceResponse> <presenceType>BASIC_PRESENCE</presenceType> <basicPresenceList> <contact contactURI="enduser1@cisco.com" presenceStatus="BUSY"/> <contact contactURI="enduser2@cisco.com" presenceStatus="AVAILABLE"/> <contact contactURI="enduser3@cisco.com" presenceStatus="UNKNOWN"/> </basicPresenceList> <richPresenceList></richPresenceList> </PresenceResponse> </getSubscribedPresenceResponse> </soapenv:Body> </soapenv:Envelope> The <contact> would be showing the presense status. And the difference between the Subscribed Presence Request and Polled Presence Request is as below , The getSubscribedPresence request returns presence information for a subscription. This method is called following a notify message from Cisco Unified Presence. But, the getPolledPresence request returns presence information for a list of users.where you keep contactsList (-i.eThe list of contact URIs that are part of the polled presence request.) in the get request. So i believe in your case, you have to call the GetSubscribedPresence method immediately after calling the subscribe method. 2. I belive GetSubscribedPresence will return complete presence details, see the below sample response... <pre style="margin: 0em;"> <presence entity="sip:ashutosh@ncbu2.com" xmlns="urn:ietf:params:xml:ns:pidf" xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model"> <dm:person> <activities xmlns="urn:ietf:params:xml:ns:pidf:rpid"> <unknown xmlns="urn:cisco:params:xml:ns:pidf:rpid"/> </activities> </dm:person> <tuple id="default"> <status> <basic>closed</basic> </status> </tuple> </presence>
3. This is theoretically possible, not sure on the implimentation.
Please refer developer doc in http://developer.cisco.com/web/cupapi/docs </pre> |
| Please sign in to flag this as inappropriate. |