anchor.diff:  				Result :: #'3gpp_ro_CCA'{}.
   %% @doc Send CCA to DIAMETER client indicating a successful operation.
   %% @hidden
  -generate_diameter_answer(SId, undefined,
  +generate_diameter_answer(SId, _ServiceIdentifier, _RatingGroup, undefined,
   		?'IETF_RESULT-CODE_CREDIT_LIMIT_REACHED', OHost, ORealm,
   		RequestType, RequestNum) ->
   	#'3gpp_ro_CCA'{'Session-Id' = SId,
  
positive.code: 					ORealm, RequestType, RequestNum)
  	end.
  
  -spec generate_diameter_answer(SessionId, GrantedUnits,
  		ResultCode, OriginHost, OriginRealm, RequestType, RequestNum) -> Result
  			when
  				SessionId :: string(),
  				GrantedUnits :: undefined | #'3gpp_ro_Granted-Service-Unit'{},
  				ResultCode :: integer(),
  				OriginHost :: string(),
  
negative.code: 			'Origin-Host' = OHost, 'Origin-Realm' = ORealm,
  			'Auth-Application-Id' = ?RO_APPLICATION_ID, 'CC-Request-Type' = RequestType,
  			'CC-Request-Number' = RequestNum};
  generate_diameter_answer(SId, _ServiceIdentifier, _RatingGroup, undefined,
  		ResultCode, OHost, ORealm, RequestType, RequestNum) ->
  	#'3gpp_ro_CCA'{'Session-Id' = SId, 'Result-Code' = ResultCode,
  			'Origin-Host' = OHost, 'Origin-Realm' = ORealm,
  			'Auth-Application-Id' = ?RO_APPLICATION_ID, 'CC-Request-Type' = RequestType,
  			'CC-Request-Number' = RequestNum};
  generate_diameter_answer(SId, ServiceIdentifier, RatingGroup, GrantedUnits,
  		ResultCode, OHost, ORealm, RequestType, RequestNum) ->
  	MultiServices_CC = #'3gpp_ro_Multiple-Services-Credit-Control'{
  			'Service-Identifier' = ServiceIdentifier,
  			'Rating-Group' = RatingGroup,
  			'Granted-Service-Unit' = [GrantedUnits]},
  	#'3gpp_ro_CCA'{'Session-Id' = SId, 'Result-Code' = ResultCode,
  			'Origin-Host' = OHost, 'Origin-Realm' = ORealm,
  