anchor.diff:      Key = local:sipuser(URL),
       logger:log(debug, "Routing: Request to homedomain, sipuser ~p", [Key]),
   
  -    Loc1 = lookup:lookupuser(URL),
  +    Loc1 = local:lookupuser(URL),
       logger:log(debug, "Routing: lookupuser on ~p -> ~p", [sipurl:print(URL), Loc1]),
   
       case Loc1 of
   	none ->
  -	    case lookup:isours(URL) of
  +	    case local:isours(URL) of
   		true ->
   		    logger:log(debug, "Routing: ~p is one of our users, returning Temporarily Unavailable", [User]),
   		    {response, 480, "Users location currently unknown"};
  
positive.code: 
      case Loc1 of
  	none ->
  	    % lookup:lookuppotn() returns 'none' if argument is not numeric,
  	    % so we don't have to check that...
  	    Res1 = lookup:lookuppotn(User),
  	    logger:log(debug, "Routing: lookuppotn on ~s -> ~p", [User, Res1]),
  	    Res1;
  	_ ->
  
negative.code: request("REGISTER", URL, Header, Body, Socket, FromIP) ->
      {User, Pass, Host, Port, Parameters} = URL,
      logger:log(debug, "REGISTER ~p", [sipurl:print(URL)]),
      case local:homedomain(Host) of
  	true ->
  	    % delete any present Record-Route header (RFC3261, #10.3)
  	    NewHeader = keylist:delete("Record-Route", Header),
  