[OpenSER-Devel] [ openser-Bugs-2026681 ] presence module does not send correct watcher info documents

SourceForge.net noreply at sourceforge.net
Thu Jul 24 13:24:36 CEST 2008


Bugs item #2026681, was opened at 2008-07-24 14:24
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2026681&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver devel
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Lucian Stanescu (luci_stanescu)
Assigned to: Nobody/Anonymous (nobody)
Summary: presence module does not send correct watcher info documents

Initial Comment:
Hello,

The attached patch corrects the following problems related to the watcher info implementation in the presence module:

1. At each subscribe within a dialog, the module sends a full watcherinfo document, always with version 0. There is no need to send a full watcherinfo document when a subscription is refreshed, but rather when the state of a watcher changes. The version number should be incremented within a dialog, not reset each time the subscription is refreshed.

2. When the state of a watcher changes, it sends a watcherinfo document with only that watcher's status, but with a state attribute set to "full". The state attribute should be "partial".

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2026681&group_id=139143



More information about the Devel mailing list