anchor.diff:  %% called if the URI host matches one of our hostnames. Return true if there
   %% is no userpart in the URI, or if the method is OPTIONS and Max-Forwards is
   %% less than one. This procedure is from RFC3261 #11 Querying for Capabilities.
  -is_request_to_this_proxy2(_, URL, Header) when record(URL, sipurl), URL#sipurl.user == none ->
  +is_request_to_this_proxy2(_Method, #sipurl{user=User}=URL, _Header) when is_record(URL, sipurl), User == none ->
       true;
  -is_request_to_this_proxy2("OPTIONS", URL, Header) when record(URL, sipurl) ->
  +is_request_to_this_proxy2("OPTIONS", URL, Header) when is_record(URL, sipurl) ->
       %% RFC3261 # 11 says a proxy that receives an OPTIONS request with a Max-Forwards less than one
       %% MAY treat it as a request to the proxy.
       MaxForwards =
  
positive.code: lookupdefault(URL) when record(URL, sipurl) ->
      case homedomain(URL#sipurl.host) of
  	true ->
  	    logger:log(debug, "Lookup: Cannot default-route request to a local domain (~s), aborting", [URL#sipurl.host]),
  	    none;
          _ ->
  	    DefaultRoute = sipserver:get_env(defaultroute, none),
  
negative.code: -module(lookup).
  
  -export([lookupregexproute/1,
  	 lookupuser/1,
  	 lookup_url_to_locations/1,
  