[Devel] notify missing on subscribe

Anca-Maria Vamanu anca at voice-system.ro
Mon Apr 30 12:25:23 CEST 2007


It should have sent. It did before. Seems that a bug sliped in when i 
made the generalization. I will fix it. It would help if you sent the 
log from when the subscribe was received.

anca
Juha Heinanen wrote:

>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
>
>_______________________________________________
>Devel mailing list
>Devel at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/devel
>
>  
>




More information about the Devel mailing list