Genesys CTI User Forum
Genesys CTI User Forum => Genesys-related Development => Topic started by: ahmetsys on October 14, 2019, 12:46:10 PM
-
Hi,
Can we get Agent-Login(Logout) Event by InteractionManager.InteractionEvent ?
-
No because as name mentions, is related to interactions.
Enviado de meu SM-G9650 usando o Tapatalk
-
Thanks For Answer.
how to take event? what can I do? which way to get agent login event?
-
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..
-
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.