anchor.diff:  	{ok, Answer} = diameter:call(?MODULE, cc_app_test, CC_CCR, []),
   	Answer.
   
  -%% @hidden
  -diameter_scur_interim(SId, {MSISDN, IMSI}, RequestNum, Used, Requested) ->
  +diameter_scur_interim(SId, {MSISDN, IMSI}, RequestNum,
  +		{UsedInputOctets, UsedOutputOctets}, _Requested) ->
   	MSISDN1 = #'3gpp_ro_Subscription-Id'{
   			'Subscription-Id-Type' = ?'3GPP_SUBSCRIPTION-ID-TYPE_END_USER_E164',
   			'Subscription-Id-Data' = MSISDN},
   	IMSI1 = #'3gpp_ro_Subscription-Id'{
   			'Subscription-Id-Type' = ?'3GPP_SUBSCRIPTION-ID-TYPE_END_USER_IMSI',
   			'Subscription-Id-Data' = IMSI},
  -	UsedUnits = #'3gpp_ro_Used-Service-Unit'{'CC-Total-Octets' = [Used]},
  +	UsedUnits = #'3gpp_ro_Used-Service-Unit'{
  +			'CC-Input-Octets' = [UsedInputOctets], 'CC-Output-Octets' = [UsedOutputOctets],
  +			'CC-Total-Octets' = [UsedInputOctets + UsedOutputOctets]},
   	RequestedUnits = #'3gpp_ro_Requested-Service-Unit' {
  -			'CC-Total-Octets' = [Requested]},
  +			'CC-Total-Octets' = []},
   	MultiServices_CC = #'3gpp_ro_Multiple-Services-Credit-Control'{
   			'Used-Service-Unit' = [UsedUnits],
   			'Requested-Service-Unit' = [RequestedUnits], 'Service-Identifier' = [1],
  
positive.code:    receive
        #diameter_event{service = ?MODULE, info = Info}
              when element(1, Info) == up ->
           Config1;
        _Other ->
           {skip, diameter_client_acct_service_not_started}
     end.
  
  -spec end_per_suite(Config :: [tuple()]) -> any().
  %% Cleanup after the whole suite.
  
negative.code: %%
  all() -> 
  	[send_initial_scur, receive_initial_scur, send_interim_scur,
  		receive_interim_scur, send_final_scur, receive_final_scur,
  		receive_interim_no_usu_scur].
  
  %%---------------------------------------------------------------------
  %%  Test cases
  