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