/[resiprocate]/main/resip/dum/ClientSubscription.hxx
ViewVC logotype

Log of /main/resip/dum/ClientSubscription.hxx

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 9301 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 4 14:45:18 2012 UTC (7 years, 10 months ago) by sgodin
File length: 5939 byte(s)
Diff to previous 9299
-add default parameter for backwards compatibility

Revision 9299 - (view) (download) (annotate) - [select for diffs]
Modified Wed Dec 14 21:13:11 2011 UTC (7 years, 11 months ago) by sgodin
File length: 5933 byte(s)
Diff to previous 9033
-modified client subscription to allow a subscription to be terminated without sending a final SUBSCRIBE request,
 useful in cases where an extension Subscription-State is used that signifies that the subscription is terminated

Revision 9033 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 27 17:17:15 2011 UTC (8 years, 8 months ago) by sgodin
File length: 5740 byte(s)
Diff to previous 8981
-merge work from b-client-outbound-20110213 - client outbound support (RFC 5626)
   - New UserProfile settings
      - clientOutboundEnabled
      - setRegId
   - UserProfile now tracks flow used at registration time if server indicates outbound support, and 
     all usages that are assigned the same UserProfile will use this flow
   - ;ob parameter is added to contact headers of non-REGISTER requests if clientOutboundEnabled
   - ;reg-id parameter is added to contact headers of REGISTER requests if configured
   - ;+sip.instance is added to all contact headers if configured
   - ClientRegistration tagContact is now static and is used in RegistrationCreator for consistency
   - Keep alive pong responses are now routed from Stack to DUM Keepalive Manager
   - DUM Keep alive manager will terminate flows if a pong response is not received from 
     an outbound enabled connection after a default of 10 seconds
   -removed a bunch of non-implemented methods from DialogUsageManager.hxx
   -optimized some accesses to user profile from usages
   -added new makeInviteSession calls that accept an InviteSessionHandle and add an appropriate replaces header
   -treat internal 503 errors the same as 408 errors when dispatching onRequestRetry callback for
    ClientRegistration, ClientSubscription and ClientPublication
      - allows retry logic that is consistent when using both UDP or TCP/TLS transports
      - note:  TCP/TLS transports get a 503 error when they cannot connect, UDP transports typically
               get a 408 error when the far end is not present
   -ClientRegistration changes to ensure calling requestRefresh will not assert in any state
      - allow calling requestRefresh while a retry timer is running to request an immediate retry 
   -created onFlowTerminated callbacks on:
      - ClientRegistrationHandler - default implementation is to retry registration immediately
      - InviteSessionHandler - current default implementation is to do nothing
      - ServerSubscriptionHandler - default implementation is to end the Subscription
      - ClientSubscriptionHandler - default implementation is to reSubscribe (new Dialog)
   -fix for ContactInstanceRecord equality checks - registration server was not treating contacts with the same
    instance id as equal if the contact URI was different

Revision 8981 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 19 18:04:57 2011 UTC (8 years, 10 months ago) by bcampen
File length: 5591 byte(s)
Diff to previous 8958
dumTests now runs to completion. Lots of tests fail, but at least it
doesn't core anymore.


Revision 8958 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 11 23:32:19 2011 UTC (8 years, 10 months ago) by bcampen
File length: 5569 byte(s)
Diff to previous 8161
Fixing several bugs/issues in the ClientSubscription refresh code:
1) Previously, if a server gave us an expiry of 5, we would get
   into a tight loop because we'd schedule the refresh immediately.
   The new code avoids this by storing the time of the last refresh,
   and checks to make sure it doesn't refresh again unreasonably soon.
   Yes, this means that we will not honor stupidly low expiries; we'll
   just let the sub end, and complain in the NOTIFY/200.
2) Helper::aBitSmallerThan() does not work as intended for unsigned 
   integers smaller than 5. Passing everything as a signed long to
   compensate.
3) We will now reschedule our SUB refresh if the server reduces the
   expiry by less than our wiggle-room window. It used to be that
   if we scheduled our refresh 10 seconds early, and then the server
   reduced the expiry by 9 (or 10!), we would keep the previously 
   scheduled timer, leaving ourselves a second (or less) of
   wiggle room.
4) Upon reception of a NOTIFY terminated, we were setting the member 
   that kept track of the next scheduled refresh. This is now fixed.
5) I have renamed the member mExpires to the more descriptive
   mNextRefreshSecs.


Revision 8161 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 25 20:54:42 2008 UTC (11 years, 3 months ago) by jmatthewsr
File length: 5414 byte(s)
Diff to previous 7042
Stream performance enhancements for encoding objects.  New encoding code should use 'EncodeStream','resipCerr' and 'resipCout' for encoding any resip objects.  Merge from b-jmatthewsr-streamperf2 -r 8137:8160.  

Revision 7042 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 9 07:02:41 2007 UTC (12 years, 7 months ago) by nash
File length: 5414 byte(s)
Diff to previous 6507
DialogUsageManager:
 add ExternalMessageHandler interface
 add hasEvent method
 changes to process methods to allow mutex lock while in-processing

ClientRegistration/ClientSubscription/ClientPagerMessage/ClientPublication/InviteSession/ServerInviteSession/ServerPagerMessage:
 Provide asynchronous method access by using command


Revision 6507 - (view) (download) (annotate) - [select for diffs]
Modified Tue Aug 15 17:01:21 2006 UTC (13 years, 3 months ago) by sgodin
File length: 5018 byte(s)
Diff to previous 6495
- changed ExpiresCategory.cxx to be an UInt32 so that Expires parameter can handle up to 2^32-1 as in RFC
- modified dum so that expiration values use UInt32 instead of int for storage


Revision 6495 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 14 15:51:13 2006 UTC (13 years, 3 months ago) by mfroman
File length: 4993 byte(s)
Diff to previous 6416
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)
                                        or
                                     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.



Revision 6416 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 02:43:02 2006 UTC (13 years, 4 months ago) by sgodin
File length: 4833 byte(s)
Diff to previous 5948
- more work to make cseq unsigned 

Revision 5948 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 17 15:30:16 2006 UTC (13 years, 9 months ago) by dworley
File length: 4824 byte(s)
Diff to previous 5929
Setting more svn: properties, and adding EOLs to the ends of files
that need it.


Revision 5929 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 16 22:36:43 2006 UTC (13 years, 9 months ago) by dworley
File length: 4824 byte(s)
Diff to previous 5770
Start cleaning up svn:eol-style and EOLs in files.
Note that text and program files that can be used on both Un*x and Windows
should have svn:eol-style=native so they check out correctly on both
platforms.


Revision 5770 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 23 21:31:32 2005 UTC (13 years, 11 months ago) by daniel
File length: 4824 byte(s)
Diff to previous 5767
fix a memory problem

Revision 5767 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 22 23:55:37 2005 UTC (13 years, 11 months ago) by daniel
File length: 4722 byte(s)
Diff to previous 5644
1. handling of overlapping NOTIFY
2. added an additional boolean parameter to client subscription handler onUpdateFoo
3. dispatch 2xx to SUBSCRIBE to ClientSubscription.

Revision 5644 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 15 02:56:38 2005 UTC (14 years ago) by derek
File length: 3935 byte(s)
Diff to previous 5505
clean up send() in usage hierarchy
fixed ClientSubscription so refresh goes through dialog

Revision 5505 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 7 19:58:39 2005 UTC (14 years, 1 month ago) by daniel
File length: 4012 byte(s)
Diff to previous 5295
Added a virtual method onReadyToSend in BaseUsage. The BaseUsage send() calls onReadyToSend before calling send on DUM. Any usage can override this method to give application a chance to adorn the message. The default onReadyToSend does nothing. Callback onReadyToSend is also added in InviteSessoinHandler, ServerSubscriptionHandler, and ClientSubscriptionHandler.

Revision 5295 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 22 00:30:05 2005 UTC (14 years, 3 months ago) by jason
File length: 3889 byte(s)
Copied from: branches/b-directory-reorg/resip/dum/ClientSubscription.hxx revision 5294
Diff to previous 5276
merged 5270:HEAD from b-directory-reorg

Revision 5276 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 19 00:23:17 2005 UTC (14 years, 3 months ago) by jason
Original Path: branches/b-directory-reorg/resip/dum/ClientSubscription.hxx
File length: 3889 byte(s)
Diff to previous 5273
compiles now

Revision 5273 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:50:54 2005 UTC (14 years, 3 months ago) by jason
Original Path: branches/b-directory-reorg/resip/dum/ClientSubscription.hxx
File length: 3895 byte(s)
Diff to previous 5272
initial reorg - more to come

Revision 5272 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:49:50 2005 UTC (14 years, 3 months ago) by jason
Original Path: branches/b-directory-reorg/resip/resiprocate/dum/ClientSubscription.hxx
File length: 3895 byte(s)
Diff to previous 5271
initial reorg - more to come

Revision 5271 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:43:07 2005 UTC (14 years, 3 months ago) by jason
Original Path: branches/b-directory-reorg/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3895 byte(s)
Diff to previous 4599
new directory reorg proposal

Revision 4599 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 11 23:10:19 2005 UTC (14 years, 6 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3895 byte(s)
Diff to previous 4414
set svn:eol-style to LF

Revision 4414 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 22 00:52:34 2005 UTC (14 years, 7 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3895 byte(s)
Diff to previous 4043
fixed problem where ClientSubsription was creating timers after each NOTIFY

Revision 4043 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 24 14:10:58 2005 UTC (14 years, 8 months ago) by sgodin
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3872 byte(s)
Diff to previous 4010
allow requestRefersh of both ClientRegistration and ClientSubscription to specify an optional new expires value

Revision 4010 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 19 03:54:17 2005 UTC (14 years, 8 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3772 byte(s)
Diff to previous 3676
merged changes from b-teltel-20041118-invitesession 3484:HEAD into the trunk



Revision 3676 - (view) (download) (annotate) - [select for diffs]
Modified Wed Dec 1 02:03:55 2004 UTC (14 years, 11 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3751 byte(s)
Diff to previous 3089
implmented behaviour descirbed in sparks-sipping-dialogusage for usage & dialog lifetime
ClientSubscription must accept or reject any update(but now has the ability to accept or reject updates)


Revision 3089 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 12 02:36:14 2004 UTC (15 years, 4 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3428 byte(s)
Diff to previous 3082
Moved non-Dialog creating usages into DialogSet: Registration, Publication and OutOfDialog
Involved re-factory BaseUsage.
Some Handle bug-fixes


Revision 3082 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 9 01:23:36 2004 UTC (15 years, 4 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3469 byte(s)
Diff to previous 3069
subscribe/notify fixes

Revision 3069 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 7 01:02:45 2004 UTC (15 years, 4 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3426 byte(s)
Diff to previous 3067
PUBLISH coding

Revision 3067 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 6 03:24:53 2004 UTC (15 years, 4 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3427 byte(s)
Diff to previous 3058
futher Subscribe/Notify coding

Revision 3058 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 1 22:39:57 2004 UTC (15 years, 4 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3456 byte(s)
Diff to previous 3041
some refer, subscribe & notify coding

Revision 3041 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 29 00:00:25 2004 UTC (15 years, 4 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3482 byte(s)
Diff to previous 2941
multiple ServerSubscription's per dialog
updated basicall
fix to auth problem in Dialog
AppDialog has methods to retrieve usages

Revision 2941 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 7 00:44:01 2004 UTC (15 years, 5 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3614 byte(s)
Diff to previous 2909
refactored Handle code
streamlined header includes


Revision 2909 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 1 22:49:31 2004 UTC (15 years, 5 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3900 byte(s)
Diff to previous 2885
BaseUsage now holds the BaseUsageHandle...ugly casting in subclasses will be moved to .cxx soon.
DialogUsageManager's destructor will work now.

Revision 2885 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 30 21:12:28 2004 UTC (15 years, 5 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3958 byte(s)
Diff to previous 2858
moved make... into Dialog



Revision 2858 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 30 03:51:09 2004 UTC (15 years, 5 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3970 byte(s)
Diff to previous 2843
beginnings of Usage, Dialog, DialogSet lifetime management

Revision 2843 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 30 01:42:24 2004 UTC (15 years, 5 months ago) by fluffy
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3918 byte(s)
Diff to previous 2840
remove process

Revision 2840 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 30 01:27:10 2004 UTC (15 years, 5 months ago) by fluffy
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3916 byte(s)
Diff to previous 2833
started subscription stuff

Revision 2833 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 29 21:41:48 2004 UTC (15 years, 5 months ago) by alan
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3916 byte(s)
Diff to previous 2813
phase 1/2 DumTimer rename

Revision 2813 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 29 03:10:25 2004 UTC (15 years, 5 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3914 byte(s)
Diff to previous 2727


Revision 2727 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 10 01:12:46 2004 UTC (15 years, 6 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3865 byte(s)
Diff to previous 2726
added some Profile stuff


Revision 2726 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 9 22:46:50 2004 UTC (15 years, 6 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3833 byte(s)
Diff to previous 2603
compiles again


Revision 2603 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 11 23:41:33 2004 UTC (15 years, 7 months ago) by davidb
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3692 byte(s)
Diff to previous 2587
slouching towards compile...


Revision 2587 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 11 18:30:11 2004 UTC (15 years, 7 months ago) by davidb
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3426 byte(s)
Diff to previous 2581
handles, creeping toward compile...


Revision 2581 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 11 02:25:23 2004 UTC (15 years, 7 months ago) by davidb
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3295 byte(s)
Diff to previous 2579
adding handles


Revision 2579 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 11 01:43:41 2004 UTC (15 years, 7 months ago) by davidb
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3207 byte(s)
Diff to previous 2576
adding handles


Revision 2576 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 11 00:59:48 2004 UTC (15 years, 7 months ago) by davidb
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3223 byte(s)
Diff to previous 2575
adding handles


Revision 2575 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 11 00:23:29 2004 UTC (15 years, 7 months ago) by davidb
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 3182 byte(s)
Diff to previous 2558
adding handles


Revision 2558 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 4 21:49:56 2004 UTC (15 years, 7 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 544 byte(s)
Diff to previous 2557
*** empty log message ***


Revision 2557 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 4 20:42:16 2004 UTC (15 years, 7 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 529 byte(s)
Diff to previous 2535
*** empty log message ***


Revision 2535 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 4 04:50:33 2004 UTC (15 years, 7 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 521 byte(s)
Diff to previous 2519
*** empty log message ***


Revision 2519 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 3 23:39:09 2004 UTC (15 years, 7 months ago) by rjsparks
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 336 byte(s)
Diff to previous 2515
Added detail to Subscription related interfaces (and changed
the RegistrationHandler to use a handle)


Revision 2515 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 3 22:42:17 2004 UTC (15 years, 7 months ago) by rjsparks
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 268 byte(s)
Diff to previous 2502
Added the Handle inner-class to each of the concrete
BaseUsage things.


Revision 2502 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 3 17:46:58 2004 UTC (15 years, 7 months ago) by fluffy
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 228 byte(s)
Diff to previous 2500
added guards


Revision 2500 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 3 17:34:42 2004 UTC (15 years, 7 months ago) by fluffy
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 230 byte(s)
Diff to previous 2493
added guards


Revision 2493 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 3 16:29:53 2004 UTC (15 years, 7 months ago) by rjsparks
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 118 byte(s)
Diff to previous 2491
established minimal classes


Revision 2491 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 3 16:20:42 2004 UTC (15 years, 7 months ago) by rjsparks
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 67 byte(s)
Diff to previous 2489
Building out starting point


Revision 2489 - (view) (download) (annotate) - [select for diffs]
Added Sat Apr 3 15:59:31 2004 UTC (15 years, 7 months ago) by fluffy
Original Path: main/sip/resiprocate/dum/ClientSubscription.hxx
File length: 1 byte(s)
*** empty log message ***


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27