" /> Can not able to capture the configuration server event - Genesys CTI User Forum

Author Topic: Can not able to capture the configuration server event  (Read 1883 times)

Offline vedgenesys

  • Newbie
  • *
  • Posts: 8
  • Karma: -1
Can not able to capture the configuration server event
« on: April 25, 2017, 11:36:01 AM »
Advertisement
Hello All,

I am trying to capture the events from the config server & capturing changes made to config server & user login / logout details but can not able to do this can any one help me??? can some one please provide code how to capture the event??

Thanks

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Can not able to capture the configuration server event
« Reply #1 on: April 25, 2017, 12:02:12 PM »
Post your code and we can check what could be wrong

Enviado de meu E6633 usando Tapatalk


Offline genesysguru

  • Sr. Member
  • ****
  • Posts: 293
  • Karma: 12
    • Genesys Guru Blog
Re: Can not able to capture the configuration server event
« Reply #2 on: April 25, 2017, 01:57:55 PM »
http://genesysguru.com/blog/blog/2010/02/19/who-changed-that-cme-object/

Offline vedgenesys

  • Newbie
  • *
  • Posts: 8
  • Karma: -1
Re: Can not able to capture the configuration server event
« Reply #3 on: April 26, 2017, 10:28:04 AM »
Thakns for your reply genesysguru and cavagnaro !!!!!

        private void btnReq_Click(object sender, EventArgs e)
        {
           
           
        //    IConfService service = ConfServiceFactory.CreateConfService(ClsConstant.cnfprt);

            CfgPersonQuery query = new CfgPersonQuery();
            query.UserName = "ilom1230";
           
            CfgPerson envPerson = service.RetrieveObject<CfgPerson>(query);
           
            envPerson.FirstName = txtUpdtFirstname.Text;
            envPerson.Save();

          //  service.Register(new Action<ConfEvent>(OnRequest));

      //    IMessage respondingEvent = interactionServerProtocol.Receive();

            MessageBox.Show("First Name  is changed in the config server.");

        }

This is my sample code in this code I can change my configurable object i.e. person. means I can change his firstname & its working. But I want if suppose I changed the firstname that event should be get captured. I think I have to use register and subscribe method but how?????

I get confused here...
« Last Edit: April 26, 2017, 10:32:24 AM by vedgenesys »