ViewVC logotype

Revision 6495

Jump to revision: Previous Next
Author: mfroman
Date: Mon Aug 14 15:51:13 2006 UTC (13 years, 4 months ago)
Changed paths: 4
Log Message:
Fixing a bug where DUM was ignoring the subscription duration returned in the
2xx for a SUBSCRIBE.  This only becomes a problem if a server implementation
(not DUM) is _not_ putting the expires on the Subscription-State in the NOTIFY. 
3265 says this is a SHOULD, so there are (may be) some implementations out there
that are not doing this.

The problem this caused for clients built with DUM is this:
1. UAC sends a SUBSCRIBE with either a) a duration larger than max allowed (max
                                        allowed must be less than 3600)
                                     b) no duration (expecting to use default 
                                        value which is less than 3600)
2. The UAS responds with the expires in the 2xx, but not in the NOTIFY
3. UAC built with DUM ignores the expires in the 2xx and not finding one in the
    NOTIFY uses a default 3600.
4. The subscription expires before before the UAC refreshes.

This is difficult to test with a "stock" version of DUM.

Changed paths

Path Details
Directorymain/resip/dum/ClientSubscription.cxx modified , text changed
Directorymain/resip/dum/ClientSubscription.hxx modified , text changed
Directorymain/resip/dum/Dialog.cxx modified , text changed
Directorymain/resip/dum/Dialog.hxx modified , text changed

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27