Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: vedgenesys on April 25, 2017, 11:36:01 AM
-
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
-
Post your code and we can check what could be wrong
Enviado de meu E6633 usando Tapatalk
-
http://genesysguru.com/blog/blog/2010/02/19/who-changed-that-cme-object/
-
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...