anchor.diff:      catch
           throw:Throw -> Throw
       end.
  -
  -
  -% %% @private
  -% -spec check_gruu(nksip:request(), nksip:optslist()) ->
  -%     nksip:optslist().
  -
  -% check_gruu(#sipmsg{app_id=AppId}) ->
  -%     AppSupp = nksip_lib:get_value(supported, AppOpts, ?SUPPORTED),
  -%     case 
  -%         lists:member(<<"gruu">>, AppSupp) andalso nksip_sipmsg:supported(<<"gruu">>, Req)
  -%     of
  -%         true -> [{registrar_gruu, true}|AppOpts];
  -%         false -> AppOpts
  -%     end.
   
   
   %% @private
  
positive.code: 
  
  %% @private
  store_del(AppId, AOR) ->
      case nksip_registrar_lib:callback(AppId, {del, AOR}) of
          ok -> ok;
  
negative.code:         {ok, Regs} = nksip_registrar_lib:callback_get(AppId, aor(To)),
          Contacts1 = [Contact || #reg_contact{contact=Contact} <- Regs],
          ObReq = case 
              lists:member({outbound, true}, Opts2) andalso
              [true || #reg_contact{index={ob, _, _}} <- Regs] 
          of
              [_|_] -> [{require, <<"outbound">>}];
  