anchor.diff:  			{error, Reason} ->
   				error_logger:error_report(["Rating Error",
   						{module, ?MODULE}, {error, Reason},
  -						{origin_host, OHost}, {origin_realm},
  +						{origin_host, OHost}, {origin_realm, ORealm},
   						{type, final}, {subscriber, Subscriber},
   						{destination, Destination}, {used, DebitAmount}]),
   				{Reply, NewState} = generate_diameter_error(SId, ?'IETF_RESULT-CODE_RATING_FAILED',
  
positive.code: 			{error, Reason} ->
  				error_logger:error_report(["Rating Error",
  						{module, ?MODULE}, {error, Reason},
  						{origin_host, OHost}, {origin_realm},
  						{type, interim}, {subscriber, Subscriber},
  						{destination, Destination}, {reservation, ReserveAmount},
  						{used, DebitAmount}]),
  
negative.code: 		{error, Reason} ->
  			error_logger:error_report(["Rating Error",
  					{module, ?MODULE}, {error, Reason},
  					{origin_host, OHost}, {origin_realm, ORealm},
  					{type, initial}, {subscriber, Subscriber},
  					{destination, Destination}, {reservation, ReserveAmount}]),
  			{Reply, NewState} = generate_diameter_error(SId, ?'IETF_RESULT-CODE_RATING_FAILED',
  