anchor.diff:          ?'DIAMETER_BASE_RESULT-CODE_DIAMETER_AVP_UNSUPPORTED').
   -define(UNSUPPORTED_VERSION,
           ?'DIAMETER_BASE_RESULT-CODE_DIAMETER_UNSUPPORTED_VERSION').
  +-define(REALM_NOT_SERVED,
  +        ?'DIAMETER_BASE_RESULT-CODE_DIAMETER_REALM_NOT_SERVED').
  +-define(UNABLE_TO_DELIVER,
  +        ?'DIAMETER_BASE_RESULT-CODE_DIAMETER_UNABLE_TO_DELIVER').
   
   -define(EVENT_RECORD,
           ?'DIAMETER_BASE_ACCOUNTING-RECORD-TYPE_EVENT_RECORD').
  
positive.code:          send_nopeer/1,
           send_noapp/1,
           send_discard/1,
           send_any/1,
           send_all/1,
           send_timeout/1,
           send_error/1,
           send_detach/1,
           send_encode_error/1,
           remove_transports/1,
           stop_services/1]).
  
  
negative.code:     {ok, LRef} = diameter:add_transport(?SERVER, ?LISTEN),
      true = diameter:subscribe(?CLIENT),
      {ok, CRef} = diameter:add_transport(?CLIENT, ?CONNECT(portnr())),
      {up, CRef, _Peer, _Config, #diameter_packet{}}
          = receive #diameter_event{service = ?CLIENT, info = I} -> I
            after 2000 -> false
            end,
      true = diameter:unsubscribe(?CLIENT),
  