[Users] presence .... hard state?

Cesc cesc.santa at gmail.com
Wed Apr 25 12:40:57 CEST 2007


Ok.

It would be great if a default state could be set, though this would
be event package specific. But this way, for presence, an "offline"
state could be sent ... as most probably a notify with no body is
simply discarded ... is it?

cesc

On 4/25/07, Anca-Maria Vamanu <anca at voice-system.ro> wrote:
> Hi,
>
> Now presence module sends a Notify with no body if it does not have any
> info about Alice's state. I have to look more into this hard state stuff.
>
> regards,
>
> Anca
>
>
> Cesc wrote:
>
> > Hi,
> >
> > RFC 3903 (PUBlishing to an event), talks about hard state and soft
> > state. Soft state is properly handled by presence module ... that is,
> > the one generated by PUB messages.
> > But, is there any way to set hard state? the way I read it, it shall
> > be possible to do:
> >
> > Bob subscribes to Alice presence info
> > Alice has not published anything ... but we know we shall handle her
> > state.
> > We send to Bob a NOTIFY with the hard state (default)
> >
> > Or does the module already do that? how can I set the default hard state?
> >
> > Regards,
> >
> > Cesc
> >
> > _______________________________________________
> > Users mailing list
> > Users at openser.org
> > http://openser.org/cgi-bin/mailman/listinfo/users
> >
>
>




More information about the Users mailing list