anchor.diff:  					'Origin-Host' = OHost,
   					'Result-Code' = ?'DIAMETER_BASE_RESULT-CODE_AUTHENTICATION_REJECTED',
   					'Origin-Realm' = ORealm },
  -			ok = ocs_log:auth_log(diameter, Server, Subscriber, OHost, ORealm, Type,
  -					?'DIAMETER_BASE_RESULT-CODE_AUTHENTICATION_REJECTED'),
  +			ok = ocs_log:auth_log(diameter, Server, Client, Request, Answer),
   			gen_server:cast(PortServer, {self(), Answer}),
   			{stop, {shutdown, SessionID}, StateData}
   	end.
  
positive.code: 					origin_realm = ORealm, subscriber = Subscriber, password = Password,
  					server_address = ServerAddress, server_port = ServerPort,
  					client_address = ClientAddress, client_port = ClientPort,
  					diameter_port_server = PortServer},
  			{ok, request, StateData, 0}
  	end;
  init([radius, ServerAddress, ServerPort, ClientAddress, ClientPort, RadiusFsm,
  
negative.code: %% @private
  %%
  init([diameter, ServerAddress, ServerPort, ClientAddress, ClientPort,
  		SessId, AppId, AuthType, OHost, ORealm, Request, Options] = _Args) ->
  	[Subscriber, Password] = Options,
  	case global:whereis_name({ocs_diameter_auth, ServerAddress, ServerPort}) of
  		undefined ->
  