anchor.diff:  %%--------------------------------------------------------------------
   handle_cast({cancel, Msg, _ExtraHeaders}, State=#state{cancelled=true}) ->
       LogTag = State#state.logtag,
  -    logger:log(debug, "~s: Ignoring signal to cancel (~s) when in SIP-state '~p', I am already cancelled.",
  +    logger:log(debug, "~s: Ignoring signal to cancel (~s) when in SIP-state '~p'. I am already cancelled.",
   	       [LogTag, Msg, State#state.sipstate]),
       check_quit({noreply, State});
   handle_cast({cancel, Msg, ExtraHeaders}, State=#state{cancelled=false}) ->
  
positive.code:     Desc = lists:flatten(
  	     io_lib:format("~s: ~s ~s (dst ~s)", [RegBranch, Method,
  						  sipurl:print(URI), sipdst:dst2str(Dst)])),
      %% Get ourselves into the transaction state list first of all
      case transactionstatelist:add_client_transaction(Method, RegBranch, self(), Desc) of
  	{duplicate, _} ->
  
negative.code: cancel_request(State) when is_record(State, state) ->
      cancel_request(State, []).
  
  cancel_request(#state{cancelled=true}=State, _ExtraHeaders) ->
      LogTag = State#state.logtag,
      Request = State#state.request,
      {Method, URI} = {Request#request.method, Request#request.uri},
      logger:log(debug, "~s: NOT starting CANCEL transaction for request (~s ~s) "
  	       "since we are already cancelled", [LogTag, Method, sipurl:print(URI)]),
      State;
  cancel_request(State, ExtraHeaders) when is_record(State, state), is_list(ExtraHeaders) ->
      Request = State#state.request,
      {Method, URI} = {Request#request.method, Request#request.uri},
  