anchor.diff:  	    %% RFC 3261 doesn't appear to document the proper error code for this case
   	    throw({siperror, 403, "Request out of order, contained old CSeq number"})
       end;
  -unregister_contact(LogTag, Location, _RequestCallId, _RequestCSeq) when is_record(Location, phone) ->
  +unregister_phone(LogTag, Phone, _RequestCallId, _RequestCSeq) when is_record(Phone, phone) ->
       logger:log(debug, "~s: Not un-registering location with class not 'dynamic' : ~p",
  -	       [LogTag, Location#phone.requristr]),
  +	       [LogTag, Phone#phone.requristr]),
       ok.
   
   %%--------------------------------------------------------------------
  
positive.code: 	    %% call-id differs, so the UAC has probably been restarted.
  	    case parse_register_contact_expire(ExpireHeader, ReqLocation) == 0 of
  		true ->
  		    %% zero expire-time, unregister bindning
  		    logger:log(normal, "~s: UN-REGISTER ~s at ~s (priority ~p)",
  			       [LogTag, SipUser, DBLocation#phone.requristr, Priority]),
  		    phone:delete_record(DBLocation);
  
negative.code: 	true ->
  	    case parse_register_contact_expire(ExpireHeader, ReqLocation) == 0 of
  		true ->
  		    %% unregister binding
  		    logger:log(normal, "~s: UN-REGISTER ~s at ~s (priority ~p)",
  			       [LogTag, SipUser, DBLocation#phone.requristr, Priority]),
  		    phone:delete_record(DBLocation);
  