To be clear, there is no specification that says you
"MUST" implement
PUBLISH to do presence. It really comes down to an
architectural
decision. If you want presentities to be able to push their
presence
information to a central presence server, you need PUBLISH.
If you
want to build a server or client that interoperates with
other
servers and/or clients, then PUBLISH is certainly a good
idea.
But PUBLISH is not explicitly needed to make SUBSCRIBE work.
You can
have a device that consumes presence, but does not publish
it--in
which case that device would not need to implement PUBLISH.
On Mar 17, 2006, at 5:12 AM, Abhijit A. Mahajani wrote:
> Hi Sudhir,
> Thanks. I perfectly agree.
> But if i have not implemented PUBLISH, still i
SUBSCRIBE for some
> body, then will i get any NOTIFICATION?
> in simple words: I am implementing Instant messaging
and presence
> in my SIP stack. Do I need to implemetn PUBLISH? is it
mandatory?
>
> Regards.
> Abhijit
> ----- Original Message -----
> From: Sudhir
> To: Abhijit A. Mahajani
> Sent: Friday, March 17, 2006 4:35 PM
> Subject: Re: [Simple] What is the difference between
SIP PUBLISH
> and SIP SUBSRIBE
>
> Hi Abhijit,
>
> The PUBLISH is used to publish ur presence status to
the server.
> when any user send SUBSCRIBE to know abt u ... the
server send the
> status to user which u send in the PUBLISH.
>
> i hope i'm clear. if not get badck to me
> \regards
> sudhir
>
>
> On 3/17/06, Abhijit A. Mahajani <abhijit_m citilindia.com> wrote:
> Hi
> What is the difference between the following SIP
Methods:
> PUBLISH and SUBSCRIBE?
> Is it mandatory to implement PUBLISH in presence
implementation?
> Thanks and REgards.
> Abhijit
>
> _______________________________________________
> Simple mailing list
> Simple ietf.org
> https:/
/www1.ietf.org/mailman/listinfo/simple
>
>
>
> _______________________________________________
> Simple mailing list
> Simple ietf.org
> https:/
/www1.ietf.org/mailman/listinfo/simple
_______________________________________________
Simple mailing list
Simple ietf.org
https:/
/www1.ietf.org/mailman/listinfo/simple
|