[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sip] Query on Subscribe/Notify



Hi All,

When two useragents subscribed to peer-peer Presence.

For example:

 UserAgentA ----SUBSCRIBE-------> UserAgentB
 UserAgentA <----200OK------- UserAgentB
 UserAgentA <----NOTIFY(ONLINE)------- UserAgentB
 UserAgentA <----SUBSCRIBE------- UserAgentB
 UserAgentA ----200OK-------> UserAgentB
 UserAgentA ----NOTIFY(ONLINE)-------> UserAgentB

 After Sometime UserAgentB restarted, before it goes to reboot, it send UnSubscribe to UserAgentA.
 
 UserAgentA <----SUBSCRIBE(Expires:0)------- UserAgentB
 UserAgentA ----200OK(Expires:0)-------> UserAgentB

 What would be expected behavior on UserAgentA?

   - should carry UserAgentB has a online/offline on UserAgentA ?
   - when UserAgentA receives subscribe(from UserAgentB) with expires 0, UserAgentA should remove the status  of UserAgentB?

Any response is highly appreciated.

Thanks in advance

Regards
Sudhir

_______________________________________________
Sip mailing list  https://www.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use sip-implementors at cs.columbia.edu for questions on current sip
Use sipping at ietf.org for new developments on the application of sip