anchor.diff:      %% verify the contacts in the response
       ok = test_verify_contacts(15, 20, [PU_Contact1Str ++ PU_Contacts26_OBstr], PU_Contacts26_CRes),
   
  -    autotest:mark(?LINE, "process_updates/2 - 26.2"),
  +    autotest:mark(?LINE, "process_updates/2 - 26.3"),
       %% verify the record in the location database
       [PU_Contacts26_Loc] = get_locations_for_users([TestUser1]),
       #siplocationdb_e{instance = PU_Contacts26_Instance} = PU_Contacts26_Loc,
  
positive.code: 		[]
  	end,
  
      OutboundFlags =
  	case Instance /= [] of
  	    true ->
  		case get_contact_reg_id(Contact) of
  		    RegId when is_integer(RegId) ->
  			%% draft Outbound 03 #6.1 (Processing Register Requests)
  			Origin = RegReq#reg_request.origin,
  			Id1 = (Origin#siporigin.sipsocket)#sipsocket.id,
  			SocketId = #locationdb_socketid{node  = node(),
  							id    = Id1,
  							proto = Origin#siporigin.proto,
  							addr  = Origin#siporigin.addr,
  							port  = Origin#siporigin.port
  						       },
  			[{reg_id, RegId},
  			 {socket_id, SocketId}
  			];
  		    none ->
  			%% Instance, but no reg-id
  			[];
  		    {error, BadValue} ->
  			logger:log(debug, "Location: Ignoring bad (non-integer) reg-id/flow-id contact "
  				   "parameter value ~p", [BadValue]),
  			[]
  		end;
  	    false ->
  		%% no Instance ID, so don't store reg-id even if it exists
  		[]
  	end,
  
      Flags = lists:sort([{priority, Priority},
  			{registration_time, util:timestamp()}
  
negative.code: 		      ),
  
      {ok, Flags, Instance}.
  
  get_contact_outbound_flags(#reg_request{do_outbound = false}, _Contact, _Instance) ->
      %% outbound disabled
      [];
  get_contact_outbound_flags(_RegReq, _Contact, _Instance = []) ->
      %% no Instance ID, so don't store reg-id even if it exists
      [];
  get_contact_outbound_flags(RegReq, Contact, Instance) when is_record(RegReq, reg_request), is_list(Instance) ->
      case get_contact_reg_id(Contact) of
  	RegId when is_integer(RegId) ->
  	    %% draft Outbound 03 #6.1 (Processing Register Requests)
  	    Origin = RegReq#reg_request.origin,
  	    Id1 = (Origin#siporigin.sipsocket)#sipsocket.id,
  	    SocketId = #locationdb_socketid{node  = node(),
  					    id    = Id1,
  					    proto = Origin#siporigin.proto,
  					    addr  = Origin#siporigin.addr,
  					    port  = Origin#siporigin.port
  					   },
  	    [{reg_id, RegId},
  	     {socket_id, SocketId}
  	    ];
  	none ->
  	    %% Instance, but no reg-id
  	    [];
  	{error, BadValue} ->
  	    logger:log(debug, "Location: Ignoring bad (non-integer) reg-id/flow-id contact "
  		       "parameter value ~p", [BadValue]),
  	    []
      end.
  
  %% Returns : RegId             |
  %%           none              |
  %%           {error, BadValue}
  %%           RegId = integer()
  %%           BadValue = string(), invalid value encountered
  get_contact_reg_id(Contact) when is_record(Contact, contact) ->
      Str =
  	case contact_param:find(Contact#contact.contact_param, "reg-id") of
  	    [] ->
  