anchor.diff:      d("[MGC] start the simulation"),
       {ok, MgcId} = megaco_test_megaco_generator:exec(Mgc, MgcEvSeq),
   
  -    i("wait some time before starting the MG simulator"),
  -    sleep(1000),
  +    %% i("wait some time before starting the MG simulator"),
  +    %% sleep(1000),
  +
  +    i("await MGC ready announcement"),
  +    receive
  +        announce_mgc ->
  +            i("received MGC ready announcement"),
  +            ok
  +    end,
   
       d("[MG] start the simulator (generator)"),
       {ok, Mg} = megaco_test_tcp_generator:start_link("MG", MgNode),
  
positive.code: 	     {megaco_start_user, Mid, RI, []},
  	     start_transport,
  	     listen,
  	     {megaco_callback, handle_connect,       ConnectVerify},
  	     {megaco_callback, handle_trans_request, ServiceChangeReqVerify},
  	     {megaco_callback, handle_trans_request, NotifyReqVerify1},
  
negative.code: -endif.
  
  otp6865e2_mgc_event_sequence(ExtraInfo, text, tcp) ->
      Mid  = {deviceName, "ctrl"},
      CTRL = self(),
      RI   = [
              {port,             2944},
              {encoding_module,  megaco_pretty_text_encoder},
              {encoding_config,  []},
              {transport_module, megaco_tcp}
             ],
      ConnectVerify          = 
  	?otp6865e2_mgc_verify_handle_connect_fun(ExtraInfo), 
      ServiceChangeReqVerify = 
  