anchor.diff:  %%           Verdict = true | false
   %%           Reason  = ok | eperm | nomatch | error
   %%--------------------------------------------------------------------
  -can_register(Header, Address) ->
  +can_register(Header, ToURL) ->
       case local:get_user_verified(Header, "REGISTER") of
   	{authenticated, User} ->
  -	    {local:can_use_address_detail(User, Address), User};
  +	    {local:can_use_address_detail(User, ToURL), User};
   	{stale, User} ->
   	    {stale, User};
   	_ ->
  -	    logger:log(debug, "Auth: Registration of address ~p NOT permitted", [Address]),
  +	    logger:log(debug, "Auth: Registration of address ~p NOT permitted", [sipurl:print(ToURL)]),
   	    {false, none}
       end.
  
positive.code:     {false, error}.
  
  %%--------------------------------------------------------------------
  %% Function: can_register(Header, Address)
  %%           Header  = keylist record()
  %%           Address = string()
  %% Descrip.: Check if a REGISTER message authenticates OK, and check
  %%           that the User returned from credentials check actually
  %%           may use this From: (NOT To:, so third party registrations
  %%           are not denied per se by this check).
  %% Returns : {{Verdict, Reason}, User} |
  %%           {stale, User}             |
  
negative.code: 	 can_use_address/2,
  	 can_use_address_detail/2,
  	 realm/0]).
  
  
  -include("siprecords.hrl").
  
  %% MD5 digest 'formula'
  %%
  