/[resiprocate]/main/resip/dum/ClientRegistration.cxx
ViewVC logotype

Log of /main/resip/dum/ClientRegistration.cxx

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 10975 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 16 20:04:10 2014 UTC (5 years, 9 months ago) by sgodin
File length: 34703 byte(s)
Diff to previous 10661
-removed use of raw transport pointers in Tuple and SipMessage (finally!!)
 -required repro record route logic to be modified - no longer store transport specific
  record routes in the Transport class - the Proxy class now tracks these
 -removed SipMessage::getReceivedTransport and added isFromWire method that can be used in
  it's place in various locations


Revision 10661 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 30 14:57:16 2013 UTC (6 years ago) by sgodin
File length: 34717 byte(s)
Diff to previous 10090
-If we are unregistering all contacts as the initial registration message then don't bother 
 storing in mMyContacts - allows add Binding to be called later to add a registration

Revision 10090 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 1 13:58:42 2013 UTC (6 years, 7 months ago) by sgodin
File length: 34536 byte(s)
Diff to previous 10073
-fixing ClientRegistration issue (client registration can end on transport
 switchover):
 Consider the case where we are registered over TCP due to DNS SRV record
 configuration.  Let's say an administrator reconfigures the DNS records to
 now make UDP the preferred transport.  When we re-register we will now
 send the re-registration message over UDP.  This will cause our contact
 address to be changed (ie: ;tranport=tcp will no longer exist).  So for a
 short period of time the registrar will return two contacts to us, both 
 belonging to us, one for TCP and one for UDP.  The TCP one will expire in
 a short amount of time, and if we return this expiry to the dispatch() 
 method then it will cause the ClientRegistration to end (see logic in 
 dispatch() that prints out the error "Server is using an unreasonably low 
 expiry: "...
 To fix this, I modified calculateExpiry to track two things:
 1. expiry - the lowest expiration value of all of our contacts
 2. reasonableExpiry - the lowest expiration value of all of our contacts
                       that is above the UnreasonablyLowExpirationThreshold 
                       (7 seconds)
 Before we return, if expiry is less than UnreasonablyLowExpirationThreshold
 but we had another contact that had a reasonable expiry value, then return
 that value instead.


Revision 10073 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 25 21:40:34 2013 UTC (6 years, 7 months ago) by dpocock
File length: 32352 byte(s)
Diff to previous 10072
resip/dum: ClientRegistration: use isReliable instead of hard-coded list of transport types

Revision 10072 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 25 21:40:19 2013 UTC (6 years, 7 months ago) by dpocock
File length: 32434 byte(s)
Diff to previous 9956
resip/dum: ClientRegistration: use TransportType

Revision 9956 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 26 02:05:35 2013 UTC (6 years, 9 months ago) by fjoanis
File length: 32387 byte(s)
Diff to previous 9903
- Ensured that all DUM usages/sessions DumCommandAdapter commands are using handles rather than references when saving the usage/session they apply to.
 - This fixes potential crashes in the case where a DumCommandAdapter would be enqueued onto the stack's queue while a usage terminating message is sitting in the queue.
 - The effect in that case would be that the saved reference to the usage would become invalid and this could cause a crash.
- Also fixed an issue with InviteSession::*NITCommand() where DumCommandAdapter commands would end up being recursively queued onto the stack.


Revision 9903 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 22 21:00:14 2012 UTC (7 years ago) by sgodin
File length: 32149 byte(s)
Diff to previous 9050
-modified whenExpires to return the number of seconds when the registration will actually
 expire, as opposed to the number seconds until our next refresh message is supposed to go out
-ensure that we don't try to unregister if ClientRegistration::end is called and we never 
 successfully registered (or all current registrations are currently expired)
 -also includes case where we need to wait for an operation to finish before we can end 
-no-op subsequent calls to ClientRegistration::end after initial call


Revision 9050 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 5 17:06:07 2011 UTC (8 years, 8 months ago) by sgodin
File length: 31359 byte(s)
Diff to previous 9033
-added client and server(repro) side support for RFC5626 (outbound) Flow-Timer header
-Server side (repro)
  -added new Header Flow-Timer to HeaderHash
  -two new InteropHelper settings: 
     -setFlowTimerSeconds - if set to greater than 0 then a Flow-Timer header is 
      added to local generated REGISTER/200 response or a proxied one if outbound 
      is being used (this is the edge proxy case)
     -setFlowTimerGracePeriodSeconds - this value is used by the stack to decide 
      when connections that are using a flow-timer have timed out.  Default is 10 seconds.
  -added a new ConnectionManager::EnableAgressiveGc static member setting - if enabled 
   this will cause the connection garbage collection to run every time a new connection 
   is formed, instead of just when we run out of FD's
  -added a new enableFlowTimer method on the SipStack - this takes a Tuple parameter 
   and will "tag" the specified connection as being one in which we want to implement 
   flow-timer timeout logic on
  -modified the connection manager to keep two LRU lists - one for flow-timer enabled 
   connections and another generic one - this is to facilitate fast timeouts of flow-timer 
   enabled connections (ones where we know it is safe to expect keepalives and ones where 
   we have provided the keepalive timer value to the farend in a Flow-Timer header), and 
   a different connection timeout for non flow-timer enabled connections
  -added IntrusiveListElement3 in order to support Connection being a member in 4 different
   Intrusive lists
  -new commandline option to repro --flow-timer=X - that will enable the following settings:
   - ConnectionManager::EnableAgressiveGc
   - InteropHelper::setFlowTimerSeconds(X)
   - ConnectionManager::MinimumGcAge = 7200000; // Timeout connections not related to a flow 
                                                // timer after 2 hours of inactivity
-Client side (dum)
  - The Flow-Timer header will be read from Registration responses that have an indication 
    that the first hop proxy supports outbound
  - Flow-Timer value is then used in place of the profile keepalive timeout settings
  - If a keepalive is for an "outbound" enabled connection, then the keepalives are sent
    sometime between 80% and 100% of either the Flow-Timer header (if present) or the 
    configured keepalive time - as specified in RFC5626



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: 31130 byte(s)
Diff to previous 8979
-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 8979 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 19 17:02:04 2011 UTC (8 years, 10 months ago) by sgodin
File length: 28915 byte(s)
Diff to previous 8964
-demote log from Warning to Info

Revision 8964 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 17 15:38:09 2011 UTC (8 years, 10 months ago) by bcampen
File length: 28918 byte(s)
Diff to previous 8805
A number of fixes to the ClientRegistration expiry calculation logic:
1) +sip.instance is no longer added to third-party registrations
2) rinstance is no longer used on a Contact if +sip.instance was
3) Contact matching actually has a prayer of working if neither +sip.instance
   or rinstance were used on a Contact
4) Expiry calculation is much faster; we only look at Contacts whose expiry
   param is smaller than the currently required refresh duration
5) We are checking isWellFormed() on both the Expires header and each
   Contact header before inspection
6) We now complain in logs if the app has failed to specify a +sip.instance, or
   disabled rinstance
7) We now have code that will prevent a tight-loop from occurring if the server
   is insane and gives us an unreasonably small expiry


Revision 8805 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 17 14:38:30 2010 UTC (9 years, 2 months ago) by sgodin
File length: 25433 byte(s)
Diff to previous 8704
-handle case where Retry-After header contains a value of 0 (just ignore and use profile setting)

Revision 8704 - (view) (download) (annotate) - [select for diffs]
Modified Wed Dec 2 21:10:32 2009 UTC (9 years, 11 months ago) by sgodin
File length: 25445 byte(s)
Diff to previous 8667
-added handling to ClientRegistration for strange border case where registrar 
 returns an Expires header of 0 after attempting to register

Revision 8667 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 1 20:51:17 2009 UTC (10 years ago) by sgodin
File length: 24901 byte(s)
Diff to previous 8399
-ensure auth headers are cleared out before retrying registration

Revision 8399 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 16 17:00:47 2009 UTC (10 years, 10 months ago) by sgodin
File length: 24791 byte(s)
Diff to previous 8201
-reverted last commit to remove assert - it wouldn't work correct
-ensure auth state is cleared out before re-trying a registration

Revision 8201 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 15 20:59:01 2008 UTC (11 years, 3 months ago) by bcampen
File length: 24480 byte(s)
Diff to previous 8161
Merge work from b-ctpc-fixes-20080730


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: 24426 byte(s)
Diff to previous 8122
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 8122 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 3 21:40:52 2008 UTC (11 years, 4 months ago) by bcampen
File length: 24426 byte(s)
Diff to previous 7539
Merge work from b-resip-gruu.


Revision 7539 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 18 22:08:13 2008 UTC (11 years, 10 months ago) by sgodin
File length: 23419 byte(s)
Diff to previous 7268
-fixed some bugs with latest outbound changes
 - Webadmin GUI / Registrations page was not showing information correctly
    - deleting a contact from WebAdmin was not working
 - Made use of Registration Expirey time in ContactInstanceRecord consistent 
  (was using a mix of seconds and ms before)
- Modified instances of Timer::getTimeMs()/1000 to be Timer::getTimeSecs()
 

Revision 7268 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 26 18:55:20 2007 UTC (12 years, 1 month ago) by bcampen
File length: 23429 byte(s)
Diff to previous 7257
Replacing ParseBuffer::Exception with ParseException. Required moving
ParseException.hxx to rutil, and creating a ParseException.cxx there
too. Left a typedef in ParseBuffer.hxx that makes ParseBuffer::Exception
an alias for ParseException (for backwards compatibility with app code)


Revision 7257 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 24 17:10:17 2007 UTC (12 years, 2 months ago) by bcampen
File length: 23445 byte(s)
Diff to previous 7200
Fixed bug in ClientRegistration::removeBinding where instead of removing the
specified binding, it would remove all other bindings, and forget its
default expires value on top of that.


Revision 7200 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 4 16:04:25 2007 UTC (12 years, 4 months ago) by sgodin
File length: 22940 byte(s)
Diff to previous 7081
-comment cleanup

Revision 7081 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 17 14:46:38 2007 UTC (12 years, 7 months ago) by bcampen
File length: 22940 byte(s)
Diff to previous 7077
Reverting rev 7077 until it can get some review.

Revision 7077 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 16 10:07:24 2007 UTC (12 years, 7 months ago) by nash
File length: 23011 byte(s)
Diff to previous 7042
inside resip/stack/Transaction::process method contains complex 
logics and message ptr can be easily leaked if it's not maintained by 
original coder, therefore I changed to SharedPtr usage and made a bunch 
of code changed to make it compile.

Also another place worth mention as TimeLimitFifo::add method could 
result memory leak usage, and it's fixed on the way for above changes.

The tests under rutil/stack/dum has passed as well.

resip/stack/Security add to allow disable server authentication check




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: 22940 byte(s)
Diff to previous 6800
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 6800 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 14 15:42:36 2006 UTC (13 years ago) by sgodin
File length: 21566 byte(s)
Diff to previous 6636
ClientRegistration - Change to make sure onSuccess is called after a timed retry on registration failure
TransactionController - removed unused variable
LazyParser, RequestContext, ResponseContext - removed unreferenced variables

Revision 6636 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 12 17:20:17 2006 UTC (13 years, 1 month ago) by sgodin
File length: 21424 byte(s)
Diff to previous 6626
DnsUtil.cxx - removed unneeded if statement
ClientRegistration.cxx - ensure onSuccess callback is called after a successful registration following an onFailure or onRequestRetry

Revision 6626 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 5 16:17:32 2006 UTC (13 years, 1 month ago) by sgodin
File length: 21149 byte(s)
Diff to previous 6515
- demoted a log

Revision 6515 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 17 19:12:50 2006 UTC (13 years, 3 months ago) by sgodin
File length: 21145 byte(s)
Diff to previous 6507
- fixed windows build issues

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: 21142 byte(s)
Diff to previous 6415
- 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 6415 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 02:10:20 2006 UTC (13 years, 4 months ago) by sgodin
File length: 21092 byte(s)
Diff to previous 6414
- fix error with last commit

Revision 6414 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 01:41:04 2006 UTC (13 years, 4 months ago) by sgodin
File length: 21098 byte(s)
Diff to previous 6208
- ClientRegistration - use Expires header if no Contacts are present
- Finish implementing RESIP_FIXED_POINT compiler flag (works for dum, stack, rutil and ares)



Revision 6208 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 11 22:43:26 2006 UTC (13 years, 6 months ago) by daniel
File length: 21146 byte(s)
Diff to previous 6106
fixed a bug in finding our own contact.

Revision 6106 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 23 19:08:29 2006 UTC (13 years, 8 months ago) by jozsef
File length: 21180 byte(s)
Diff to previous 6093
Changes to support service-route for IMS by Francisco/Derek


Revision 6093 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 20 17:40:05 2006 UTC (13 years, 8 months ago) by sgodin
File length: 21416 byte(s)
Diff to previous 6066
- ***fixed many transport memory leaks - the biggest one is with receiving CRLF keep alives on UDP transports
- fixed a leak of ConnectionTerminate message in dum if no listeners are used
- fixed a startup leak of BasicNonceHelper
- added getTlsPeerName method to SipMessage
- removed transport pointer access from repro AclStore and DUM KeepAliveManager logic
- made testSecurity.cxx compile on windows
- added OpenSSL init to windows project files
- removed LEAK_CHECK define from default windows Debug builds


Revision 6066 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 9 19:12:40 2006 UTC (13 years, 8 months ago) by sgodin
File length: 21338 byte(s)
Diff to previous 5948
modified ClientRegistration, so that if proxy doesn't return any contact's with our rinstance value, then we fallback
to using the min expiry of all contacts returned

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: 20762 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: 20762 byte(s)
Diff to previous 5899
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 5899 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 16 00:25:15 2006 UTC (13 years, 9 months ago) by sgodin
File length: 20762 byte(s)
Diff to previous 5894
- added WinLeakCheck include to some files for Windows memory leak detection


Revision 5894 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 14 05:00:15 2006 UTC (13 years, 9 months ago) by derek
File length: 20728 byte(s)
Diff to previous 5845
outbound proxy will be prepended to route header assigned in response to service route

Revision 5845 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 1 05:44:15 2006 UTC (13 years, 9 months ago) by derek
File length: 20516 byte(s)
Diff to previous 5837
added service-route support

Revision 5837 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 31 03:25:38 2006 UTC (13 years, 9 months ago) by daniel
File length: 19783 byte(s)
Diff to previous 5757
made rinstance a Profile setting, by default rinstance parameter is added to contacts.

Revision 5757 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 16 02:44:08 2005 UTC (13 years, 11 months ago) by daniel
File length: 18780 byte(s)
Diff to previous 5722
changed to use SharedPtr for all the requests and responses sent through dialog and dum.

Revision 5722 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 8 17:52:49 2005 UTC (13 years, 11 months ago) by sgodin
File length: 18421 byte(s)
Diff to previous 5643
- add rinstance parameter to registration contacts so that we
  can tell which contacts from the 200 response are ours
  - fixes a bug with the registration timer
  - the rinstance parameter should go away, when gruu is fully implemented

Revision 5643 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 14 22:56:21 2005 UTC (14 years ago) by derek
File length: 17679 byte(s)
Diff to previous 5637
ignore too large expires in contacts; not perfect, but dum won't allow to be sent so can't be a relevant binding 

Revision 5637 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 10 20:01:05 2005 UTC (14 years ago) by sgodin
File length: 17099 byte(s)
Diff to previous 5636
- reverse flag set order - just incase application calls requestRefresh from onSuccess handler

Revision 5636 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 10 19:59:30 2005 UTC (14 years ago) by sgodin
File length: 17099 byte(s)
Diff to previous 5599
- change to allow onSuccess callback if requestRefresh is called by an application

Revision 5599 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 2 23:50:41 2005 UTC (14 years ago) by daniel
File length: 16684 byte(s)
Diff to previous 5505
Separate keepalive intervals for UDP based and TCP based transports.

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: 16288 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: 16287 byte(s)
Copied from: branches/b-directory-reorg/resip/dum/ClientRegistration.cxx revision 5294
Diff to previous 5283
merged 5270:HEAD from b-directory-reorg

Revision 5283 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 19 01:27:14 2005 UTC (14 years, 3 months ago) by derek
Original Path: branches/b-directory-reorg/resip/dum/ClientRegistration.cxx
File length: 16287 byte(s)
Diff to previous 5276
finished resip/sip -> resip/stack rename

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/ClientRegistration.cxx
File length: 16285 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/ClientRegistration.cxx
File length: 16347 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/ClientRegistration.cxx
File length: 16347 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/ClientRegistration.cxx
File length: 16347 byte(s)
Diff to previous 5042
new directory reorg proposal

Revision 5042 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 11 14:42:43 2005 UTC (14 years, 4 months ago) by sgodin
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 16347 byte(s)
Diff to previous 4778
- fix for receiving stray dialog/dialogset matching messages during delayed destruction
- fix for ending() a registration while in the process of retrying

Revision 4778 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 30 16:27:25 2005 UTC (14 years, 5 months ago) by sgodin
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 15060 byte(s)
Diff to previous 4599
use SharedPtr to manage Master/UserProfile lifetime

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/ClientRegistration.cxx
File length: 15116 byte(s)
Diff to previous 4434
set svn:eol-style to LF

Revision 4434 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 25 04:13:22 2005 UTC (14 years, 7 months ago) by fluffy
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 15116 byte(s)
Diff to previous 4425
fix windows warning

Revision 4425 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 23 20:03:25 2005 UTC (14 years, 7 months ago) by cktam
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 14997 byte(s)
Diff to previous 4401
allow the app to ask when the ClientRegistration will expire (relative in secs)


Revision 4401 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 20 22:01:55 2005 UTC (14 years, 7 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 14719 byte(s)
Diff to previous 4113
when request onRequestRetry returns -1, call the appropriate failure callback and delete the usage


Revision 4113 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 1 18:12:59 2005 UTC (14 years, 7 months ago) by sgodin
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 14877 byte(s)
Diff to previous 4073
Allow KeepAliveInterval to be specified in Profile.  0 = disabled.  A keep alive manager must be added to DUM for it work.

Fix a bug with networkassociation reference counting and keep alive messages not stopping.

Revision 4073 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 29 14:32:35 2005 UTC (14 years, 7 months ago) by sgodin
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 14740 byte(s)
Diff to previous 4062
Allow User Profile retry logic to run on 408, if onRequestRetry returns -1

Revision 4062 - (view) (download) (annotate) - [select for diffs]
Modified Sun Mar 27 02:00:20 2005 UTC (14 years, 7 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 14633 byte(s)
Diff to previous 4052
pluggable keep-alive manager; provided implementation sends a keep-alive every 20 seconds
Security::preload now run in SipStack's constructor, if a sec. object is provided
eol convenction & #define fixes

Revision 4052 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 25 02:32:05 2005 UTC (14 years, 8 months ago) by dlb
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 14560 byte(s)
Diff to previous 4043
retry on 408/Retry-After
added onRequestRetry(handle, retryMinimum, message)
retry-after implementation incomplete

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/ClientRegistration.cxx
File length: 13582 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/ClientRegistration.cxx
File length: 13483 byte(s)
Diff to previous 3613
merged changes from b-teltel-20041118-invitesession 3484:HEAD into the trunk



Revision 3613 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 24 01:03:05 2004 UTC (15 years ago) by jason
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 10318 byte(s)
Diff to previous 3607
reverting back to revision 3604 due to missing checkin. 


Revision 3607 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 23 21:17:30 2004 UTC (15 years ago) by sgodin
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 10337 byte(s)
Diff to previous 3425
first crack at mutltiple profiles/identities
memory management still needs work

Revision 3425 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 1 22:21:04 2004 UTC (15 years ago) by jason
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 10318 byte(s)
Diff to previous 3405
added some new interfaces for shutting down (partially implemented)
added pure virtual void BaseUsage::end() 
derived end() methods no longer return SipMessage&
SipStack is owned by DialogUsageManager
DialogUsageManager::process() interface change for separate StackThread


Revision 3405 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 24 14:17:08 2004 UTC (15 years, 1 month ago) by jason
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 10259 byte(s)
Diff to previous 3360
fix problem for handling timer when you are unregistering or adding - should not
requestRefresh in those cases


Revision 3360 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 30 12:41:33 2004 UTC (15 years, 1 month ago) by sgodin
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 10076 byte(s)
Diff to previous 3183
Cleanup up use of Profile settings for default
Subscription/Regisration time.
Allow times to be overridden in make request API's.

Revision 3183 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 31 00:02:30 2004 UTC (15 years, 3 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 9945 byte(s)
Diff to previous 3176
call onRemoved when unREGISTER




Revision 3176 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 30 16:45:33 2004 UTC (15 years, 3 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 9943 byte(s)
Diff to previous 3113
don't notify app of refresh of registration
notify when registration ends


Revision 3113 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 15 22:18:51 2004 UTC (15 years, 4 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 9072 byte(s)
Diff to previous 3089
gracefully handles register 200s from some less than compliant proxies

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/ClientRegistration.cxx
File length: 8434 byte(s)
Diff to previous 3081
Moved non-Dialog creating usages into DialogSet: Registration, Publication and OutOfDialog
Involved re-factory BaseUsage.
Some Handle bug-fixes


Revision 3081 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 8 22:52:03 2004 UTC (15 years, 4 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 8415 byte(s)
Diff to previous 3079
reverted 100 handling change that was causing usage leak
changed some logging from Info to Debug

Revision 3079 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 8 21:44:19 2004 UTC (15 years, 4 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 8270 byte(s)
Diff to previous 3000
added postMS to DUM
graceful shutdown for DUM
transaction error fixes.


Revision 3000 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 16 18:32:06 2004 UTC (15 years, 5 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 7871 byte(s)
Diff to previous 2941
various compiler fixes
TransportSelect no longer messes w/ route

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/ClientRegistration.cxx
File length: 7723 byte(s)
Diff to previous 2939
refactored Handle code
streamlined header includes


Revision 2939 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 4 23:48:04 2004 UTC (15 years, 5 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 7796 byte(s)
Diff to previous 2927
allContacts is populated, mycontacts is purely controlled by the user and not affected by messages

Revision 2927 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 2 18:58:14 2004 UTC (15 years, 5 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 7850 byte(s)
Diff to previous 2909
Profile's booleans are initialized.
ClientRegistration logic fix regarding referencing headers that don't exist(in a const SipMessage)

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/ClientRegistration.cxx
File length: 7843 byte(s)
Diff to previous 2889
BaseUsage now holds the BaseUsageHandle...ugly casting in subclasses will be moved to .cxx soon.
DialogUsageManager's destructor will work now.

Revision 2889 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 30 21:51:01 2004 UTC (15 years, 5 months ago) by fluffy
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 7862 byte(s)
Diff to previous 2881
client publication

Revision 2881 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 30 19:28:18 2004 UTC (15 years, 5 months ago) by fluffy
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 7849 byte(s)
Diff to previous 2870
update debug mesg

Revision 2870 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 30 17:28:44 2004 UTC (15 years, 5 months ago) by fluffy
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 7835 byte(s)
Diff to previous 2858
bunch of registration stuf update

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/ClientRegistration.cxx
File length: 7839 byte(s)
Diff to previous 2847
beginnings of Usage, Dialog, DialogSet lifetime management

Revision 2847 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 30 02:10:19 2004 UTC (15 years, 5 months ago) by alan
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 7756 byte(s)
Diff to previous 2842
Fixed up timer interfaces.

Revision 2842 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 30 01:39:56 2004 UTC (15 years, 5 months ago) by derek
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 7783 byte(s)
Diff to previous 2840
less unresolved externals

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/ClientRegistration.cxx
File length: 7735 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/ClientRegistration.cxx
File length: 7781 byte(s)
Diff to previous 2824
phase 1/2 DumTimer rename

Revision 2824 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 29 18:53:49 2004 UTC (15 years, 5 months ago) by alan
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 7775 byte(s)
Diff to previous 2737
early reg client safety checkin

Revision 2737 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 12 02:04:48 2004 UTC (15 years, 6 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 7607 byte(s)
Diff to previous 2725
*** empty log message ***


Revision 2725 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 9 22:33:53 2004 UTC (15 years, 6 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 7601 byte(s)
Diff to previous 2621
get things closer to compiling again


Revision 2621 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 14 04:29:42 2004 UTC (15 years, 7 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 7462 byte(s)
Diff to previous 2614
started work on clientinvitesession


Revision 2614 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 14 00:53:18 2004 UTC (15 years, 7 months ago) by jason
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 6643 byte(s)
Diff to previous 2603
lots of work on ClientRegistration


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/ClientRegistration.cxx
File length: 2931 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/ClientRegistration.cxx
File length: 2843 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/ClientRegistration.cxx
File length: 2703 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/ClientRegistration.cxx
File length: 2617 byte(s)
Diff to previous 2576
adding handles


Revision 2576 - (view) (download) (annotate) - [select for diffs]
Added Sun Apr 11 00:59:48 2004 UTC (15 years, 7 months ago) by davidb
Original Path: main/sip/resiprocate/dum/ClientRegistration.cxx
File length: 2626 byte(s)
adding handles


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