anchor.diff:          undefined -> <<>>;
           Inst0 -> nksip_lib:hash(Inst0)
       end,
  -    ObProc = nksip_lib:get_value(registrar_outbound, Opts),
  +    ObProc = nksip_lib:get_value(outbound, Opts),
       RegId = case nksip_lib:get_value(<<"reg-id">>, ExtOpts) of
           undefined -> <<>>;
           _ when ObProc == undefined -> <<>>;
  
positive.code:         _ -> 
              GlobalExpire = lists:max([Exp-Now||#reg_contact{expire=Exp} <- RegContacts]),
              % Set a minimum expiration check of 5 secs
              case callback(AppId, {put, AOR, RegContacts, max(GlobalExpire, 5)}) of
                  ok -> ok;
                  _ -> throw({internal_error, "Error calling registrar 'put' callback"})
              end
  
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">>}];
  