anchor.diff:  	NewAcc = [{struct, [{"name", "acctSessionTime"},
   			{"value", Duration}]} | Acc],
   	char_attr_input_octets(CCR, NewAcc);
  -char_attr_session_time(CCR, Acc) ->
  -	char_attr_input_octets(CCR, Acc);
  -char_attr_session_time(Attributes, Acc) ->
  +char_attr_session_time(Attributes, Acc)
  +		when is_list(Attributes) ->
   	NewAcc = case radius_attributes:find(?AcctSessionTime, Attributes) of
   		{ok, Value} ->
   			[{struct, [{"name", "acctSessionTime"}, {"value", Value}]} | Acc];
   		{error, not_found} ->
   			Acc
   	end,
  -	char_attr_input_octets(Attributes, NewAcc).
  +	char_attr_input_octets(Attributes, NewAcc);
  +char_attr_session_time(CCR, Acc) ->
  +	char_attr_input_octets(CCR, Acc).
   
   %% @hidden
   char_attr_input_octets(#'3gpp_ro_CCR'{'Multiple-Services-Credit-Control'
  
positive.code: 	NewAcc = [{struct, [{"name", "outputOctets"},
  			{"value", OutputOctets}]} | Acc],
  	char_attr_total_octets(CCR, NewAcc);
  char_attr_output_octets(CCR, Acc) ->
  	char_attr_total_octets(CCR, Acc);
  char_attr_output_octets(Attributes, Acc) ->
  	NewAcc = case radius_attributes:find(?AcctOutputOctets, Attributes) of
  		{ok, Value} ->
  			[{struct, [{"name", "outputOctets"}, {"value", Value}]} | Acc];
  		{error, not_found} ->
  			Acc
  	end,
  	char_attr_input_giga_words(Attributes, NewAcc).
  
  %% @hidden
  char_attr_total_octets(#'3gpp_ro_CCR'{'Multiple-Services-Credit-Control'
  
negative.code: 	NewAcc = [{struct, [{"name", "calledStationId"},
  			{"value", binary_to_list(Called)}]} | Acc],
  	char_attr_calling_id(CCR, NewAcc);
  char_attr_called_id(Attributes, Acc)
  		when is_list(Attributes) ->
  	NewAcc = case radius_attributes:find(?CalledStationId, Attributes) of
  		{ok, Value} ->
  			[{struct, [{"name", "calledStationId"}, {"value", Value}]} | Acc];
  		{error, not_found} ->
  			Acc
  	end,
  	char_attr_calling_id(Attributes, NewAcc);
  char_attr_called_id(CCR, Acc) ->
  	char_attr_calling_id(CCR, Acc).
  
  %% @hidden
  char_attr_calling_id(#'3gpp_ro_CCR'{'Service-Information'
  