On 20 Feb 2015, at 09:50, Sreejith Sadaasivan <sreejith_sadasi...@yahoo.com> 
wrote:

> Hi All,
> I have a doubt on presence subscription of a buddy.
> 
> 1) whether it is always mandatory to subscribe to a buddy with "SUBSCRIBE" 
> message to retrieve the presence of a buddy?

Yes

> 2) is there anyway we can directly retrieve the presence of a buddy without 
> subscribing ( without sending SUBSCRIBE message )

Not by using SIP protocol. NOTIFY messages containing presence payload are sent 
as a result of a previous SUBSCRIBE.

> I am afraid that if I try to get a presence of a buddy by SUBSCRIBE message 
> then later I need to send an UNSUBSCRIBE to the buddy. if there is anyway to 
> directly retrieve the presence of a buddy then we can avoid the UNSUBSCRIBE 
> part. 

There is no standard way of doing such thing. What you ask can be done if your 
client can somehow query the data stored by your server by other means than 
SIP. But this has nothing to do with the SIP protocol.

> please help me with your suggestion.
> Thanks & Regards,Sreejith
> _______________________________________________
> Sip-implementors mailing list
> Sip-implementors@lists.cs.columbia.edu
> https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

--
Adrian



_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to