Iñaki Baz Castillo writes:
As I said in my first mail, if a device supporting
presence
publishes "Online - Away" and after a minute it generates a REGISTER (to
refresh the "expire" in the server), then this REGISTER will generate a new
PUBLISH (made by "pua_usrloc" module), but this PUBLISH will just
indicate "Online", so watchers will see "Online".
After a while, when the device sends a refresh PUBLISH this will
contain "Online - Away", and that is what watchers will see then.
why doesn't pua_usrloc generate a publish that corresponds to current
published status of the device?
why does pua_usrloc need to generate a publish are result of register?
So I need a way to determine if a device does PUBLISH
or not, that is the
reason I plan to have a DB table with PUBLISH capable (or not
capable) "user-agent" list.
a device may be capable of generating a publish, but if may not have
been configured to do so.
-- juha