anchor.diff:  					DesRealm, undefined, UserName, "AAAAccountingUsageSpec"}
   	end;
   dia_req_and_res(#'3gpp_ro_RAR'{'Origin-Realm' = OriginRealm,
  -		'Destination-Realm' = DesRealm, 'User-Name' = [UserName]} = Request,
  -		#'3gpp_ro_RAA'{'Result-Code' = ResultCode})
  +		'Origin-Host' = OriginHost, 'Destination-Realm' = DesRealm,
  +		'User-Name' = UserName}, #'3gpp_ro_RAA'{'Result-Code' = ResultCode})
   		when ResultCode >= 2000, ResultCode < 3000 ->
  -	case Request#'3gpp_ro_RAR'.'Origin-Host' of
  +	case OriginHost of
   		OriginHost1 when is_binary(OriginHost1) ->
   			{"success", "ro", OriginHost1, OriginHost1, undefined, OriginRealm,
   					DesRealm, undefined, UserName, "AAAAccountingUsageSpec"};
  
positive.code: 					DesRealm, Subscriber, undefined, "AAAPolicyUsageSpec"}
  	end;
  dia_req_and_res(#'3gpp_gx_CCR'{'Origin-Realm' = OriginRealm,
  		'Destination-Realm' = DesRealm,
  		'Subscription-Id' = [#'3gpp_gx_Subscription-Id'{
  				'Subscription-Id-Data' = Subscriber} | _]} = Request,
  		#'3gpp_gx_CCA'{'Result-Code' = ResultCode})
  		when ResultCode >= 2000, ResultCode < 3000 ->
  	case Request#'3gpp_gx_CCR'.'Origin-Host' of
  		OriginHost1 when is_binary(OriginHost1) ->
  			{"success", "gx", OriginHost1, OriginHost1, undefined, OriginRealm,
  					DesRealm, Subscriber, undefined, "AAAPolicyUsageSpec"};
  
negative.code: 					DesRealm, Subscriber, UserName, "AAAAccountingUsageSpec"}
  	end;
  dia_req_and_res(#'3gpp_ro_CCR'{'Origin-Realm' = OriginRealm,
  		'Origin-Host' = OriginHost, 'Destination-Realm' = DesRealm,
  		'User-Name' = UserName, 'Subscription-Id' = SubscriptionId},
  		#'3gpp_ro_CCA'{'Result-Code' = ResultCode})
  		when ResultCode >= 2000, ResultCode < 3000 ->
  	Subscriber = case SubscriptionId of
  		[] ->
  			undefined;
  		[#'3gpp_ro_Subscription-Id'{'Subscription-Id-Data' = Sub} | _] ->
  			Sub
  	end,
  	case OriginHost of
  		OriginHost1 when is_binary(OriginHost1) ->
  			{"success", "ro", OriginHost1, OriginHost1, undefined, OriginRealm,
  					DesRealm, Subscriber, UserName, "AAAAccountingUsageSpec"};
  