anchor.diff:  	    logger:log(error, "Database: unregister of registrations failed for one or more"
   		       " contact entries, due to: ~p",
   		       [Reason]),
  -	    {siperror, 500, "Server Internal Error", []};
  +	    {siperror, 500, "Server Internal Error"};
   	{atomic, _ResultOfFun} ->
   	    ok
       end.
  
positive.code: %%--------------------------------------------------------------------
  process_non_wildcard_contacts(LogTag, SipUser, Locations, RequestHeader) ->
      RequestCallId = sipheader:callid(RequestHeader),
      {CSeq, _}  = sipheader:cseq(RequestHeader),
      RequestCSeq = list_to_integer(CSeq),
  
      %% get expire value from request header only once, this will speed up the calls to
  
negative.code: 
  locations_to_contacts2([], Res) ->
      Res;
  locations_to_contacts2([H | T], Res) when is_record(H, phone) ->
      Location = H#phone.address,
      Expire = H#phone.expire,
  
      %% Expires can't be less than 0 so make sure we don't end up with a negative Expires
      NewExpire = lists:max([0, Expire - util:timestamp()]),
      Contact = contact:new(Location, [{"expires", integer_to_list(NewExpire)}]),
  
      locations_to_contacts2(T, [contact:print(Contact) | Res]).
  
  