< Previous by Date Date Index Next by Date >
  Thread Index  

[reSIProcate] List subsciptions




Note: forwarded message attached.


Pinpoint customers who are looking for what you sell.
--- Begin Message --- After solving that issue I am seeing another one. When I send a list subscription i expect to be notified when any one of those contacts on the list changes their presence state. What I notice is that I get a response/notify for the initial list subscription but do not get any when one of the contacts presence state changes. Should I be doing something additionally. I was under the impression that the OnUpdate() call back would get called as long as there was an active list subscription.


Subbu

Byron Campen <bcampen@xxxxxxxxxxxx> wrote:
I'm not seeing any code that discriminates based on the Content-Type that could be causing the behavior you're seeing. Can you post traces/logs? Looking at the code, this might be happening because of the absence of a Subscription-State header.

Best regards,
Byron Campen

Hi
   I was wondering if anyone has experience with handling the following content type:

   Content-Type:multipart/related;type="application/rlmi+xml";

   I have suceeded in sending SUBSCRIBE messages to <resourcelistidetifier>@<presence server IP>
   
   I can see that the presence server is replying with a NOTIFY which has the    content type:
   Content-Type:multipart/related;type="application/rlmi+xml";


   I have updated incoming notifications to handle these types:
   
    clientDum.getMasterProfile()->addSupportedMimeType(NOTIFY,  Pidf::getStaticType());
    clientDum.getMasterProfile()->addSupportedMimeType(NOTIFY, Rlmi::getStaticType());    
    clientDum.getMasterProfile()->addSupportedMimeType(NOTIFY, MultipartRelatedContents::getStaticType());
    clientDum.getMasterProfile()->addSupportedMimeType(NOTIFY,Mime("application", "simple-message-summary"));
    clientDum.getMasterProfile()->addSupportedMimeType(NOTIFY, Mime("application", "cpim-pidf+xml"));


   But the onUpdateActive(ClientSubscriptionHandle is,const SipMessage& notify, bool outOfOrder)
   callback in the ClientSubscriptionHandler does not get called when I recieve this NOTIFY message.

   Does someone know if I need to do anything else for this callback to get called when I handle this content type.

   When I try sending a simple SUBSCRIBE to single user. I get back a NOTIFY message of the type  "application/pidf+xml". When I recieve this type of NOTIFY the call back function onUpdateActive gets successfully called.

   Help from anyone on this topic will be appreciated.

Thank you
Subbu


Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.
_______________________________________________
resiprocate-devel mailing list



Shape Yahoo! in your own image. Join our Network Research Panel today!
--- End Message ---