anchor.diff:  			error_logger:warning_report(["Unable to process DIAMETER request",
   					{origin_host, OHost}, {origin_realm, ORealm},
   					{request, Request}, {error, Reason1}]),
  -			generate_diameter_error(SId, ?'DIAMETER_BASE_RESULT-CODE_UNABLE_TO_COMPLY', OHost,
  +			diameter_error(SId, ?'DIAMETER_BASE_RESULT-CODE_UNABLE_TO_COMPLY', OHost,
   					ORealm, RequestType, RequestNum)
   	end.
   
  --spec generate_diameter_answer(SessionId, ServiceIdentifier, RatingGroup, GrantedUnits,
  +-spec diameter_answer(SessionId, ServiceIdentifier, RatingGroup, GrantedUnits,
   		ResultCode, OriginHost, OriginRealm, RequestType, RequestNum) -> Result
   			when
   				SessionId :: string(),
  
positive.code: 			error_logger:warning_report(["Unable to process DIAMETER request",
  					{origin_host, OHost}, {origin_realm, ORealm},
  					{request, Request}, {error, Reason1}]),
  			generate_diameter_error(SId, ?'DIAMETER_BASE_RESULT-CODE_UNABLE_TO_COMPLY', OHost,
  					ORealm, RequestType, RequestNum)
  	end;
  process_request1(?'3GPP_CC-REQUEST-TYPE_UPDATE_REQUEST' = RequestType,
  
negative.code: 					[{messages, _}] ->
  						#'3gpp_ro_Granted-Service-Unit'{'CC-Service-Specific-Units' = [GrantedAmount]}
  				end,
  				Reply = diameter_answer(SId, ServiceIdentifier, RatingGroup,
  						GrantedUnits, ?'DIAMETER_BASE_RESULT-CODE_SUCCESS',
  						OHost, ORealm, RequestType, RequestNum),
  				ok = ocs_log:acct_log(diameter, Server,
  						accounting_event_type(RequestType), Request, Reply, undefined),
  				Reply;
  			{out_of_credit, _SessionList} ->
  				Reply = diameter_answer(SId, ServiceIdentifier, RatingGroup,
  						undefined, ?'IETF_RESULT-CODE_CREDIT_LIMIT_REACHED',
  						OHost, ORealm, RequestType, RequestNum),
  				ok = ocs_log:acct_log(diameter, Server,
  						accounting_event_type(RequestType), Request, Reply, undefined),
  				Reply;
  			{disabled, _SessionList} ->
  				Reply = diameter_answer(SId, ServiceIdentifier, RatingGroup,
  						undefined, ?'IETF_RESULT-CODE_END_USER_SERVICE_DENIED', OHost,
  						ORealm, RequestType, RequestNum),
  				ok = ocs_log:acct_log(diameter, Server,
  						accounting_event_type(RequestType), Request, Reply, undefined),
  				Reply;
  			{error, subscriber_not_found} ->
  				Reply = diameter_error(SId, ?'IETF_RESULT-CODE_USER_UNKNOWN',
  						OHost, ORealm, RequestType, RequestNum),
  				ok = ocs_log:acct_log(diameter, Server,
  						accounting_event_type(RequestType), Request, Reply, undefined),
  