anchor.diff:  						      false ->
   							  Request = State#state.request,
   							  {Method, URI} = {Request#request.method, Request#request.uri},
  -							  logger:log(debug, "Appserver glue: received no_more_actions when NOT cancelled " ++
  +							  logger:log(debug, "Appserver glue: received sipproxy_no_more_actions when NOT cancelled " ++
   								     "(and not completed), responding 408 Request Timeout to original request ~s ~s",
   								     [Method, sipurl:print(URI)]),
  -							  transactionlayer:send_response_handler(CallHandler, 408, "Request Timeout"),
  +							  safe_callhandler_send_response(CallHandler, 408, "Request Timeout"),
   							  State#state{completed=true};
   						      _ ->
  -							  logger:log(debug, "Appserver glue: received no_more_actions when already completed - ignoring"),
  +							  logger:log(debug, "Appserver glue: received sipproxy_no_more_actions when already completed - ignoring"),
   							  State
   						  end
   					  end,
  
positive.code: 						      {Status, Reason} ->
  							  logger:log(debug, "Appserver glue: received sipproxy_all_terminated - asking CallHandler ~p " ++
  								     "to answer ~p ~s", [CallHandler, Status, Reason]),
  							  transactionlayer:send_response_handler(CallHandler, Status, Reason),
  							  %% XXX check that this is really a final response?
  							  State#state{completed=true};
  						      none ->
  
negative.code:     {Method, URI} = {Request#request.method, Request#request.uri},
      {Status, Reason} = {Response#response.status, Response#response.reason},
      CallHandler = State#state.callhandler,
      logger:log(debug, "Appserver glue: Forwarding response '~p ~s' to '~s ~s' to CallHandler ~p",
  	       [Status, Reason, Method, sipurl:print(URI), CallHandler]),
      case transactionlayer:is_good_transaction(CallHandler) of
  	true ->
  	    transactionlayer:send_proxy_response_handler(CallHandler, Response);
  	false ->
  	    logger:log(error, "Appserver glue: Can't forward response '~p ~s' to bad CallHandler '~p'",
  		       [Status, Reason, CallHandler])
      end,
      if
  	Status >= 200 ->
  	    State#state{completed=true};
  