anchor.diff:  	    nomatch;
   	Users when is_list(Users) ->
   	    Locations = local:get_locations_for_users(Users),
  -	    local:prioritize_locations([Users], Locations);
  -	Unknown ->
  -	    logger:log(error, "Lookup: Unknown result from local:get_users_for_url() in lookup_url_to_locations: ~p",
  -		       [Unknown]),
  -	    throw({siperror, 500, "Server Internal Error"})
  +	    local:prioritize_locations(Users, Locations)
       end.
   
   %%--------------------------------------------------------------------
  
positive.code: %%--------------------------------------------------------------------
  -export([lookupregexproute/1,
  	 lookupuser/1,
  	 lookup_url_to_locations/1,
  	 lookup_url_to_addresses/2,
  	 lookup_addresses_to_users/1,
  
negative.code: %%--------------------------------------------------------------------
  isours(URL) when is_record(URL, sipurl) ->
      case local:get_users_for_url(URL) of
  	nomatch ->
  	    logger:log(debug, "Lookup: isours ~s -> false", [sipurl:print(URL)]),
  	    false;
  	Users when is_list(Users) ->
  	    logger:log(debug, "Lookup: isours ~s -> user(s) ~p", [sipurl:print(URL), Users]),
  	    true
      end.
  
  %%--------------------------------------------------------------------
  