Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: ahmetsys on October 14, 2019, 12:46:10 PM

Title: Agent-Login(Logout) Event for IWS
Post by: ahmetsys on October 14, 2019, 12:46:10 PM
Hi,

Can we get Agent-Login(Logout) Event by InteractionManager.InteractionEvent ?
Title: Re: Agent-Login(Logout) Event for IWS
Post by: cavagnaro on October 14, 2019, 01:19:43 PM
No because as name mentions, is related to interactions.


Enviado de meu SM-G9650 usando o Tapatalk

Title: Re: Agent-Login(Logout) Event for IWS
Post by: ahmetsys on October 16, 2019, 12:33:59 PM
Thanks For Answer.

how to take event? what can I do? which way to get agent login event?
Title: Re: Agent-Login(Logout) Event for IWS
Post by: PeteHoyle on October 16, 2019, 03:06:24 PM
Can you explain more, what is the customisation for?

When you say login/logout event, do you mean to login to WDE and exit WDE or do you mean login/logout to a particular media such as voice or email etc..
Title: Re: Agent-Login(Logout) Event for IWS
Post by: ahmetsys on October 22, 2019, 01:59:20 PM
Actually, I found the answer. But I have different problem about Agent Event's.

How to get AgentReady or AgentNotReady Event?(For now voice)?

I am created interactionManager.InteractionEvent(IInteractionManager). then I did this :

                IInteractionVoice interaction = (IInteractionVoice)e.Value;
                LogWriter.WriteLog(LibraryName, methodName,"Event Name: " + interaction.EntrepriseLastInteractionEvent.Name, LogType.Info.ToString(), true,Trace);

                switch (interaction.EntrepriseLastInteractionEvent.Id)
                {
                    case EventEstablished.MessageId:
                        MessageBox.Show("establish");
                        break;
                    case EventAgentReady.MessageId:
                        MessageBox.Show("EventAgentReady");
                        break;
                    case EventAgentNotReady.MessageId:
                        MessageBox.Show("EventAgentNotReady");
                      break;
                }

in this code I can get EventEstablished case but I cant get EventAgentNotReady or EventAgentReady cases.  What can I do to get event agent status? and How?
If you have any different solutions please share with me.