anchor.diff:  
   %%--------------------------------------------------------------------
   %% Function: do_request(RequestIn, Origin)
  +%%           do_request(RequestIn, Origin, THandler, LogTag)
   %%           RequestIn = request record()
  -%%           Origin = siporigin record()
  +%%           Origin    = siporigin record()
  +%%           THandler  = term(), server transaction handle
  +%%           LogTag    = string() | undefined
   %% Descrip.: Calls route_request() to determine what to do with a
   %%           request, and then takes whatever action we are
   %%           supposed to.
   %% Returns : Does not matter
   %%--------------------------------------------------------------------
  -do_request(Request, Origin) when is_record(Request, request), is_record(Origin, siporigin) ->
  +do_request(Request, Origin) ->
  +    THandler = transactionlayer:get_handler_for_request(Request),
  +    LogTag = get_branchbase_from_handler(THandler),
  +    do_request(Request, Origin, THandler, LogTag).
  +do_request(Request, Origin, THandler, LogTag) when is_record(Request, request), is_record(Origin, siporigin),
  +						   is_list(LogTag) ->
       {Method, URI} = {Request#request.method, Request#request.uri},
       logger:log(debug, "incomingproxy: Processing request ~s ~s~n", [Method, sipurl:print(URI)]),
  -    THandler = transactionlayer:get_handler_for_request(Request),
  -    LogTag = get_branch_from_handler(THandler),
       Location = route_request(Request, LogTag),
       logger:log(debug, "incomingproxy: Location: ~p", [Location]),
       case Location of
  
positive.code: %% responses.
  request(#request{method="REGISTER"}=Request, Origin, LogStr) when is_record(Origin, siporigin) ->
      THandler = transactionlayer:get_handler_for_request(Request),
      LogTag = get_branch_from_handler(THandler),
      case siplocation:process_register_request(Request, THandler, LogTag, LogStr, incomingproxy) of
  	not_homedomain ->
  	    do_request(Request, Origin);
  	_ ->
  	    true
      end,
  
negative.code: request(Request, Origin, LogStr) when is_record(Request, request), is_record(Origin, siporigin) ->
      {_, FromURI} = sipheader:from(Request#request.header),
      THandler = transactionlayer:get_handler_for_request(Request),
      LogTag = get_branchbase_from_handler(THandler),
      %% Check if the From: address matches our homedomains, and if so
      %% call verify_homedomain_user() to make sure the user is
      %% authorized and authenticated to use this From: address
  