If you have been publishing presence and you want to "sign out", then publish an update that expires immediately. If you have registered and you want your device to "sign out" then reregister your contact with an expires=0.
You *could*, as Rakendu suggests, remove *all* registered contacts. But that would probably not be a good idea under normal circumstances. Unless you have control over all the devices that are registering they will probably reregister anyway.
Paul
Rakendu Devdhar wrote:
To remove all binding you may want to put contact='*' and expires = 0. This should remove all bindings.
-rakendu
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sharath Chandra Sent: Monday, October 25, 2004 9:48 AM To: [EMAIL PROTECTED] Subject: [Sip-implementors] Signout in Presence Service
Hi All,
I have 2 queries regarding Presence Server.
1) Is specifying expiration interval to '0' in REGISTER method the only way to remove all bindings of a UA. For example, in a Presence service i will sign out from a UA by sending expires=0 in REGISTER method. Is it correct ?
2) If yes, should my UA PUBLISH its sign out state and then send final REGISTER so that Presence Server can send Notification to all subscribers about the Signout state. Or my Presence Server should handle REGISTER with expires=0 and generate a Notification on its own without any PUBLISH.
Please clarify.
Thanks, Sharath Chandra
_______________________________________________ Sip-implementors mailing list [EMAIL PROTECTED] http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
_______________________________________________ Sip-implementors mailing list [EMAIL PROTECTED] http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
_______________________________________________ Sip-implementors mailing list [EMAIL PROTECTED] http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
