[Devel] notify missing on subscribe

Juha Heinanen jh at tutpro.com
Mon Apr 30 11:49:51 CEST 2007


while testing presence_mwi module, i sent a subscribe to openser
presence server.  openser presence server responded with 200 ok, but
didn't sent any notify request.

at this point i have not yet been able to publish anything on the uri of
the subscribe request, but i still would expect openser presence server
to send a notify with an empty body after it sent the 200 ok.

from rfc3265.txt:

   Upon successfully accepting or refreshing a subscription, notifiers
   MUST send a NOTIFY message immediately to communicate the current
   resource state to the subscriber.  This NOTIFY message is sent on the
   same dialog as created by the SUBSCRIBE response.  If the resource
   has no meaningful state at the time that the SUBSCRIBE message is
   processed, this NOTIFY message MAY contain an empty or neutral body.

openser didn't write any error message to the log and happily accepted
the subscribe.  it also create an entry on it in active_watchers table.

why didn't it send the notify?

-- juha



More information about the Devel mailing list