[OpenSER-Devel] [ openser-Bugs-1788975 ] NOTIFY body absent

SourceForge.net noreply at sourceforge.net
Wed Sep 5 23:16:21 CEST 2007


Bugs item #1788975, was opened at 2007-09-05 20:49
Message generated for change (Comment added) made by amr42
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1788975&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: NOTIFY body absent 

Initial Comment:
Good afternoon! I have noticed something slightly odd about the presence module's handling of initial NOTIFY messages. 

Assume that user A has a subscription to user B. User B is offline. 

User A signs in. The initial notification message to user A regarding the status of user B does not have a body. This causes a problem in the Pidgin IM client. This client specifically relies on a valid body in the NOTIFY message before sending a 200OK response to OpenSER. If OpenSER does not receive that 200OK response, it cancels the subscription. Therefore, when user B signs on later, user A is not appropriately notified.

I have modified the Pidgin client to account for this misunderstanding. However, the Pidgin developers will not accept that change until the problem is rectified in the OpenSER code. It is their belief that the spec requires a body to ALL notification messages, no matter if the user is available or not. 

To see their comments, you can view the Pidgin ticket at this location:
http://developer.pidgin.im/ticket/2181

Please feel free to contact me at Will.Hawkins at itt.com to discuss this matter further. Thanks for your help!

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

Comment By: Aron Rosenberg (amr42)
Date: 2007-09-05 21:16

Message:
Logged In: YES 
user_id=43318
Originator: NO

NOTIFY requests do NOT have to contain a body per RFC 3265 and RFC 3856
section 6.7 - Only if the Presence Server has knowledge of a proper
presence document might it return that document as a NOTIFY body in a
message.

An empty NOTIFY means that the subscription state is being updated and the
presence server does NOT know anything specific about the presentity state
of that user.

RFC 3856 Section 6.7  "The NOTIFY request MAY contain a body indicating
the state of the presentity."

Pidgin is doing the wrong thing.


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

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



More information about the Devel mailing list