ViewVC logotype

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

Parent Directory Parent Directory | Revision Log Revision Log

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

Revision 9688 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 18 19:16:03 2012 UTC (7 years, 8 months ago) by sgodin
File length: 5140 byte(s)
Diff to previous 9228
-simplify AsyncProcessorMessage by removing requirement to implement clone() and copy constructor - messages are never copied
-optimize pcre use in MessageSilo - we don't use replacement patterns to set REG_NOSUB flag properly
-added new repro setting to assume that first hop supports outbound

There are cases where the first hop in a particular network supports the concept of outbound
and ensures all messaging for a client is delivered over the same connection used for
registration.  This could be a SBC or other NAT traversal aid router that uses the Path 
header.  However such endpoints may not be 100% compliant with outbound RFC and may not 
include a ;ob parameter in the path header.  This parameter is required in order for repro
to have knowledge that the first hop does support outbound, and it will reject registrations
that appear to be using outboud (ie. instanceId and regId) with a 439 (First Hop Lacks Outbound
Support).  In this case it can be desirable when using repro as the registrar to not reject
REGISTRATION requests that contain an instanceId and regId with a 439.
If this setting is enabled, then repro will assume the first hop supports outbound 
and not return this error.

Revision 9228 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 15 21:42:15 2011 UTC (8 years, 6 months ago) by bcampen
File length: 5136 byte(s)
Diff to previous 9033
Clearing up two very serious warnings, and one not serious one.

Revision 9033 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 27 17:17:15 2011 UTC (8 years, 10 months ago) by sgodin
File length: 5134 byte(s)
Diff to previous 8178
-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 8178 - (view) (download) (annotate) - [select for diffs]
Modified Sun Aug 3 12:45:55 2008 UTC (11 years, 5 months ago) by jmatthewsr
File length: 4797 byte(s)
Diff to previous 8175
Moved global server registration expires settings to MasterProfile.

Revision 8175 - (view) (download) (annotate) - [select for diffs]
Added Fri Aug 1 19:16:21 2008 UTC (11 years, 5 months ago) by jmatthewsr
File length: 4848 byte(s)
Add expires handling to ServerRegistration.  Min, Max and Default values come from Profile.hxx.  423 can be returned for expires < min, expires value can be overridden by server if expires > max and a default value given if none is specified by the UAC.  Logic is now in a virtual handler to customize this default DUM behavior.  Previous DUM behavior before this mod should be the same (no 423 return, no max override and default = 3600).  

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